t2embapi.h header

This header is used by Windows GDI. For more information, see:

t2embapi.h contains the following programming interfaces:

Functions

 
TTCharToUnicode

Converts an array of 8-bit character code values to 16-bit Unicode values.
TTDeleteEmbeddedFont

Releases memory used by an embedded font, hFontReference.
TTEmbedFont

Creates a font structure containing the subsetted wide-character (16-bit) font. The current font of the device context (hDC) provides the font information.
TTEmbedFontEx

Creates a font structure containing the subsetted UCS-4 character (32-bit) font. The current font of the device context (hDC) provides the font information.
TTEmbedFontFromFileA

Creates a font structure containing the subsetted wide-character (16-bit) font. An external file provides the font information.
TTEnableEmbeddingForFacename

Adds or removes facenames from the typeface exclusion list.
TTGetEmbeddedFontInfo

Retrieves information about an embedded font, such as embedding permissions. TTGetEmbeddedFontInfo performs the same task as TTLoadEmbeddedFont but does not allocate internal data structures for the embedded font.
TTGetEmbeddingType

Obtains the embedding privileges of a font.
TTGetNewFontName

Obtains the family name for the font loaded through TTLoadEmbeddedFont.
TTIsEmbeddingEnabled

Determines whether the typeface exclusion list contains a specified font.
TTIsEmbeddingEnabledForFacename

Determines whether embedding is enabled for a specified font.
TTLoadEmbeddedFont

Reads an embedded font from the document stream and installs it. Also allows a client to further restrict embedding privileges of the font.
TTRunValidationTests

Validates part or all glyph data of a wide-character (16-bit) font, in the size range specified.
TTRunValidationTestsEx

Validates part or all glyph data of a UCS-4 character (32-bit) font, in the size range specified.

Structures

 
TTEMBEDINFO

The TTEMBEDINFO structure contains a list of URLs from which the embedded font object may be legitimately referenced.
TTLOADINFO

The TTLOADINFO structure contains the URL from which the embedded font object has been obtained.
TTVALIDATIONTESTSPARAMS

The TTVALIDATIONTESTSPARAMS structure contains parameters for testing a Microsoft OpenType font.
TTVALIDATIONTESTSPARAMSEX

The TTVALIDATIONTESTSPARAMSEX structure contains parameters for testing a Microsoft OpenType font.