AsianFontMapper
, DefaultFontMapper
public interface FontMapper
Modifier and Type | Method | Description |
---|---|---|
BaseFont |
awtToPdf(java.awt.Font font) |
Returns a BaseFont which can be used to represent the given AWT Font
|
java.awt.Font |
pdfToAwt(BaseFont font,
int size) |
Returns an AWT Font which can be used to represent the given BaseFont
|
BaseFont awtToPdf(java.awt.Font font)
font
- the font to be convertedjava.awt.Font pdfToAwt(BaseFont font, int size)
font
- the font to be convertedsize
- the desired point size of the resulting fontCopyright © 1998–2018. All rights reserved.