[HarfBuzz] cursive attachment and skipped glyphs

Muller, Eric emuller at amazon.com
Wed Jun 8 22:44:05 UTC 2016


Let's say I have:

- a glyph run with three glyphs g1, g2, g3, with hmtx=1500 each

- a cursive attachment lookup that:

    - skips over g2, via lookupflags

    - sets the exit anchor of g1 to x = 200

    - sets the entry anchor of g3 to x = 101

It seems that HB gives me x advance/placements of:


glyph
	advance
	placement
	position in the line
g1
	200
	0
	0
g2
	1500
	0
	200
g3
	1399
	-101
	1599


I was expecting the position in the line of g3 to be 99.

Who is right?

Thanks,
Eric.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/harfbuzz/attachments/20160608/5b1b6a23/attachment.html>


More information about the HarfBuzz mailing list