changeset 4064:0f98d7d98c9f

7031011: fallbackfont testing failed on OEL 6. Reviewed-by: igor, jgodinez
author prr
date Fri, 22 Apr 2011 12:59:15 -0700
parents d9571c986c73
children a07c9e09b4ca
files src/solaris/classes/sun/font/FcFontConfiguration.java
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/solaris/classes/sun/font/FcFontConfiguration.java	Wed Apr 20 09:10:36 2011 -0700
+++ b/src/solaris/classes/sun/font/FcFontConfiguration.java	Fri Apr 22 12:59:15 2011 -0700
@@ -256,9 +256,9 @@
                 }
 
                 if (installedFallbackFontFiles != null) {
-                    System.arraycopy(fileNames, index,
-                                     installedFallbackFontFiles,
-                                     0, installedFallbackFontFiles.length);
+                    System.arraycopy(installedFallbackFontFiles, 0,
+                                     fileNames, fcFonts.length,
+                                     installedFallbackFontFiles.length);
                 }
 
                 result[fontIndex * NUM_STYLES + styleIndex]