Pango: Ft2 versus Xft fonts


I am trying to teach my programme to print using Pango
so that I get somewhat closer to WYSIWYG for GTK 2.0.
A quick search on google reveals that I am not the
only one looking for solutions to this problem. In
any case, my current approach is to use Pango's FT2
engine to draw outlines which I then send to a PostScript
file. This works well, but my problem is that the 
FT2 backend doesn't use the same fonts as the Xft
backend (surprise!). So the obvious question is how
I can teach Pango FT2 to use the same fonts as the
Pango Xft version?

Thanks for any info,


Robert Roebling, <robert roebling medizin uni-ulm de>

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