PgContext.shape

Given a segment of text and the corresponding #PangoAnalysis structure returned from pango_itemize(), convert the characters into glyphs. You may also pass in only a substring of the item from pango_itemize().

It is recommended that you use pango_shape_full() instead, since that API allows for shaping interaction happening across text item boundaries.

class PgContext
static
void
shape

Parameters

text string

the text to process

length int

the length (in bytes) of @text

analysis PangoAnalysis*

#PangoAnalysis structure from pango_itemize()

glyphs PgGlyphString

glyph string in which to store results

Meta