there’s a method called append_layout, but no such method for a single line. there’s also a render node class called GskTextNode, but it needs a PangoGlyphString. how can i get a PangoGlyphString from a layout?
Hello @two, are you coding in C or with language bindings? Speaking of C, you have access to the PangoLayoutLine internals, since it’s a public structure. In particular, you’ll want to look into PangoLayoutLine.runs
, which is is a list of PangoGlyphItem. Each PangoGlyphItem contains a PangoGlyphString
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.