add vcl unittests for basic text rendering

Desktop / LibreOffice - Luboš Luňák [collabora.com] - 24 May 2021 09:01 UTC

These just check rendering of one character (normal or vertical) both in horizontal or vertical orientation, and with scaled width. It'd make sense to add more tests, apparently we almost do not have unittests for text rendering.

Change-Id: I279314f0e946731dd38261ea030ea42be9fad572 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115621

ae38f1dff768 add vcl unittests for basic text rendering
..._vcl_complextext.mk => CppunitTest_vcl_text.mk} | 23 +-
vcl/Module_vcl.mk | 2 +-
vcl/qa/cppunit/complextext.cxx | 2 -
vcl/qa/cppunit/text.cxx | 378 +++++++++++++++++++++
4 files changed, 391 insertions(+), 14 deletions(-)

Upstream: cgit.freedesktop.org


  • Share