From d66699e2d94da87349cf6f01e4e06bf5b2bdce72 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Fri, 8 Oct 2004 14:54:11 +0000 Subject: [PATCH] Added comment about setting AFM path git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/html/printing/printing.cpp | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.50.0