Module com.github.librepdf.openpdf
Package com.lowagie.text.pdf
Class DefaultFontMapper.BaseFontParameters
- java.lang.Object
-
- com.lowagie.text.pdf.DefaultFontMapper.BaseFontParameters
-
- Enclosing class:
- DefaultFontMapper
public static class DefaultFontMapper.BaseFontParameters extends Object
A representation of BaseFont parameters.
-
-
Field Summary
Fields Modifier and Type Field Description booleancachedWhether the font is cached of not.booleanembeddedThe embedding for that font.StringencodingThe encoding for that font.StringfontNameThe font name.byte[]pfbThe font bytes for pfb.byte[]ttfAfmThe font bytes for ttf and afm.
-
Constructor Summary
Constructors Constructor Description BaseFontParameters(String fontName)Constructs default BaseFont parameters.
-
-
-
Field Detail
-
fontName
public String fontName
The font name.
-
encoding
public String encoding
The encoding for that font.
-
embedded
public boolean embedded
The embedding for that font.
-
cached
public boolean cached
Whether the font is cached of not.
-
ttfAfm
public byte[] ttfAfm
The font bytes for ttf and afm.
-
pfb
public byte[] pfb
The font bytes for pfb.
-
-
Constructor Detail
-
BaseFontParameters
public BaseFontParameters(String fontName)
Constructs default BaseFont parameters.- Parameters:
fontName- the font name or location
-
-