The function is similar to except that it uses 2-byte or 16-bit characters. Both functions allow complex spacing and font shifts between counted strings.
Each text item is processed in turn. A font member other than in an item causes the font to be stored in the GC and used for subsequent text. A text element delta specifies an additional change in the position along the x axis before the string is drawn. The delta is always added to the character origin and is not dependent on any characteristics of the font. Each character image, as defined by the font in the GC, is treated as an additional mask for a fill operation on the drawable. The drawable is modified only where the font character has a bit set to 1. If a text item generates a error, the previous text items may have been drawn.
For fonts defined with linear indexing rather than 2-byte matrix indexing, each structure is interpreted as a 16-bit number with byte1 as the most significant byte.
Both functions use these GC components: function, plane-mask, fill-style, font, subwindow-mode, clip-x-origin, clip-y-origin, and clip-mask. They also use these GC mode-dependent components: foreground, background, tile, stipple, tile-stipple-x-origin, and tile-stipple-y-origin.
and can generate and errors.