Draws the glyphs in @glyph_item with the specified PangoRenderer,
embedding the text associated with the glyphs in the output if the
output format supports it.
This is useful for rendering text in PDF.
Note that this method does not handle attributes in @glyph_item.
If you want colors, shapes and lines handled automatically according
to those attributes, you need to use pango_renderer_draw_layout_line()
or pango_renderer_draw_layout().
Note that @text is the start of the text for layout, which is then
indexed by glyph_item->item->offset.
If @text is %NULL, this simply calls [method@Pango.Renderer.draw_glyphs].
The default implementation of this method simply falls back to
[method@Pango.Renderer.draw_glyphs].
Draws the glyphs in @glyph_item with the specified PangoRenderer, embedding the text associated with the glyphs in the output if the output format supports it.
This is useful for rendering text in PDF.
Note that this method does not handle attributes in @glyph_item. If you want colors, shapes and lines handled automatically according to those attributes, you need to use pango_renderer_draw_layout_line() or pango_renderer_draw_layout().
Note that @text is the start of the text for layout, which is then indexed by glyph_item->item->offset.
If @text is %NULL, this simply calls [method@Pango.Renderer.draw_glyphs].
The default implementation of this method simply falls back to [method@Pango.Renderer.draw_glyphs].