how to use pango_ot_info_list_* ?

Hi list,

sorry, if this question sounds a bit silly, but I'm not an experienced 
programmer and need some help.

I want to print the available GSUB scripts, languages and features of a 
specific font on the screen.

No I have:

PangoOTInfo *info = pango_ot_info_get (face);
PangoOTTag *tag = pango_ot_info_list_scripts (info, 

But when I try to iterate the 'tag' array, I always get segmentation 
faults. What would be the correct way?

Thanks for help.

Arne Götje (高盛華) <arne linux org tw>
PGP/GnuPG key: 1024D/685D1E8C
Fingerprint: 2056 F6B7 DEA8 B478 311F  1C34 6E9F D06E 685D 1E8C
Key available at   Encrypted e-mail preferred.

Attachment: pgpGOXmrABsU9.pgp
Description: PGP signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]