[GRASS-dev] Re: [GRASS GIS] #1441: Hard Copy Map Utility (wxPython
wrapper for ps.map) text overlay is broken
GRASS GIS
trac at osgeo.org
Wed Sep 7 03:57:06 EDT 2011
#1441: Hard Copy Map Utility (wxPython wrapper for ps.map) text overlay is broken
-------------------------------------------+--------------------------------
Reporter: cmbarton | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.2
Component: wxGUI | Version: svn-trunk
Keywords: hard copy map utility, ps.map | Platform: Unspecified
Cpu: Unspecified |
-------------------------------------------+--------------------------------
Comment(by hamish):
Replying to [comment:2 cmbarton]:
> ps.map seems to use special font names like "Times-Roman" that are
perfectly
> understandable but which do not match the relevant font name in
wxPython.
> These are listed in the ps.map manual and hard coded into psmap.py.
AFAIU these are hardcoded in your printer / the PostScript definition,
which is why they differ from whatever fonts are installed in your system.
The two sets are completely independent, any overlap in names is just
coincidental.
ps.map man page:
{{{
font font name
The name of the PostScript font. Fonts present in all Post-
Script implementations are: ...
}}}
depending on your make/model of postscript printer you may have access to
more options...
embedding a truetype font from the OS into a PDF is another matter, I'm
not sure if that is possible given our ps2pdf distilling method.
Hamish
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1441#comment:3>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list