Add temporary debugging code for HTML pagination test failure

This commit is contained in:
Vadim Zeitlin
2018-06-20 23:34:42 +02:00
parent 905789485a
commit 0393940033
3 changed files with 2 additions and 20 deletions

View File

@@ -33,6 +33,7 @@
#include "wx/wfstream.h"
#include "wx/infobar.h"
#include "wx/crt.h"
// default font size of normal text (HTML font size 0) for printing, in points:
#define DEFAULT_PRINT_FONT_SIZE 12
@@ -159,6 +160,7 @@ int wxHtmlDCRenderer::FindNextPageBreak(int pos) const
wxCHECK_MSG( posNext > pos, wxNOT_FOUND, "Bug in AdjustPagebreak()" );
}
wxPrintf("HTML-DEBUG: Next page break after %d is %d\n", pos, posNext);
return posNext;
}