diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-03-24 12:55:22 +0100 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-04-04 16:07:45 +0000 |
commit | 6f995da5a652d993ab253b3363188cd18e289728 (patch) | |
tree | 5a2ea8beb039a4b6693641268b63eafa5718f32a /fpicker/source/win32 | |
parent | 2aa43937ec9c9e22d9b28f4275a5bfb3ffbd82c0 (diff) |
Workaround VCL complextext failure on Win7 KVM QXL
My Windows 7 KVM QXL VM fails the bounding rect test with:
complextext.cxx:98 VclComplexTextTest::testArabic equality .. failed
- Expected: 71x14@(0,1)
- Actual : 70x14@(1,1)
This doesn't happen using a SSHd on Cygwin64 based session.
Adding a SAL_DEBUG to WinSalGraphics::GetGlyphBoundRect shows many
different glyph rects, which - probably by pure chance - almost add
up to just a single pixel line missing on the left.
So this simply drops the first pixel column, if the bounding rect
starts with an offset. Works for me.
Change-Id: Ia496a208523a9c358d4128ecad887b5c77283fbc
Reviewed-on: https://gerrit.libreoffice.org/35647
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'fpicker/source/win32')
0 files changed, 0 insertions, 0 deletions