Re: Pango: Ft2 versus Xft fonts



Hi,

Robert Roebling t-online de (Robert Roebling) writes:

> 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?

unless I'm confusing things here, I think that the FT2 backend is
supposed to give you the same fonts as the Xft Pango backend. At least
they share a good amount of code that handles this stuff and they use
the same configuration file.


Salut, Sven



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