Opened 10 years ago

Closed 10 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 by annakrat, 10 years ago

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 by cmbarton, 10 years ago

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

in reply to:  2 comment:3 by annakrat, 10 years ago

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.

in reply to:  1 comment:4 by annakrat, 10 years ago

Resolution: fixed
Status: newclosed

Replying to annakrat:

I will backport after testing.

Done in r61677.

Note: See TracTickets for help on using tickets.