8067684: Better font substitutions
authorprr
Wed, 07 Jan 2015 13:10:00 -0800
changeset 29910 6691760b847e
parent 29909 388fe481deeb
child 29911 b2a9675e2e21
8067684: Better font substitutions Reviewed-by: bae, srl, mschoene
jdk/src/java.desktop/share/native/libfontmanager/layout/MultipleSubstSubtables.cpp
--- a/jdk/src/java.desktop/share/native/libfontmanager/layout/MultipleSubstSubtables.cpp	Fri Dec 19 14:48:56 2014 -0800
+++ b/jdk/src/java.desktop/share/native/libfontmanager/layout/MultipleSubstSubtables.cpp	Wed Jan 07 13:10:00 2015 -0800
@@ -75,6 +75,8 @@
             return 0;
         }
         le_uint16 glyphCount = SWAPW(sequenceTable->glyphCount);
+        LEReferenceToArrayOf<Offset>
+            substituteArrayRef(base, success, sequenceTable->substituteArray, glyphCount);
 
         if (glyphCount == 0) {
             glyphIterator->setCurrGlyphID(0xFFFF);