Added comment about setting AFM path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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 = new wxHtmlEasyPrinting(_("Easy Printing Demo"), this);
|
||||||
m_Prn -> SetHeader(m_Name + wxT("(@PAGENUM@/@PAGESCNT@)<hr>"), wxPAGE_ALL);
|
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
|
// frame destructor
|
||||||
|
Reference in New Issue
Block a user