write_font method
write_font
Writes data as base64 into HTML document itself
def write_font(self, generator, original_font, substituted_font, font_style, font_weight, font_data):
...
Parameter | Type | Description |
---|---|---|
generator | IHtmlGenerator | HTML generator |
original_font | IFontData | Font to be serialized |
substituted_font | IFontData | Substituted font (if font substitution occured), None otherwise |
font_style | str | Font style |
font_weight | str | Font weight |
font_data | bytes | Font data |
See Also
- class
EmbedAllFontsHtmlController
- class
IFontData
- class
IHtmlGenerator
- module
aspose.slides.export
- library
Aspose.Slides