NSMultibyteGlyphPacking

Glyph packing constants are used to extract glyphs from a font for making a multibyte (or single-byte) array of glyphs for passing to an interpreter, such as the window server. With Quartz, the engine always expects the format to be in 2-byte short array, so NSNativeShortGlyphPacking is the only format currently in use.

Declaration

enum {
   NSOneByteGlyphPacking,
   NSJapaneseEUCGlyphPacking,
   NSAsciiWithDoubleByteEUCGlyphPacking,
   NSTwoByteGlyphPacking,
   NSFourByteGlyphPacking,
}

Topics

Constants

NSOneByteGlyphPacking

One-byte storage format.

NSJapaneseEUCGlyphPacking

Extended Unix Code for Japanese format.

NSAsciiWithDoubleByteEUCGlyphPacking

Two-byte Extended Unix Code format.

NSTwoByteGlyphPacking

Two-byte storage format.

NSFourByteGlyphPacking

Four-byte storage format.