Use fixed font name in the HTML pagination test
This commit is contained in:
parent
0393940033
commit
96cca10328
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue