Appends a glyph to a PangoOTBuffer
, with properties
identifying which
features should be applied on this glyph.
See [methodPangoOT
.Ruleset.add_feature].
the glyph index to add, like a PangoGlyph
the glyph properties
the cluster that this glyph belongs to
Empties a PangoOTBuffer
, make it ready to add glyphs to.
Destroys a PangoOTBuffer
and free all associated memory.
Exports the glyphs in a PangoOTBuffer
into a PangoGlyphString
.
This is typically used after the OpenType layout processing is over, to convert the resulting glyphs into a generic Pango glyph string.
a PangoGlyphString
Sets whether glyphs will be rendered right-to-left.
This setting is needed for proper horizontal positioning of right-to-left scripts.
%TRUE for right-to-left text
Sets whether characters with a mark class should be forced to zero width.
This setting is needed for proper positioning of Arabic accents, but will produce incorrect results with standard OpenType Indic fonts.
%TRUE if characters with a mark class should be forced to zero width
Creates a new
PangoOTBuffer
for the given OpenType font.