| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Font | createAWTFont(Graphics2D
the graphics context to request additional rendering hints graphics, FontInfo the font info object corresponding to the text run font fontInfo, double the font size in points fontSize, boolean true if the font is boldtrue if the font is italicImplements org. Create an AWT font object with the given attributes |
| public FontInfo | getFallbackFont(Graphics2D
the graphics context to request additional rendering hints graphics, FontInfo the font info object corresponding to the text run font fontInfo)Implements org. In case the original font doesn't contain a glyph, use the returned fallback font as an alternative |
| private FontInfo | |
| public FontInfo | getMappedFont(Graphics2D
the graphics context to request additional rendering hints graphics, FontInfo the font info object corresponding to the text run font fontInfo)Implements org. select a font to be used to paint text |
| public String | Returns: the mapped string, typically consists of chars in the range of 0xf000 to 0xf0ffthe used graphics context graphics, FontInfo the font info fontInfo, String the input string text)Implements org. Symbol fonts like "Wingdings" or "Symbol" have glyphs mapped to a Unicode private use range via the Java font loader, although a system font viewer might show you the glyphs in the ASCII range. |
| private static int |
| knownSymbolFonts | back to summary |
|---|---|
| protected final Set<String> knownSymbolFonts | |
| DrawFontManagerDefault | back to summary |
|---|---|
| public DrawFontManagerDefault() | |
| createAWTFont | back to summary |
|---|---|
| public Font createAWTFont(Graphics2D graphics, FontInfo fontInfo, double fontSize, boolean bold, boolean italic) Implements org. Doc from org. Create an AWT font object with the given attributes
| |
| getFallbackFont | back to summary |
|---|---|
| public FontInfo getFallbackFont(Graphics2D graphics, FontInfo fontInfo) Implements org. Doc from org. In case the original font doesn't contain a glyph, use the returned fallback font as an alternative
| |
| getFontWithFallback | back to summary |
|---|---|
| private FontInfo getFontWithFallback(Graphics2D graphics, Drawable. | |
| getMappedFont | back to summary |
|---|---|
| public FontInfo getMappedFont(Graphics2D graphics, FontInfo fontInfo) Implements org. Doc from org. select a font to be used to paint text
| |
| mapFontCharset | back to summary |
|---|---|
| public String mapFontCharset(Graphics2D graphics, FontInfo fontInfo, String text) Implements org. Symbol fonts like "Wingdings" or "Symbol" have glyphs mapped to a Unicode private use range via the Java font loader, although a system font viewer might show you the glyphs in the ASCII range. This maps the chars of the text string to the corresponding private use range chars.
| |
| mapSymbolChar | back to summary |
|---|---|
| private static int mapSymbolChar(int cp) | |