[Bug 29240] Anti-aliasing not working for all fonts

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Dec 8 09:58:04 CST 2011


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

--- Comment #3 from rui1965 at voila.fr 2011-12-08 09:58:04 CST ---
The antiliasing does not start at the same size for all the fonts:
  . Font 'DejaVu Sans' : antialised for all font sizes. 
  . Font 'Consolas' : antialised for all font sizes. 
  . Font 'Arial' : antialised for font sizes bigger than 13.
  . Font 'Tahoma' : antialised for font sizes bigger than 11.
  . Font 'Verdana' : antialised for font sizes bigger than 11.
  . Font 'Times New Roman' : antialised for font sizes bigger than 13.

A quick test shows that in font.c, after the call of get_gasp_flags( hdc,
&gasp_flags ):
  . When the antialiasing is not done: GGO_BITMAP, gasp_flags=0x0001
  . When the antialiasing is done: GGO_GRAY4_BITMAP, gasp_flags=0x0003 or
0x0007.
Antialiasing seems to depend on the font data retrieved by GetFontData.  

I have also tried with wordpad but it does not go through the same code path
(get_font_aa_flags, ...).

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list