public interface FontProvider
Modifier and Type | Method and Description |
---|---|
Font |
getFont(String fontname, String encoding, boolean embedded, float size, int style, BaseColor 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, BaseColor color)
Font
-object.
fontname
- the name of the font
encoding
- the encoding of the font
embedded
- true if the font is to be embedded in the PDF
size
- the size of this font
style
- the style of this font
color
- the Color
of this font.
Copyright © 1998–2024. All rights reserved.