[OpenJDK 2D-Dev] [8u] RFR 8201801: RTL language (Hebrew) is presented from left to right

Dmitry Markov dmitry.markov at oracle.com
Mon Sep 3 09:50:49 UTC 2018


Could you review a fix for jdk8u, please?

	bug: https://bugs.openjdk.java.net/browse/JDK-8201801
	webrev: http://cr.openjdk.java.net/~dmarkov/8201801/jdk8u/webrev.00/

Problem description:
The fix for 7162125 [1] enabled font tables processing on OSX. However there is a lack of support for RTL languages in ICU layout engine. Quote from ICU guide: “…The AAT processing in the LayoutEngine is relatively basic as it only applies the default features in left-to-right text. This processing has been tested for Devanagari text. Since AAT processing is not script-specific, it might not work for other scripts…”, more details at http://userguide.icu-project.org/layoutengine
As a result all RTL languages on OSX are incorrectly laid out, (i.e. the letters are reversely presented).

Skip font tables for RTL languages on OSX platform.  


[1] - https://bugs.openjdk.java.net/browse/JDK-7162125
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20180903/460f0fb0/attachment.html>

More information about the 2d-dev mailing list