[Bug 7186] fonts in applications using cairo ( not only through GTK )

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Dec 4 17:21:35 CST 2007


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


Andre Auzi <aauzi at users.sourceforge.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aauzi at users.sourceforge.net




--- Comment #7 from Andre Auzi <aauzi at users.sourceforge.net>  2007-12-04 17:21:34 ---
I've experienced the over sized text rendering of GTK+ (2.12.2) on my system
too.

I've eventually managed to turn around this issue with a hack in cairo (1.4.10)

The hack is simple enough it consists in a change of the scale cairo uses to
render win32 fonts. 

It's in the file: src/cairo-win32-private.h

/* AAU: hack
#define WIN32_FONT_LOGICAL_SCALE 32
*/
#define WIN32_FONT_LOGICAL_SCALE 1

Basically, cairo fonts rendered with this scale factor set to 1 are rendered
with a good size (not as smooth are they could be though).

My guess would be that there must be a flaw in the world transformation applied
to fonts but I could not identify it.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list