|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A FontMapper implementation handles mappings between AWT Fonts and PDF fonts. An interface is used instead of a fixed class because there isn't an exact correlation between the font types, so each application is free to define a mapping which is appropriate for it.
| Method Summary | |
BaseFont |
awtToPdf(Font font)
Returns a BaseFont which can be used to represent the given AWT Font |
Font |
pdfToAwt(BaseFont font,
int size)
Returns an AWT Font which can be used to represent the given BaseFont |
| Method Detail |
public BaseFont awtToPdf(Font font)
font - the font to be converted
public Font pdfToAwt(BaseFont font,
int size)
font - the font to be convertedsize - the desired point size of the resulting font
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||