PdfFontInfo class
Leave feedback
On this page
Encapsulates metadata and binary data of a PDF font loaded into a Viewer instance, which may be embedded in the document or installed on the operating system where GroupDocs.Viewer runs.
The PdfFontInfo type exposes the following members:
| Constructor | Description |
|---|---|
| init |
| Method | Description |
|---|---|
| serialize_to_css | Serializes this font info as a @font-face at-rule and writes it to the specified text writer. |
| serialize_to_css_text_writer |
| Property | Description |
|---|---|
| content | The content of this font as a byte array, or None if only metadata is available and the binary content is unavailable. |
| family_name | The family name of the font, without style; never None or empty string. |
| format | The format of this font. |
| is_embedded | The property indicates whether the font is embedded inside the PDF document and loaded into the Viewer instance (True), or not. |
| is_installed | The property indicates whether this font is present (installed) in the operating system where the GroupDocs.Viewer is running. |
| style | The style of the font; may be Regular, Bold, Italic, or Bold Italic. |
- module
groupdocs.viewer.fonts
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.