Opened 6 years ago

Closed 6 years ago

#2391 closed defect (fixed)

font setting for map display broken on Mac

Reported by: cmbarton Owned by: grass-dev@…
Priority: major Milestone: 7.0.0
Component: wxGUI Version: unspecified
Keywords: font Cc:
CPU: OSX/Intel Platform: All

Description

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.

Change History (4)

comment:1 Changed 6 years ago by annakrat

Keywords: font added
Platform: MacOSXAll

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.

comment:2 Changed 6 years ago 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

comment:3 in reply to:  2 Changed 6 years ago by annakrat

Replying to 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.

comment:4 in reply to:  1 Changed 6 years ago by annakrat

Resolution: fixed
Status: newclosed

Replying to annakrat:

I will backport after testing.

Done in r61677.

Note: See TracTickets for help on using tickets.