From 96cca103281f6e2615877df0e48ed959b63499b7 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 21 Jun 2018 01:39:04 +0200 Subject: [PATCH] Use fixed font name in the HTML pagination test --- tests/html/htmprint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/html/htmprint.cpp b/tests/html/htmprint.cpp index 9d805f4862..3ee81ca1d6 100644 --- a/tests/html/htmprint.cpp +++ b/tests/html/htmprint.cpp @@ -66,7 +66,7 @@ TEST_CASE("wxHtmlPrintout::Pagination", "[html][print]") // in the page-break-inside:avoid test to take the same amount of pixels // for any DPI (12 being the font size used by wxHtmlDCRenderer by default). const int adjFontSize = 12*wxTheApp->GetTopWindow()->GetContentScaleFactor(); - pr.SetStandardFonts(adjFontSize); + pr.SetStandardFonts(adjFontSize, "Helvetica"); wxBitmap bmp(1000, 1000); wxMemoryDC dc(bmp);