Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeFontFace

OfficeIMO.Drawing

Namespace
OfficeIMO.Drawing
Assembly
OfficeIMO.Core
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

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

Accepted by parameters 1

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 OfficeFontStyle Style { get; } #

Bold and italic face attributes.

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.