| com.lowagie.text.pdf.FontMapper
All known Subclasses: com.lowagie.text.pdf.DefaultFontMapper,
FontMapper | public interface FontMapper (Code) | | 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.
|
awtToPdf | public BaseFont awtToPdf(Font font)(Code) | | Returns a BaseFont which can be used to represent the given AWT Font
Parameters: font - the font to be converted a BaseFont which has similar properties to the provided Font |
pdfToAwt | public Font pdfToAwt(BaseFont font, int size)(Code) | | Returns an AWT Font which can be used to represent the given BaseFont
Parameters: font - the font to be converted Parameters: size - the desired point size of the resulting font a Font which has similar properties to the provided BaseFont |
|
|