[GRASS-dev] [GRASS GIS] #2391: font setting for map display broken on Mac

#2391: font setting for map display broken on Mac
-----------------------+----------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
     Type: defect | Status: new
Priority: major | Milestone: 7.0.0
Component: wxGUI | Version: unspecified
Keywords: | Platform: MacOSX
      Cpu: OSX/Intel |
-----------------------+----------------------------------------------------
The font setting dialog for map display in preferences does not work on
the Mac. It displays an empty window rather than a list of fonts.

The font setting dialog for command output works fine however. The widget
used for command output fonts should also be used for map display fonts.

This behavior is the same in GRASS 7.0 beta 3 and 7.1.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2391&gt;
GRASS GIS <http://grass.osgeo.org>

#2391: font setting for map display broken on Mac
-----------------------+----------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
     Type: defect | Status: new
Priority: major | Milestone: 7.0.0
Component: wxGUI | Version: unspecified
Keywords: font | Platform: All
      Cpu: OSX/Intel |
-----------------------+----------------------------------------------------
Changes (by annakrat):

  * keywords: => font
  * platform: MacOSX => All

Comment:

I fixed it in r61603. The font dialogs are different intentionally, I
would say. The dialog for the commands uses system dialog because the font
is then used in the GUI. The other dialog takes fonts from d.fontlist and
this font is then used for d.commands. I don't understand how d.fontlist
works but maybe that under certain conditions these lists of fonts may be
different?

I will backport after testing.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2391#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#2391: font setting for map display broken on Mac
-----------------------+----------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
     Type: defect | Status: new
Priority: major | Milestone: 7.0.0
Component: wxGUI | Version: unspecified
Keywords: font | Platform: All
      Cpu: OSX/Intel |
-----------------------+----------------------------------------------------

Comment(by cmbarton):

Thanks Anna. The other reason for the difference is that the wxPython font
dialog was broken on the Mac. Maybe it will be fixed by v. 2.9 or 3.0

Michael

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2391#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#2391: font setting for map display broken on Mac
-----------------------+----------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
     Type: defect | Status: new
Priority: major | Milestone: 7.0.0
Component: wxGUI | Version: unspecified
Keywords: font | Platform: All
      Cpu: OSX/Intel |
-----------------------+----------------------------------------------------

Comment(by annakrat):

Replying to [comment:2 cmbarton]:
> Thanks Anna. The other reason for the difference is that the wxPython
font dialog was broken on the Mac. Maybe it will be fixed by v. 2.9 or 3.0

It doesn't seem to be broken any more.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2391#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#2391: font setting for map display broken on Mac
-----------------------+----------------------------------------------------
  Reporter: cmbarton | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: major | Milestone: 7.0.0
Component: wxGUI | Version: unspecified
Resolution: fixed | Keywords: font
  Platform: All | Cpu: OSX/Intel
-----------------------+----------------------------------------------------
Changes (by annakrat):

  * status: new => closed
  * resolution: => fixed

Comment:

Replying to [comment:1 annakrat]:
> I will backport after testing.

Done in r61677.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2391#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>