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





------- Additional comments from [EMAIL PROTECTED] Tue Jul 17 06:09:12 +0000 
2007 -------
> On the other hand most of the CJK fonts from other platforms (e.g. > 
> Sazanami),
> from the MacTestDrive apps and many other sources do only contain a
> Mac-Encoding (Roman), which wouldn't trigger the new heuristic.

Right.  New one is intended to check older Mac platform fonts only.  As you can
see in the patch, it is assumed to be used with the OS/2 check.  i.e. a check
for cmap encoding is only performed even when OS/2 check cannot determine the
CJK information.

It may be too expensive to check every cmap subtable header (also I forgot to
add 'break' when mbHasCJKSupport is detected in the loop of subtable check).  So
I've modified the patch to use mbHasOs2Table member and do Mac CMAP encoding
check only for fonts without OS/2 table.  In this way, most fonts can be
determined with OS/2 unicode range check only, and the rest can be checked with
Mac-Encoding trick I think. 

> Since the font is already selected when we need this info it is not too 
> expensive to get the whole CMAP and check for a few typical unicodes.
> Which unicodes would be best? 

Sorry, I couldn't follow your meaning.  Could you elabolate more please?

---------------------------------------------------------------------
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