ComponentOne Reports for WinForms Designer Edition: ComponentOne Reports for WinForms > Working with C1PrintDocument > Embedded Fonts

Embedded Fonts

When a C1PrintDocument is saved as a C1DX or C1D file, fonts used in the document may be embedded in that file. In that case, when that document is loaded from the file on a different system, text drawn with fonts that have been embedded is guaranteed to render correctly even if the current system does not have all the original fonts installed. Font embedding may be particularly useful when rare or specialized fonts are used (such as, a font drawing barcodes). Note that when a font is embedded in a C1PrintDocument that does not mean that all glyphs from that font are embedded. Instead, just the glyphs actually used in the font are embedded.

The following C1PrintDocument properties are related to font embedding:

      EmbeddedFonts – this is the collection that contains fonts embedded in the document. Note that while it may be automatically populated, it may also be manually changed for custom control over font embedding (see below for more details).

      DocumentFonts – this collection is automatically populated, depending on the value of the C1PrintDocument.FontHandling property. It may be used to find out which fonts are used in the document.

      FontHandling – this property determines whether and how the two related collections (EmbeddedFonts and DocumentFonts) are populated.


Font Substitution

Selective Font Embedding


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.