public interface FontMapper
Modifier and Type | Method and 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 font