com.lowagie.text.pdf
public interface FontMapper
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
|
Parameters: font the font to be converted
Returns: a BaseFont which has similar properties to the provided Font
Parameters: font the font to be converted size the desired point size of the resulting font
Returns: a Font which has similar properties to the provided BaseFont