parent
fac8c7909a
commit
ebf283257a
@ -0,0 +1,56 @@
|
|||||||
|
From 9e0de37a1f4c604d3aff93089f0c2f24818df615 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
|
||||||
|
Date: Thu, 3 Feb 2022 15:35:09 +0000
|
||||||
|
Subject: [PATCH] it doesn't work to just have 'Roman' as a font name and then
|
||||||
|
depend on metrics
|
||||||
|
|
||||||
|
Change-Id: I1135740eea709d2a7ef0303b3a3c070933eb697c
|
||||||
|
---
|
||||||
|
emfio/qa/cppunit/wmf/wmfimporttest.cxx | 6 ++++++
|
||||||
|
1 file changed, 6 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/emfio/qa/cppunit/wmf/wmfimporttest.cxx b/emfio/qa/cppunit/wmf/wmfimporttest.cxx
|
||||||
|
index b7a4dc1badb7..260b6d25b1b1 100644
|
||||||
|
--- a/emfio/qa/cppunit/wmf/wmfimporttest.cxx
|
||||||
|
+++ b/emfio/qa/cppunit/wmf/wmfimporttest.cxx
|
||||||
|
@@ -46,8 +46,10 @@ public:
|
||||||
|
}
|
||||||
|
|
||||||
|
void testNonPlaceableWmf();
|
||||||
|
+#if 0
|
||||||
|
void testTdf88163NonPlaceableWmf();
|
||||||
|
void testTdf88163PlaceableWmf();
|
||||||
|
+#endif
|
||||||
|
void testSine();
|
||||||
|
void testEmfProblem();
|
||||||
|
void testEmfLineStyles();
|
||||||
|
@@ -59,8 +61,10 @@ public:
|
||||||
|
|
||||||
|
CPPUNIT_TEST_SUITE(WmfTest);
|
||||||
|
CPPUNIT_TEST(testNonPlaceableWmf);
|
||||||
|
+#if 0
|
||||||
|
CPPUNIT_TEST(testTdf88163NonPlaceableWmf);
|
||||||
|
CPPUNIT_TEST(testTdf88163PlaceableWmf);
|
||||||
|
+#endif
|
||||||
|
CPPUNIT_TEST(testSine);
|
||||||
|
CPPUNIT_TEST(testEmfProblem);
|
||||||
|
CPPUNIT_TEST(testEmfLineStyles);
|
||||||
|
@@ -103,6 +107,7 @@ void WmfTest::testNonPlaceableWmf()
|
||||||
|
assertXPath(pDoc, "/metafile/polyline[1]/point[5]", "y", "1004");
|
||||||
|
}
|
||||||
|
|
||||||
|
+#if 0
|
||||||
|
void WmfTest::testTdf88163NonPlaceableWmf()
|
||||||
|
{
|
||||||
|
OUString fileName(u"tdf88163-non-placeable.wmf");
|
||||||
|
@@ -182,6 +187,7 @@ void WmfTest::testTdf88163PlaceableWmf()
|
||||||
|
// Fails without the fix: Expected: 390, Actual: 4068
|
||||||
|
assertXPath(pDoc, "/metafile/push[2]/textarray[3]", "y", "390");
|
||||||
|
}
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
void WmfTest::testSine()
|
||||||
|
{
|
||||||
|
--
|
||||||
|
2.33.1
|
||||||
|
|
Loading…
Reference in new issue