summaryrefslogtreecommitdiff
path: root/sw/qa/extras/ooxmlimport
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2017-06-06 16:19:31 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2017-06-06 17:03:56 +0200
commitdd1ba90f6069b41e3f2c301809afefc6f63da710 (patch)
tree831a918c2d5d740bb39e44a42798ca62bb3e66da /sw/qa/extras/ooxmlimport
parent6ca3b3648e25ae9d4d2d29a0df83349198ec3f5e (diff)
tdf#104450: Use Calibri; let LO to fallback to Carlito
Using Calibri will allow to keep originally intended font on round-trip. If Calibri is absent on a system, LO will fallback to Carlito for rendering, but keep original font intact. Change-Id: I8f29bed29bc7f48912b2637053ff128ea904c7a1 Reviewed-on: https://gerrit.libreoffice.org/38456 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sw/qa/extras/ooxmlimport')
-rw-r--r--sw/qa/extras/ooxmlimport/ooxmlimport.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
index 60d74ea7572a..08d292b05196 100644
--- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
+++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
@@ -1289,11 +1289,10 @@ DECLARE_OOXMLIMPORT_TEST(testTdf76446, "tdf76446.docx")
DECLARE_OOXMLIMPORT_TEST(testTdf108350, "tdf108350.docx")
{
- // For OOXML without explicit font information, font needs to be Carlito 11 pt,
- // our bundled metrically compatible substitute for Calibri.
+ // For OOXML without explicit font information, font needs to be Calibri 11 pt
uno::Reference<text::XTextRange> xPara(getParagraph(1));
uno::Reference<beans::XPropertySet> xRun(getRun(xPara, 1), uno::UNO_QUERY);
- CPPUNIT_ASSERT_EQUAL(OUString("Carlito"), getProperty<OUString>(xRun, "CharFontName"));
+ CPPUNIT_ASSERT_EQUAL(OUString("Calibri"), getProperty<OUString>(xRun, "CharFontName"));
CPPUNIT_ASSERT_EQUAL(double(11), getProperty<double>(xRun, "CharHeight"));
}