changeset 31693:c0b46c25b8a6

8072887: Better font handling improvements Reviewed-by: prr, srl, mschoene
author vadim
date Tue, 10 Mar 2015 13:30:11 +0300
parents 6f9d9bd603ce
children dd8aceb1d10e
files jdk/src/java.desktop/share/native/libfontmanager/layout/GXLayoutEngine.cpp jdk/src/java.desktop/share/native/libfontmanager/layout/GXLayoutEngine2.cpp
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/java.desktop/share/native/libfontmanager/layout/GXLayoutEngine.cpp	Mon Mar 09 16:44:39 2015 -0700
+++ b/jdk/src/java.desktop/share/native/libfontmanager/layout/GXLayoutEngine.cpp	Tue Mar 10 13:30:11 2015 +0300
@@ -73,7 +73,7 @@
 
     fMorphTable->process(fMorphTable, glyphStorage, success);
 
-    return count;
+    return glyphStorage.getGlyphCount();
 }
 
 // apply positional tables
--- a/jdk/src/java.desktop/share/native/libfontmanager/layout/GXLayoutEngine2.cpp	Mon Mar 09 16:44:39 2015 -0700
+++ b/jdk/src/java.desktop/share/native/libfontmanager/layout/GXLayoutEngine2.cpp	Tue Mar 10 13:30:11 2015 +0300
@@ -69,7 +69,7 @@
     }
 
     fMorphTable->process(fMorphTable, glyphStorage, fTypoFlags, success);
-    return count;
+    return glyphStorage.getGlyphCount();
 }
 
 // apply positional tables