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(String fontname, String encoding, boolean embedded, float size, int style, 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 © 2018. All rights reserved.