public class GenericFontMapper extends Object implements FontMapper
| Modifier and Type | Field and Description |
|---|---|
static Map<String,String> |
fontMappings |
static Map<String,Integer> |
fontSizeAdjustments |
DEFAULT_ON_UNMAPPED, EMBED_ALL, EMBED_ALL_EXCEPT_BASE_FAMILIES, FAIL_ON_UNMAPPED| Constructor and Description |
|---|
GenericFontMapper(String rawFont) |
GenericFontMapper(String rawFont,
int fontMode,
boolean isFontEmbedded,
boolean isFontSubstituted) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(FontMapper fontMapper) |
String |
getFont() |
String |
getStyle() |
String |
getWeight() |
boolean |
isFontEmbedded() |
boolean |
isFontSubstituted() |
public GenericFontMapper(String rawFont)
public GenericFontMapper(String rawFont, int fontMode, boolean isFontEmbedded, boolean isFontSubstituted)
public String getFont()
getFont in interface FontMapperpublic String getStyle()
getStyle in interface FontMapperpublic String getWeight()
getWeight in interface FontMapperpublic boolean isFontEmbedded()
isFontEmbedded in interface FontMapperpublic boolean isFontSubstituted()
isFontSubstituted in interface FontMapperpublic boolean equals(FontMapper fontMapper)
equals in interface FontMapperCopyright © 2017. All rights reserved.