Add VRGB/VBGR render modes for subpixel aliasing as new FontOrientation to enable capabilities that are already in xrender.c:UploadGlyph and subsequently freetype.c:WineEngGetGlyphOutline

Clemens Fruhwirth clemens at endorphin.org
Wed Mar 17 07:17:45 CDT 2010


On Wed, Mar 17, 2010 at 11:03 AM, Alexandre Julliard
<julliard at winehq.org> wrote:
> Clemens Fruhwirth <clemens at endorphin.org> writes:
>
>> @@ -3090,8 +3090,10 @@ typedef struct tagCBTACTIVATESTRUCT
>>  #define FE_FONTSMOOTHINGCLEARTYPE      0x0002
>>  #define FE_FONTSMOOTHINGDOCKING        0x8000
>>
>> -#define FE_FONTSMOOTHINGORIENTATIONBGR 0x0000
>> -#define FE_FONTSMOOTHINGORIENTATIONRGB 0x0001
>> +#define FE_FONTSMOOTHINGORIENTATIONBGR  0x0000
>> +#define FE_FONTSMOOTHINGORIENTATIONRGB  0x0001
>> +#define FE_FONTSMOOTHINGORIENTATIONVBGR 0x0002
>> +#define FE_FONTSMOOTHINGORIENTATIONVRGB 0x0003
>
> These don't seem to exist in the PSDK. Where do they come from?

I doubled check my assumption that those are wine-specific #defines.
This is obviously false (I should have guessed that from the .h
file-name). Assuming this would be wine specific, I invented the two
additional defines. Sorry, discard the patch.

Would it be ok to add some override to Software\\Wine\\Fonts*? I'm
using a rotated monitor and at least in Wine I would like to have
properly rendered fonts.
-- 
Fruhwirth Clemens http://clemens.endorphin.org



More information about the wine-devel mailing list