changeset 4022:7f7c5a705ee7

RT-31192: Enable native text by default on Windows
author Felipe Heidrich <felipe.heidrich@oracle.com>
date Thu, 20 Jun 2013 11:50:27 -0700
parents dd09c614bbac
children d3b9acbe766c
files javafx-font/src/com/sun/javafx/font/PrismFontFactory.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/javafx-font/src/com/sun/javafx/font/PrismFontFactory.java	Thu Jun 20 10:53:35 2013 -0700
+++ b/javafx-font/src/com/sun/javafx/font/PrismFontFactory.java	Thu Jun 20 11:50:27 2013 -0700
@@ -106,6 +106,7 @@
                     subPixelEnabled = s == null || s.equalsIgnoreCase("true");
                     String defaultFactory = "t2k";
                     if (isMacOSX) defaultFactory = "coretext";
+                    if (isWindows) defaultFactory = "directwrite";
                     return System.getProperty("prism.text", defaultFactory).toLowerCase();
                 }
             });