>> Mhmm, you could copy the data stored `face->glyph->outline' into a
>> new `FT_Outline` structure and iterate over the outlines, [...]
>
> I wrote something that seems to be working, but I would like to
> cache the contours. For Open_type_font, this is easy, but for
> Pango_font, each string can be composed of multiple FT_Faces, and I
> suspect they might be deallocated during a program run. Do you know
> of a suitable immutable key for FT_Face (eg. full filename) that I
> could get out of either Freetype or Pango?
FreeType doesn't have such an immutable key – if I understand the
issue correctly –, and I don't have sufficient knowledge of Pango to
give further advice, sorry.
Werner