Date: prev next · Thread: first prev next last
2017 Archives by date, by thread · List index


On Fri, Mar 24, 2017 at 11:29:52AM +0100, Jan-Marek Glogowski wrote:
Hi everyone,

when running

$ /opt/lo/bin/make-4.2.1-msvc -C vcl CppunitTest_vcl_complextext

on Windows 7, KVM QXL GUI via Spice I get the following failures:
[…] 
All height values are the same, just the width and x-offsets change.

Hmm, might be related to Windows font rendering settings, AFAIK Windows
disables anti-aliasing for rdesktop (and I guess this what Spice uses)
and different font rendering strategy can result in different glyph
widths. Only bounding box is affected since we still use Windows API
for it (unlike glyph widths for layout).

From the documentation, the provided matrix to the function is the
identity matrix, which just leaves some room for different HDC.

AFAIK HDC is driver dependent (whatever driver is used for SSH) and so
I'm not sure this is fixable at all.

So I propose disabling it also on Windows.

I suppose we have no way to change the font settings during the testing,
so disabling this part of the test would be the simplest. Alternatively
we can add some tolerance to the test (a pixel or two?) but no idea how.

Regards,
Khaled

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.