]> git.saurik.com Git - wxWidgets.git/commitdiff
Added comment about setting AFM path
authorJulian Smart <julian@anthemion.co.uk>
Fri, 8 Oct 2004 14:54:11 +0000 (14:54 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 8 Oct 2004 14:54:11 +0000 (14:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/html/printing/printing.cpp

index 7d3f11bf00da145ed5702ac347279db669b3cea9..cbe2300ec345b5b1bdfcbc77d655d35eb8fbf994 100644 (file)
@@ -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@)<hr>"), 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