FontFactoryImp
, XMLWorkerFontProvider
public interface FontProvider
Modifier and Type | Method | Description |
---|---|---|
Font |
getFont(java.lang.String fontname,
java.lang.String encoding,
boolean embedded,
float size,
int style,
BaseColor color) |
Constructs a
Font -object. |
boolean |
isRegistered(java.lang.String fontname) |
Checks if a certain font is registered.
|
boolean isRegistered(java.lang.String fontname)
fontname
- the name of the font that has to be checked.Font getFont(java.lang.String fontname, java.lang.String encoding, boolean embedded, float size, int style, BaseColor 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 © 1998–2018. All rights reserved.