+void wxHtmlEasyPrinting::SetFonts(wxString normal_face, wxString fixed_face,
+ const int *sizes)
+{
+ m_fontMode = FontMode_Explicit;
+ m_FontFaceNormal = normal_face;
+ m_FontFaceFixed = fixed_face;
+
+ if (sizes)
+ {
+ m_FontsSizes = m_FontsSizesArr;
+ for (int i = 0; i < 7; i++) m_FontsSizes[i] = sizes[i];
+ }
+ else
+ m_FontsSizes = NULL;
+}
+
+void wxHtmlEasyPrinting::SetStandardFonts(int size,
+ const wxString& normal_face,
+ const wxString& fixed_face)
+{
+ m_fontMode = FontMode_Standard;
+ m_FontFaceNormal = normal_face;
+ m_FontFaceFixed = fixed_face;
+ m_FontsSizesArr[0] = size;
+}
+