<div dir="ltr"><div><div><div><div>Dear Martin,<br><br></div>I didn't spend much time to study your test case, but yes, it is a know different between HB and Uniscribe that we apply attachment late, which means we still attach to the "correct" location even if you change advance of the base glyph after the attachment happens, where MS does it other way.<br><br></div>I changed HB to do it other way around, but it broke other things, so I reverted. See discussion in:<br><br> <a href="https://github.com/behdad/harfbuzz/issues/211">https://github.com/behdad/harfbuzz/issues/211</a><br><br></div>Is that the same issue as the one you are seeing?<br><br></div>behdad<br><div><div><div><br><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 15, 2016 at 2:07 AM, Martin Hosken <span dir="ltr"><<a href="mailto:mhosken@gmail.com" target="_blank">mhosken@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Behdad,<br>
<br>
This is default shaping. The u1037 is attached to the u102F and we get the following results:<br>
<br>
* uniscribe: [u1000=0+1002|u103D=1@-55,0+0|u102F=2+147|u1037=3@217,0+0]<br>
* harfbuzz: [u1000=0+1002|u103D=0@-55,0+0|u102F=0+147|u1037=0@217,0+0]<br>
<br>
which makes sense. Now if we introduce an increase of the advance on the u102F via a feature rule: u102F' 272 u1037 we get:<br>
<br>
* uniscribe: [u1000=0+1002|u103D=1@-55,0+0|u102F=2+419|u1037=3@217,0+0]<br>
* harfbuzz: [u1000=0+1002|u103D=0@-55,0+0|u102F=0+419|u1037=0@-55,0+0]<br>
<br>
I'm wondering if harfbuzz is over compensating differently to how uniscribe does it. It looks like uniscribe just slaps on the extra advance and doesn't compensate its attached components. I don't really mind what results I get so long as they are consistent.<br>
<br>
Any thoughts?<br>
<br>
Yours,<br>
Martin<br>
_______________________________________________<br>
HarfBuzz mailing list<br>
<a href="mailto:HarfBuzz@lists.freedesktop.org">HarfBuzz@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/harfbuzz" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/harfbuzz</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">behdad<br><a href="http://behdad.org/" target="_blank">http://behdad.org/</a></div>
</div>