[PATCH 1/3] dibdrv: Refactoring the gray text rendering intensities control code.

Byeongsik Jeon bsjeon at hanmail.net
Fri Oct 12 02:47:49 CDT 2018


On Fri, 12 Oct 2018 08:15:40 +0100, Huw Davies <huw at codeweavers.com> wrote:
> 
> The ramp values were deliberately kept out of primitive.c as these are
> parameters rather than the implemention.  The numbers in the ramp
> table come from comparing with the native values.
> 
> Huw.
> 
> PS, for dibdrv patches, please prefix the commit log with "gdi32:".
> 
> 
OK.

> On Fri, 12 Oct 2018 16:20:24 +0900, Byeongsik Jeon <bsjeon at hanmail.net> wrote:> Sorry.
>> 
>> Please cancel this patch 1,3.
>> 
>> This patch will be rewritten in the process of creating another
>> additional patch. This patch is moving code incorrectly.
>> But I would appreciate it if you could point out whether the idea of
>> ​​the code strip is correct.
>> 
>> I'm creating a subpixel intensities adjustment patch related
>> SPI_SETFONTSMOOTHINGCONTRAST.
>> 

Please comment for the SPI_SETFONTSMOOTHINGCONTRAST. I'm going to use
the following formula to implement this.

gamma_encode( blend_color( gamma_decode(dst),
                           gamma_decode(text),
                           alpha );

This gamma is a different meaning from the display gamma. This is close
to the contrast. Only the formula uses the gamma correction pattern.




More information about the wine-devel mailing list