< prev index next >
src/java.desktop/share/classes/sun/awt/FontConfiguration.java
Print this page
*** 249,264 ****
--- 249,276 ----
}
}
private File findImpl(String fname) {
File f = new File(fname + ".properties");
+ if (FontUtilities.debugFonts()) {
+ logger.info("Looking for text fontconfig file : " + f);
+ }
if (f.canRead()) {
+ if (FontUtilities.debugFonts()) {
+ logger.info("Found file : " + f);
+ }
isProperties = true;
return f;
}
f = new File(fname + ".bfc");
+ if (FontUtilities.debugFonts()) {
+ logger.info("Looking for binary fontconfig file : " + f);
+ }
if (f.canRead()) {
+ if (FontUtilities.debugFonts()) {
+ logger.info("Found file : " + f);
+ }
isProperties = false;
return f;
}
return null;
}
*** 303,312 ****
--- 315,327 ----
configFile = findImpl(baseName);
if (configFile != null) {
return configFile;
}
+ if (FontUtilities.debugFonts()) {
+ logger.info("Did not find a fontconfig file.");
+ }
return null;
}
/* Initialize the internal data tables from binary format font
* configuration file.
< prev index next >