changeset 4198:1ef3f9aba44e

RT-31457: PrismFontFactory#createFontResource wrong parameter order
author felipe
date Mon, 08 Jul 2013 11:56:59 -0700
parents 8ce796688bc6
children 2ca8dc7b3c96
files modules/graphics/src/main/java/com/sun/javafx/font/PrismFontFactory.java
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/modules/graphics/src/main/java/com/sun/javafx/font/PrismFontFactory.java	Mon Jul 08 11:23:09 2013 -0700
+++ b/modules/graphics/src/main/java/com/sun/javafx/font/PrismFontFactory.java	Mon Jul 08 11:56:59 2013 -0700
@@ -203,10 +203,10 @@
     }
 
     PrismFontFile createFontResource(String name, String filename,
-                                          boolean register,
-                                          boolean embedded,
-                                          boolean copy,
-                                          boolean tracked) {
+                                     boolean register,
+                                     boolean embedded,
+                                     boolean copy,
+                                     boolean tracked) {
         if (filename == null) {
             return null;
         } else {
@@ -228,8 +228,8 @@
                             }
                         } else {
                             fr = createFontFile(name, filename, index,
-                                                embedded,
-                                                register, copy, tracked);
+                                                register, embedded,
+                                                copy, tracked);
                         }
                     } catch (Exception e) {
                         if (PrismFontFactory.debugFonts) {
@@ -1467,7 +1467,7 @@
          * know to reference the file directly.
          */
         PrismFontFile fr = createFontResource(name, path, register,
-                                            true, copy, tracked);
+                                              true, copy, tracked);
         if (fr == null) {
             return null; // yes, this means the caller needs to handle null.
         }