I am trying to add pfr font files information to my fontconfig and want to use it with pango .
Able to load font files which are in C:\WINDOWS\Fonts folder.
I have kept Amelia.pfr font file in etc/Fonts folder of fontconfig. But i am unable to load it.
i am also trying in the following way
char *fontFile = "Amelia.pfr";
FcConfig *config = FcInitLoadConfigAndFonts();
FcBool ret = FcConfigAppFontAddFile(config, reinterpret_cast<const FcChar8*>(fontFile));
ret = FcConfigSetCurrent(config);
But when i am trying to load it through pango it is unable to load this file. it is loading verdana.ttf
Any thing wrong in this approach?
thanks,
Pradeep.
_______________________________________________
gtk-i18n-list mailing list
gtk-i18n-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list