[Bug 10342] Implement ClearType also known as SubPixel Rendering

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jul 20 11:40:03 CDT 2008


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





--- Comment #11 from Erik Johnson <junk1112 at new.rr.com>  2008-07-20 11:40:03 ---
To add to and clarify from my previous posts:

It looks like the relevant code would be in /dlls/winex11.drv/xrender.c.  In
fact, it even has this enum in it:

typedef enum { AA_None = 0, AA_Grey, AA_RGB, AA_BGR, AA_VRGB, AA_VBGR,
AA_MAXVALUE } AA_Type;

Notice the AA_RGB, AA_BGR, etc.  This is for subpixel AA rendering.  But, the
only ones that are used in the code that follows are AA_None and AA_Grey.  So,
it appears that somebody did have the idea that it would eventually be
implemented.  This is issue #1.

Issue #2 is that it seems like Wine is doing its own rasterization of the
fonts, and at least on my system, it appears like it's doing "brute force" full
hinting of all fonts, even though I have many fonts set to "hintslight" in my
.fonts.conf.  This is a hinting issue that applies to both aliased and
antialiased (grey or subpixel) fonts, but should probably be dealt with at the
same time as issue #1.

However, I issued this:
strace -F wine notepad 2>&1 | grep "fonts\.conf"

...and it does appear that wine is at least reading the ~/.fonts.conf;  it's
just not respecting everything (or anything?) in it.


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