Re: Failure in VclTextTest::testSimpleText due to antialiasing (Linux)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday 04 of December 2021, Ilmari Lauhakangas wrote:
> A mentee is running into a test failure on Ubuntu 21.10 (output below).
> The image produced by the test has a coloured fringe. Luboš commented on
> it:
>
> "Colors in AA mean that's AA for LCD.
> There's special code to handle that, I suppose the test should
> temporarily disable that for the text rendering."
>
> How can we achieve this?

 There's VCL's AntialiasingFlags::DisableText and the related OutputDevice 
method to set it. If that alone doesn't work, then I guess you'd need to 
debug why the setting is not followed when rendering text (that would be 
generally the DrawTextLayout() function of the relevant VCL backend).

-- 
 Luboš Luňák
 l.lunak@xxxxxxxxxxxxx



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux