[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 14:10:13 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 cmbarton):
OK. That means we need to use the font names in the manual or find a
Python command that will reveal the names of any installed PS fonts.
The code that is breaking here is trying to use the PS font name as a
TrueType font to estimate the size of the text box for placement in the
graphical page representation. This won't work. It only seemed to work
because of the fact that some TrueType fonts and some PS fonts have the
same name.
So we need a different way to estimate the size of the text box.
Michael
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1441#comment:4>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list