[Bug 89286] RTL characters (Hebrew) kerning broken

iorsh at openoffice.org iorsh at openoffice.org
Sun Jul 24 19:19:16 UTC 2011


http://openoffice.org/bugzilla/show_bug.cgi?id=89286


iorsh <iorsh at openoffice.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #76724|                            |review?(hdu at openoffice.org)
               Flag|                            |




--- Comment #8 from iorsh <iorsh at openoffice.org>  2011-07-24 19:18:06 ---
Created an attachment (id=76724)
 --> (http://openoffice.org/bugzilla/attachment.cgi?id=76724)
Patch against DEV300

This seems to fix the kerning in Comlpex Text Layout.

Rationale:
Latin text is processed in ServerFontLayoutEngine::operator(), and the kerning
is addressed in gcach_layout.cxx:136 by adjusting mnNewWidth.

CTL text (e.g. Hebrew) is processed in IcuLayoutEngine::operator(), and
mnNewWidth is not adjusted at all (see also TODO comment in
gcach_layout.cxx:550).

I'm using glyph positions provided by ICU to adjust mnNewWidth.

Please kindly review this patch.

-- 
Configure bugmail: http://openoffice.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification
from Bugzilla. Please log into the website and enter your comments.
---------------------------------------------------------------------


More information about the fonts-bugs mailing list