OfficeFontFace
OfficeIMO.Drawing
One caller-supplied font face that can be reused by drawing renderers.
Inheritance
- object
- OfficeFontFace
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Property OfficeFontFaceCollection.Faces
Accepted by parameters 1
Inherited Methods
Properties
public string FamilyName { get; } #CSS/Office family name used to select the face.
public string ResourceFamilyName { get; } #Unique family name used by exporters after unicode-range selection.
public OfficeFontFaceDescriptor Descriptor { get; } #Numeric weight, stretch, and slant attributes used for CSS-compatible face selection.
public OfficeFontUnicodeRangeSet UnicodeRanges { get; } #Unicode scalars this face is allowed to serve.
public byte[] Data { get; } #Independent copy of the accepted face bytes. This is normalized sfnt data for built-in TrueType/WOFF 1 faces and provider-selected bytes for other formats.
public OfficeFontContainerFormat ContainerFormat { get; } #Detected source container format.
public bool CanEmbedAsStaticPdfFont { get; } #Whether OfficeFontFace.Data is a static sfnt program safe for direct PDF embedding.
public IOfficeFontProgram Program { get; } #Decoded measurement, shaping, and outline program for this face. Exporters can use this when direct static-font embedding is unavailable, for example for WOFF 2, CFF2, or an active variable-font instance.