Masks for encoding font keys

Sample Use of the masks for Encoding Font Keys

/* typical use for encoding and decoding the second inner-code of font extra data */
/* font style index / font size index / attributes */

/* encoding */
code = Attributes + (FontSizeIndex << 12) + (FontStyleIndex << 24);

/* decoding */
FontStyleIndex = (code & kA3DFontKeyStyle) >> 24;
FontSizeIndex = (code & kA3DFontKeySize) >> 12;
Attributes = (code & kA3DFontKeyAttrib);

Preprocessor Definitions