public class ComplementaryFontsRegistry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static com.intellij.openapi.editor.impl.ComplementaryFontsRegistry.FallBackInfo |
DEFAULT_FONT_INFO |
Modifier and Type | Method and Description |
---|---|
static FontInfo |
getFontAbleToDisplay(char [] text,
int start,
int end,
int style,
FontPreferences preferences,
java.awt.font.FontRenderContext context)
If you intend to use font metrics from returned
FontInfo object,
pass not-null correct FontRenderContext to this method. |
static FontInfo |
getFontAbleToDisplay(java.lang.CharSequence text,
int start,
int end,
int style,
FontPreferences preferences,
java.awt.font.FontRenderContext context)
If you intend to use font metrics from returned
FontInfo object,
pass not-null correct FontRenderContext to this method. |
static FontInfo |
getFontAbleToDisplay(int codePoint,
int style,
FontPreferences preferences)
Deprecated.
Use {
getFontAbleToDisplay(int, int, FontPreferences, FontRenderContext) } instead. To be removed in 2020.2 version. |
static FontInfo |
getFontAbleToDisplay(int codePoint,
int style,
FontPreferences preferences,
java.awt.font.FontRenderContext context)
If you intend to use font metrics from returned
FontInfo object,
pass not-null correct FontRenderContext to this method. |
static FontInfo |
getFontAbleToDisplay(int codePoint,
int size,
int style,
java.lang.String defaultFontFamily)
Deprecated.
Use {
getFontAbleToDisplay(int, int, int, String, FontRenderContext) } instead. To be removed in 2020.2 version. |
static FontInfo |
getFontAbleToDisplay(int codePoint,
int size,
int style,
java.lang.String defaultFontFamily,
java.awt.font.FontRenderContext context)
If you intend to use font metrics from returned
FontInfo object,
pass not-null correct FontRenderContext to this method. |
public static final com.intellij.openapi.editor.impl.ComplementaryFontsRegistry.FallBackInfo DEFAULT_FONT_INFO
@Deprecated public static FontInfo getFontAbleToDisplay(int codePoint, int style, FontPreferences preferences)
getFontAbleToDisplay(int, int, FontPreferences, FontRenderContext)
} instead. To be removed in 2020.2 version.public static FontInfo getFontAbleToDisplay(java.lang.CharSequence text, int start, int end, int style, FontPreferences preferences, java.awt.font.FontRenderContext context)
FontInfo
object,
pass not-null correct FontRenderContext
to this method.public static FontInfo getFontAbleToDisplay(char [] text, int start, int end, int style, FontPreferences preferences, java.awt.font.FontRenderContext context)
FontInfo
object,
pass not-null correct FontRenderContext
to this method.public static FontInfo getFontAbleToDisplay(int codePoint, int style, FontPreferences preferences, java.awt.font.FontRenderContext context)
FontInfo
object,
pass not-null correct FontRenderContext
to this method.@Deprecated public static FontInfo getFontAbleToDisplay(int codePoint, int size, int style, java.lang.String defaultFontFamily)
getFontAbleToDisplay(int, int, int, String, FontRenderContext)
} instead. To be removed in 2020.2 version.