changeset 12388:91e08d5412e9

8072887: Better font handling improvements Reviewed-by: prr, srl, mschoene
author vadim
date Tue, 10 Mar 2015 13:30:11 +0300
parents 7a3c4ad68ce3
children 70cf76abfda4
files src/java.desktop/share/native/libfontmanager/layout/GXLayoutEngine.cpp src/java.desktop/share/native/libfontmanager/layout/GXLayoutEngine2.cpp
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.desktop/share/native/libfontmanager/layout/GXLayoutEngine.cpp	Mon Mar 09 16:44:39 2015 -0700
+++ b/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/src/java.desktop/share/native/libfontmanager/layout/GXLayoutEngine2.cpp	Mon Mar 09 16:44:39 2015 -0700
+++ b/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