[cairo] HUGE Pango-cairo fonts on Win32 (under wine)

Kalle Vahlman kalle.vahlman at gmail.com
Sun Dec 30 00:41:51 PST 2007


2007/12/30, Peter Clifton <pcjc2 at cam.ac.uk>:
> Apologies Tor if you don't want to be CC'd directly. I thought you might
> be interested, but if not, let me know, and I'll drop the CC in future.
>
>
> How convoluted..
>
> I'm trying to test a port of win32 applications under wine, and font
> rendering is wrecked... (with GTK versions which use cairo /
> pango-cairo).
>
> The glyphs are being drawn at enormous sizes, near (about 100 times as
> an order of magnitude guess).
>
> I've not got easy access to a win32 box to test this on (let alone to
> build code on), so am not really sure what to do next.

FWIW, I've seen this with wine too. You don't want to work-around this
in code, since it isn't a problem on real windows. There's a bug for
it, but nothing really informative there:

http://bugs.winehq.org/show_bug.cgi?id=7186

My work-around was easy, I just had a gtkrc with a font size "0.1"
that I used with wine for my GTK+ application, but if you need to
depend on the font size it gets pretty hairy...

The best option would of course be to find out what's wrong and fix it :)

-- 
Kalle Vahlman, zuh at iki.fi
Powered by http://movial.fi
Interesting stuff at http://syslog.movial.fi


More information about the cairo mailing list