diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2021-08-18 18:34:56 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2021-08-23 15:01:00 +0200 |
commit | 07eab10f5795d7cd58620f0ce1dcf04f6f713c5a (patch) | |
tree | 519fa90f0d27b125611b79a3c0f31599c2e40034 | |
parent | ab9c627bc8f16dd679a19b0946863cebab7b03bc (diff) |
disable vertical text test for Mac/Skia
It's broken on Mac, with or without Skia, so disable the test at least
for now.
Change-Id: I93b9a8d0bcbd275bbb0d54cc412b2df13581ad41
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120812
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
-rw-r--r-- | vcl/qa/cppunit/text.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/vcl/qa/cppunit/text.cxx b/vcl/qa/cppunit/text.cxx index b50feb0fe5a0..19e5da942932 100644 --- a/vcl/qa/cppunit/text.cxx +++ b/vcl/qa/cppunit/text.cxx @@ -253,6 +253,9 @@ void VclTextTest::testVerticalText() || device->GetGraphics()->getRenderBackendName() == "gtk3svp" || device->GetGraphics()->getRenderBackendName() == "aqua" || device->GetGraphics()->getRenderBackendName() == "gen" +#ifdef MACOSX // vertical fonts are broken on Mac with or without Skia + || device->GetGraphics()->getRenderBackendName() == "skia" +#endif || device->GetGraphics()->getRenderBackendName() == "genpsp") return; @@ -260,8 +263,9 @@ void VclTextTest::testVerticalText() vcl::Font baseFont; vcl::Font font; bool fontFound = false; - for (const char* ptrfontName : { "Droid Sans Japanese", "Baekmuk Gulim", "Microsoft JhengHei", - "Microsoft YaHei", "MS PGothic" }) + for (const char* ptrfontName : + { "Droid Sans Japanese", "Baekmuk Gulim", "Microsoft JhengHei", "Microsoft YaHei", + "MS PGothic", "Hiragino Sans", "Arial Unicode MS" }) { OUString fontName = OUString::fromUtf8(ptrfontName); if (!device->IsFontAvailable(fontName)) |