chart2.check fails in testAxisTitlePositionDOCX

Ilmari Lauhakangas ilmari.lauhakangas at libreoffice.org
Wed Dec 11 13:10:55 UTC 2019


Stephan Bergmann kirjoitti 11.12.2019 klo 14.13:
> On 07/12/2019 18:47, Luke Benes wrote:
> [...]
>> You can make the build complete successfully by:
>> Display Settings -> Scale and Layout -> 100%
> [...]
>> Build log  with Scale = 125%:
>>
>> [build CUT] chart2_export
>> Chart2ImportTest::testAxisTitleRotationXLSX finished in: 536ms
>> D:/core/chart2/qa/extras/chart2import.cxx:1577:Chart2ImportTest::testAxisTitlePositionDOCX 
>>
>> equality assertion failed
>> - Expected: 6378
>> - Actual  : 6571
>>
>> Chart2ImportTest::testTdf122765 finished in: 647ms
>> D:/core/chart2/qa/extras/chart2import.cxx(1577) : error : Assertion
>> Test name: Chart2ImportTest::testAxisTitlePositionDOCX
>> equality assertion failed
>> - Expected: 6378
>> - Actual  : 6571
>>
>> Failures !!!
>> Run: 88   Failure total: 1   Failures: 1   Errors: 0
>>
>>
>> Chart2ExportTest::testAxisTitleRotationXLSX finished in: 560ms
>> D:/core/chart2/qa/extras/chart2export.cxx:2037:Chart2ExportTest::testAxisTitlePositionDOCX 
>>
>> assertion failed
>> - Expression: nY > 0.384407 && nY < 0.384408
>>
>>
>> D:/core/chart2/qa/extras/chart2export.cxx(2037) : error : Assertion
>> Test name: Chart2ExportTest::testAxisTitlePositionDOCX
>> assertion failed
>> - Expression: nY > 0.384407 && nY < 0.384408
>>
>> Failures !!!
>> Run: 110   Failure total: 1   Failures: 1   Errors: 0
>>
>> Error: a unit test failed, please do one of:
>> make CppunitTest_chart2_export
> 
> Same failures of CppunitTest_chart2_import and CppunitTest_chart2_export 
> here, but on an old Windows 8 laptop where I wouldn't even know ho to 
> set a display scale.  (What do you do to reach that "Display Settings -> 
> Scale and Layout", if that's even available on Windows 8.)

It is in Control panel directly under Display. The controls look like 
this: 
http://46c4ts1tskv22sdav81j9c69-wpengine.netdna-ssl.com/wp-content/uploads/sites/2/2013/07/Windows_2D00_8_2D00_DPI_2D00_scaling_2D00_CPL_2D00_crop_5F00_58C2F130.jpg
 From the article: 
https://blogs.windows.com/windowsexperience/2013/07/15/windows-8-1-dpi-scaling-enhancements/

Ilmari


More information about the LibreOffice mailing list