6752622: java.awt.Font.getPeer throws "java.lang.InternalError: Not implemented" on Linux
Reviewed-by: igor, yan
This commit is contained in:
parent
a0930ff4d4
commit
729f2789f0
@ -27,9 +27,6 @@ package sun.awt.X11;
|
||||
import sun.awt.PlatformFont;
|
||||
import java.awt.GraphicsEnvironment;
|
||||
|
||||
/* FIX ME */
|
||||
import sun.awt.motif.MFontConfiguration;
|
||||
|
||||
public class XFontPeer extends PlatformFont {
|
||||
|
||||
/*
|
||||
@ -51,10 +48,6 @@ public class XFontPeer extends PlatformFont {
|
||||
|
||||
public XFontPeer(String name, int style){
|
||||
super(name, style);
|
||||
|
||||
if (fontConfig != null){
|
||||
xfsname = ((MFontConfiguration) fontConfig).getMotifFontSet(familyName, style);
|
||||
}
|
||||
}
|
||||
|
||||
protected char getMissingGlyphCharacter() {
|
||||
|
@ -173,7 +173,7 @@ public class FcFontConfiguration extends FontConfiguration {
|
||||
|
||||
@Override
|
||||
public FontDescriptor[] getFontDescriptors(String fontName, int style) {
|
||||
throw new InternalError("Not implemented");
|
||||
return new FontDescriptor[0];
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user