mirror of
https://github.com/openjdk/jdk.git
synced 2026-06-03 09:12:59 +00:00
7034231: Default font appears twice in fallback font list
Reviewed-by: okutsu, prr
This commit is contained in:
parent
75aff28522
commit
cd31a3e19d
@ -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
|
||||
|
||||
@ -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()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user