From f9950994914c0d605260e6f5bbc0e21bcab94826 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Thu, 3 Feb 2022 16:05:48 +0000 Subject: [PATCH] the real font used for 'Roman' is arbitrary MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit the font name isn't a typical semi-standard one so it neither exists nor has a standard fallback. binary-hack "Roman" to "Arial" which is conveniently the same length and does have a standard fallback of "Liberation Sans" which we can add a dependency on via more_fonts Change-Id: I1d9b8294f67a00a1e5cabe38b71467e66b83aedf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129454 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- emfio/CppunitTest_emfio_emf.mk | 2 ++ emfio/CppunitTest_emfio_wmf.mk | 1 + .../wmf/data/tdf88163-non-placeable.wmf | Bin 1268 -> 1268 bytes .../wmf/data/tdf88163-wrong-font-size.wmf | Bin 1290 -> 1290 bytes emfio/qa/cppunit/wmf/wmfimporttest.cxx | 13 +++---------- 5 files changed, 6 insertions(+), 10 deletions(-) diff --git a/emfio/CppunitTest_emfio_emf.mk b/emfio/CppunitTest_emfio_emf.mk index e8e90d7dddd4..38a1c98250f7 100644 --- a/emfio/CppunitTest_emfio_emf.mk +++ b/emfio/CppunitTest_emfio_emf.mk @@ -41,6 +41,8 @@ $(eval $(call gb_CppunitTest_use_vcl,emfio_emf)) $(eval $(call gb_CppunitTest_use_rdb,emfio_emf,services)) +$(eval $(call gb_CppunitTest_use_more_fonts,emfio_emf)) + $(eval $(call gb_CppunitTest_use_configuration,emfio_emf)) # vim: set noet sw=4 ts=4: diff --git a/emfio/CppunitTest_emfio_wmf.mk b/emfio/CppunitTest_emfio_wmf.mk index a127bdb0af1f..8ab4a9064dba 100644 --- a/emfio/CppunitTest_emfio_wmf.mk +++ b/emfio/CppunitTest_emfio_wmf.mk @@ -32,6 +32,7 @@ $(eval $(call gb_CppunitTest_use_libraries,emfio_wmf,\ vcl \ )) +$(eval $(call gb_CppunitTest_use_more_fonts,emfio_wmf)) $(eval $(call gb_CppunitTest_use_configuration,emfio_wmf)) $(eval $(call gb_CppunitTest_use_sdk_api,emfio_wmf)) $(eval $(call gb_CppunitTest_use_ure,emfio_wmf)) diff --git a/emfio/qa/cppunit/wmf/data/tdf88163-non-placeable.wmf b/emfio/qa/cppunit/wmf/data/tdf88163-non-placeable.wmf index b39514bd1b5cefc721175680ddca05cfe2341c15..6d27691f0d2d9dbf9936996b077f1ec64e255d83 100644 GIT binary patch delta 16 Xcmeyu`Gs?W7OP`XW@64p{i7@ZI9&!z delta 16 Xcmeyu`Gs?W7Hd#`Zerd>{i7@ZIRpk^ diff --git a/emfio/qa/cppunit/wmf/data/tdf88163-wrong-font-size.wmf b/emfio/qa/cppunit/wmf/data/tdf88163-wrong-font-size.wmf index edcab8aea63552e27ee3b75a0bf7bff74b3966f5..4902ba18d16bb567cb58c93c7a4167311cf05b19 100644 GIT binary patch delta 16 XcmeC;>f)Nf)N