Anyone still remember what scenario led to the introduction of
"SortGlyphItems", should it still be there ?

i.e. ./glyphs/gcach_layout.cxx is the only use of SortGlyphItems in
IcuLayoutEngine::operator(). 

I ask because I have a scenario with combining characters under glyph
fallback with Lohit Bengali and some Assamese text where for some font
sizes/zoom level the combining glyph (which is of 0 width) has an X
value slightly higher than that of the previous glyph that it combines
with, and for some other sizes it is of equal value.

So depending on the fontsize the combining glyph gets sorted out of its
correct position and gets bundled with the next glyph. e.g. the glyphs
are sometimes of positions 24 width foo, 24.0bar width 0, 24 width foo.
Chopping SortGlyphItems out "fixes the problem"(tm).

I guess my possibilities here are
a) icu gives wrong positions
b) font has something wrong leading to the positions
c) SortGlyphItems isn't safe to use
d) I've fallen into some edge-case hole I dug for myself with my own
glyph replacement stuff and everything else is ok

So I'd like to see if there is still a valid example which needs
SortGlyphItems

C.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to