(Retrying as actual text) Support Unicode Variation Selectors.
Code by my colleague Toshio Nakamura, I added a simple test, and include a test that was part of JDK 8187100. (Both tests are run manually.) Bug: https://bugs.openjdk.java.net/browse/JDK-8187100 Webrev: http://cr.openjdk.java.net/~srl/8187100/webrev.00/ On 04/08/2018 11:46 PM, Toshio 5 Nakamura wrote: > > Hello > > IBM would like to propose Unicode Variation Selector[1] capability to AWT > and Swing components. > (This proposal was posted to i18n-dev first, and I got a suggestion to > discuss > in 2d-dev.) > > This proposal changed the following files: > src/java.desktop/share/classes/sun/font/CMap.java > src/java.desktop/share/classes/sun/font/CharToGlyphMapper.java > src/java.desktop/share/classes/sun/font/CompositeGlyphMapper.java > src/java.desktop/share/classes/sun/font/Font2D.java > src/java.desktop/share/classes/sun/font/FontRunIterator.java > src/java.desktop/share/classes/sun/font/FontUtilities.java > src/java.desktop/share/classes/sun/font/TrueTypeGlyphMapper.java > src/java.desktop/share/native/common/font/sunfontids.h > src/java.desktop/share/native/libfontmanager/hb-jdk-font.cc > src/java.desktop/share/native/libfontmanager/sunFont.c > src/java.desktop/share/classes/javax/swing/text/DefaultEditorKit.java > 542 lines will be changed. > > There are three parts. > 1) Adding CMap format 14 support > 2) Adding CharsToGlyphs functions support Variation Selector Sequences > 3) Swing text component's DEL and BS key operations change > > > How would I go about obtaining a sponsor? > > [1] _http://www.unicode.org/versions/Unicode10.0.0/ch23.pdf_ > Chapter 23.4 Variation Selectors > > Best regards, > > Toshio Nakamura > IBM Japan