7034231: Default font appears twice in fallback font list

Reviewed-by: okutsu, prr
This commit is contained in:
Yuka Kamiya 2011-04-12 18:58:30 +09:00
parent 75aff28522
commit cd31a3e19d
2 changed files with 8 additions and 8 deletions

View File

@ -100,6 +100,14 @@ public class Win32FontManager extends SunFontManager {
});
}
/**
* Whether registerFontFile expects absolute or relative
* font file names.
*/
protected boolean useAbsoluteFontFileNames() {
return false;
}
/* Unlike the shared code version, this expects a base file name -
* not a full path name.
* The font configuration file has base file names and the FontConfiguration

View File

@ -212,14 +212,6 @@ public class Win32GraphicsEnvironment
* ----END DISPLAY CHANGE SUPPORT----
*/
/**
* Whether registerFontFile expects absolute or relative
* font file names.
*/
protected boolean useAbsoluteFontFileNames() {
return false;
}
protected GraphicsDevice makeScreenDevice(int screennum) {
GraphicsDevice device = null;
if (WindowsFlags.isD3DEnabled()) {