writeFont
writeFont(HtmlGenerator generator, FontData originalFont, FontData substitutedFont, String fontStyle, String fontWeight, byte[] fontData) method
Writes data as base64 into HTML document itself
Parameters
Name | Type | Description |
---|---|---|
generator | HtmlGenerator | HTML generator |
originalFont | FontData | Font to be serialized |
substitutedFont | FontData | Substituted font (if font substitution occured), null otherwise |
fontStyle | String | Font style |
fontWeight | String | Font weight |
fontData | byte[] | Font data |
Returns
void