Different fonts with Gdk and xft



Hi!

I'm noticing that there's a difference in font names between normal Pango
and PangoFT2 (as see using GDK_USE_XFT).  For instance, bodidly <->
bodidlybold, comicscartoon <-> comics, coronet <-> coronetscript, oldtown
<-> old-town etc.  It also seems that some fonts are missing on one side or
the other, though it's hard to tell with the name mess.  

Since we use PangoFT2 for printing, but regular Pango unless the user sets
XFT, this leads to a world of confusion & trouble.  Is there a way to find
out which fonts are the same between the two systems, or to get the two
systems to agree on the names (I'm using pango_family_get_name to find the
names). 

I'm using Debian x86 with libpango 1.0.4, freetype 2.1.2.

Thanks,
-Lars

-- 
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| Hårdgrim of Numenor
"I do not agree with a word that you say, but I   |----------------------------
will defend to the death your right to say it."   | Where are we going, and
    --Evelyn Beatrice Hall paraphrasing Voltaire  | what's with the handbasket?



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