changeset 10892:39f3f16bbc96

8072887: Better font handling improvements Reviewed-by: prr, srl, mschoene
author vadim
date Fri, 27 Feb 2015 19:21:36 +0300
parents 74f8ec38d1ac
children 1fa5fb9632e9
files src/share/native/sun/font/layout/GXLayoutEngine.cpp src/share/native/sun/font/layout/GXLayoutEngine2.cpp
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/native/sun/font/layout/GXLayoutEngine.cpp	Mon Apr 13 22:44:12 2015 -0700
+++ b/src/share/native/sun/font/layout/GXLayoutEngine.cpp	Fri Feb 27 19:21:36 2015 +0300
@@ -73,7 +73,7 @@
 
     fMorphTable->process(fMorphTable, glyphStorage, success);
 
-    return count;
+    return glyphStorage.getGlyphCount();
 }
 
 // apply positional tables
--- a/src/share/native/sun/font/layout/GXLayoutEngine2.cpp	Mon Apr 13 22:44:12 2015 -0700
+++ b/src/share/native/sun/font/layout/GXLayoutEngine2.cpp	Fri Feb 27 19:21:36 2015 +0300
@@ -69,7 +69,7 @@
     }
 
     fMorphTable->process(fMorphTable, glyphStorage, fTypoFlags, success);
-    return count;
+    return glyphStorage.getGlyphCount();
 }
 
 // apply positional tables