Edit

Share via


Face Class

Definition

Represents a typeface.

public class Face : HarfBuzzSharp.NativeObject
Inheritance

Constructors

Name Description
Face(Blob, Int32)

Initializes a new instance of the Face class, using the specified typeface blob.

Face(Blob, UInt32)

Initializes a new instance of the Face class, using the specified typeface blob.

Face(GetTableDelegate, ReleaseDelegate)

Initializes a new instance of the Face class, using the delegate to assemble the data.

Face(GetTableDelegate)

Initializes a new instance of the Face class, using the delegate to assemble the data.

Properties

Name Description
Empty

Gets a reference to the empty Face instance.

GlyphCount

Gets or sets the number of glyphs in the face.

Handle

Gets or sets the handle to the underlying native object.

(Inherited from NativeObject)
Index

Gets or sets the zero-based face index in a collection.

IsImmutable

Gets a value indicating whether this face is immutable.

Tables

Gets the list of OpenType table tags present in this face.

UnitsPerEm

Gets or sets the units per EM.

Methods

Name Description
Dispose()

Releases all resources used by this NativeObject.

(Inherited from NativeObject)
Dispose(Boolean)

Releases the unmanaged resources used by the Face and optionally releases the managed resources.

DisposeHandler()

Releases the unmanaged resources used.

MakeImmutable()

Makes this face immutable, preventing further modifications.

ReferenceTable(Tag)

Retrieves a reference to the specified font table as a blob.

Applies to