public interface FontProvider
Modifier and Type | Method and Description |
---|---|
Font |
getFont(String fontName,
String encoding,
boolean embedded,
float size,
int style,
Color color)
Constructs a
Font -object. |
boolean |
isRegistered(String fontName)
Checks if a certain font is registered.
|
boolean isRegistered(String fontName)
fontName
- the name of the font that has to be checked.Font getFont(@Nullable String fontName, String encoding, boolean embedded, float size, int style, @Nullable Color color)
Font
-object.fontName
- the name of the fontencoding
- the encoding of the fontembedded
- true if the font is to be embedded in the PDFsize
- the size of this fontstyle
- the style of this fontcolor
- the Color
of this font.Copyright © 2020. All rights reserved.