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);