This topic has not yet been rated - Rate this topic

FONTSIGNATURE structure

Applies to: desktop apps only

Contains information identifying the code pages and Unicode subranges for which a given font provides glyphs.

Syntax

typedef struct tagFONTSIGNATURE {
  DWORD fsUsb[4];
  DWORD fsCsb[2];
} FONTSIGNATURE, *PFONTSIGNATURE;

Members

fsUsb

A 128-bit Unicode subset bitfield (USB) identifying up to 126 Unicode subranges. Each bit, except the two most significant bits, represents a single subrange. The most significant bit is always 1 and identifies the bitfield as a font signature; the second most significant bit is reserved and must be 0. Unicode subranges are numbered in accordance with the ISO 10646 standard. For more information, see Unicode Subset Bitfields.

fsCsb

A 64-bit, code-page bitfield (CPB) that identifies a specific character set or code page. Code pages are in the lower 32 bits of this bitfield. The high 32 are used for non-Windows code pages. For more information, see Code Page Bitfields.

Remarks

GDI relies on Windows code pages fitting within a 32-bit value. Furthermore, the highest 2 bits within this value are reserved for GDI internal use and may not be assigned to code pages.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Wingdi.h (include Windows.h)

See also

Unicode and Character Set Structures
LOCALESIGNATURE

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Get subranges through a function etc.
I'm wondering if there is a way to get the unicode subrange (and the description) for the specific bit though a function, header definitions etc and not through the linked table?!

Problem is that i like to write a program which prints for a font all supported subranges and there description. Furthermore i need the subranges because the user should select i.e. arabic and the program then will only show the arabic range/glyphs....maybe there is another/better solution for this problem?

Thanks in advice.