From: Václav Slavík Date: Tue, 5 Oct 1999 22:56:29 +0000 (+0000) Subject: PS printing now uses afm instead of gs_afm metrics X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/704d25e2a36e28cab1faed9314d56d797d280a06 PS printing now uses afm instead of gs_afm metrics git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/dcpsg.cpp b/src/generic/dcpsg.cpp index a1744bfbeb..f24a621b05 100644 --- a/src/generic/dcpsg.cpp +++ b/src/generic/dcpsg.cpp @@ -1839,7 +1839,7 @@ void wxPostScriptDC::GetTextExtent( const wxString& string, long *x, long *y, #ifdef __UNIX__ if (afmFile==NULL) { - strcpy( afmName, "/usr/local/share/wx/gs_afm/" ); + strcpy( afmName, "/usr/local/share/wx/afm/" ); strcat(afmName,name); strcat(afmName,".afm"); afmFile = fopen(afmName,"r"); @@ -1847,7 +1847,7 @@ void wxPostScriptDC::GetTextExtent( const wxString& string, long *x, long *y, if (afmFile==NULL) { - strcpy( afmName, "/usr/share/wx/gs_afm/" ); + strcpy( afmName, "/usr/share/wx/afm/" ); strcat(afmName,name); strcat(afmName,".afm"); afmFile = fopen(afmName,"r");