diff --git a/samples/html/printing/printing.cpp b/samples/html/printing/printing.cpp index 7d3f11bf00..cbe2300ec3 100644 --- a/samples/html/printing/printing.cpp +++ b/samples/html/printing/printing.cpp @@ -204,6 +204,9 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size) m_Prn = new wxHtmlEasyPrinting(_("Easy Printing Demo"), this); m_Prn -> SetHeader(m_Name + wxT("(@PAGENUM@/@PAGESCNT@)
"), wxPAGE_ALL); + // To specify where the AFM files are kept on Unix, + // you may wish to do something like this + // m_Prn->GetPrintData()->SetFontMetricPath(wxT("/home/julians/afm")); } // frame destructor