Package: pango

Function pango-cairo-show-glyph-item

Lambda List

pango-cairo-show-glyph-item (cr text glyph-item)

Arguments

cr -- a cairo-t context
text -- a string with the UTF-8 text that glyph-item refers to
glyph-item -- a pango-glyph-ttem instance

Details

Draws the glyphs in glyph-item in the specified Cairo context, embedding the text associated with the glyphs in the output if the output format supports it (PDF for example), otherwise it acts similar to the function pango-cairo-show-glyph-string.

The origin of the glyphs (the left edge of the baseline) will be drawn at the current point of the Cairo context.

Note that text is the start of the text for layout, which is then indexed by glyph_item->item->offset.
 

See also

2021-1-9