3.3.5.1.1.1.13 Construction of GlyphIndex

The structure and fields of the GlyphIndex Primary Drawing Order are specified in section 2.2.2.2.1.2.5. The order fields MUST be populated in accordance with this description and the instructions detailed in section 3.3.5.1.1.1.

All of the glyphs associated with the glyph cache indices specified in the order MUST be sent to the client before this order is dispatched by using a Revision 1 or 2 Cache Glyph Secondary Drawing Order (see sections 3.3.5.1.2.1.1 and 3.3.5.1.2.1.2) or a FastGlyph Primary Drawing Order (see section 3.3.5.1.1.1.15). The usage of glyph cache indices implies that support for glyph caching MUST have been specified in the Glyph Cache Capability Set (see [MS-RDPBCGR] section 2.2.7.1.8). If a fragment cache index is specified in a USE clause, that fragment MUST have been part of an ADD clause in a prior GlyphIndex or FastIndex order.

If a cached brush is specified in this order, that brush MUST be sent to the client before this order is dispatched by using a Cache Brush Secondary Drawing Order (see section 3.3.5.1.2.1.6). (The client specifies support for brush caching using the Brush Capability Set defined in [MS-RDPBCGR] section 2.2.7.1.7.)

If support for the FastIndex Primary Drawing Order (see section 2.2.2.2.1.1.2.14 ) was indicated in the Order Capability Set (see [MS-RDPBCGR] section 2.2.7.1.3), then the FastIndex Primary Drawing Order SHOULD be used to send the glyph indices.