| de.intarsys.pdf.font.outlet.IFontFactory
All known Subclasses: de.intarsys.pdf.font.outlet.StandardFontFactory,
IFontFactory | public interface IFontFactory (Code) | | A factory for
PDFont instances.
The factory can create "relative" requests ("getXYZFlavor) as well as
"absolute" request defining the complete font attributes.
|
Method Summary | |
public PDFont | getBoldFlavor(PDFont font) A font based on font , but with "bold" style.
The font returned may be either a new one or a font already in use in a
PDDocument . | public PDFont | getFont(IFontQuery query) A font satisfying the conditions defined in query .
The font returned may be either a new one or a font already in use in a
PDDocument . | public PDFont | getItalicFlavor(PDFont font) A font based on font , but with "italic" style.
The font returned may be either a new one or a font already in use in a
PDDocument . | public PDFont | getRegularFlavor(PDFont font) A font based on font , but with "regular" style.
The font returned may be either a new one or a font already in use in a
PDDocument . | public void | setEmbedNew(boolean embedNew) Flag if the factory should create fonts that are embedded in the
document. |
getBoldFlavor | public PDFont getBoldFlavor(PDFont font)(Code) | | A font based on font , but with "bold" style.
The font returned may be either a new one or a font already in use in a
PDDocument . Thois decision is up to the factory.Be careful when
changing the font returned!
Parameters: font - The base font to be "bolded". A font based on font , but with "bold" style. |
getFont | public PDFont getFont(IFontQuery query)(Code) | | A font satisfying the conditions defined in query .
The font returned may be either a new one or a font already in use in a
PDDocument . Thois decision is up to the factory.Be careful when
changing the font returned!
Parameters: query - A query defining the PDFont to be looked up. A font satisfying the conditions defined in query . |
getItalicFlavor | public PDFont getItalicFlavor(PDFont font)(Code) | | A font based on font , but with "italic" style.
The font returned may be either a new one or a font already in use in a
PDDocument . Thois decision is up to the factory.Be careful when
changing the font returned!
Parameters: font - The base font to be "italicized". A font based on font , but with "italic" style. |
getRegularFlavor | public PDFont getRegularFlavor(PDFont font)(Code) | | A font based on font , but with "regular" style.
The font returned may be either a new one or a font already in use in a
PDDocument . Thois decision is up to the factory.Be careful when
changing the font returned!
Parameters: font - The base font to be "regularized". A font based on font , but with "regular" style. |
setEmbedNew | public void setEmbedNew(boolean embedNew)(Code) | | Flag if the factory should create fonts that are embedded in the
document.
Parameters: embedNew - true if new fonts should be embedded. |
|
|