changeset 7743:ad87c1b0b658

RT-38154: [Linux, Font] "AR PL UMing" fonts can't be rendered when font size is 11 - 16.
author Felipe Heidrich <felipe.heidrich@oracle.com>
date Wed, 20 Aug 2014 07:00:02 -0700
parents 4160fbf6be5f
children e4d86f6cd678
files modules/graphics/src/main/java/com/sun/javafx/font/freetype/FTFontFile.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/graphics/src/main/java/com/sun/javafx/font/freetype/FTFontFile.java	Wed Aug 20 10:20:56 2014 -0700
+++ b/modules/graphics/src/main/java/com/sun/javafx/font/freetype/FTFontFile.java	Wed Aug 20 07:00:02 2014 -0700
@@ -130,7 +130,7 @@
         boolean lcd = strike.getAAMode() == FontResource.AA_LCD &&
                       FTFactory.LCD_SUPPORT;
 
-        int flags = OSFreetype.FT_LOAD_RENDER | OSFreetype.FT_LOAD_NO_HINTING;
+        int flags = OSFreetype.FT_LOAD_RENDER | OSFreetype.FT_LOAD_NO_HINTING | OSFreetype.FT_LOAD_NO_BITMAP;
         FT_Matrix matrix = strike.matrix;
         if (matrix != null) {
             OSFreetype.FT_Set_Transform(face, matrix, 0, 0);