To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=88376





------- Additional comments from [EMAIL PROTECTED] Sat Aug 23 06:27:25 +0000 
2008 -------
To help identify duplicates to this issue (e.g. issue 92843 is a candidate) I'd 
like to point out 
the subtle details to make it understandable out why CJK, Indic and non-ASCII 
were impacted 
differently by this same root cause:

Fonts nowadays usually have an unicode mapping, many still have an old macos 
compatibility 
mapping like apple_roman and some important CJK fonts still contain non-unicode 
legacy 
charmaps, FcFreeTypeCharIndex() changed the FT_Face's charmap by iterating 
through the 
ones available in the font until it either hit once or until all available 
charmaps missed. The 
result of that unexpected side effect was that
- non-ASCII latin misses resulted in the FT_Face being changed to apple_roman 
encoding
- CJK fonts often got the regular unicode mapping back, but sometimes a legacy 
CJK mapping 
hit first
- Indic, Thai, Hebrew, etc. almost certainly switched back to the unicode 
mapping at the first 
glyph hit

Now if the scenario resulted in FT_Face being changed back to a unicode mapping 
everything 
was fine again. If it resulted in e.g. apple_roman then the problem seen in 
this issue happened. 
In the case of just one legacy CJK mapping being available there usually was no 
problem too, 
unless the mapping from unicode to legacy mapping differed between OOo and FC. 
In the 
case of both unicode maps and legacy maps being available in the font, the 
scenario of many 
glyph misses caused occassional switches between these charmaps. Escpecially 
since these 
big mappings often have a slightly different coverage.

The root cause is easily understable, but many of resulting bug scenarios are 
so complex to 
be mind bending... though the mapping trouble outlined above is complex enough 
it is further 
complicated by an LRU-like caching of the usually expensive mapping results.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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

Reply via email to