Font path


Given a PangoFontDescription, is there any way to get the path to the actual font file out of that?

I've got an editor with a font selection dialog, and when printing text to pdf, it uses fop, and fop again needs the path to the actual font, e.g. /usr/X11R6/lib/x11/fonts/CharisSILR.ttf, to properly display Unicode text.

I've been trying to find out how to get that path, and looked through the Pango source, and get the impression that Pango, together with Fontconfig, should be able to provide it, but the big question is: How???

Thanks a lot,


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