Re: gtk3 (GtkTextView) and MacOS

2015-02-25 Thread Jim Charlton
I had a similar problem with gtk3 and gtkmm3 programs on MacOS X (Yosemite) and Linux (Ubuntu). I am using jhbuild to install the gtk/gtkmm libraries on the Mac. The UI looks fine on Linux but not so good on the Mac. The problem appears to be the "theme". On linux (Ubuntu), using libgtkmm-3

Re: gtk3 (GtkTextView) and MacOS

2015-02-25 Thread Roger Davis
Thanks, Jim, your hint on setting XDG_CONFIG_HOME led me to a bunch of other useful info on the web that I have been slogging through all morning now. I have had some success but am still far from the finish line. On my Mac, if I set XDG_CONFIG_HOME to /opt/local/share/themes/HighContrast, w

Re: gtk3 (GtkTextView) and MacOS

2015-02-25 Thread Allin Cottrell
On Wed, 25 Feb 2015, Roger Davis wrote: Thanks, Jim, your hint on setting XDG_CONFIG_HOME led me to a bunch of other useful info on the web that I have been slogging through all morning now. I have had some success but am still far from the finish line. On my Mac, if I set XDG_CONFIG_HOME to

Re: gtk3 (GtkTextView) and MacOS

2015-02-25 Thread Jim Charlton
Roger: I don't know if it will help or not... but I have used Gtk::TextView, the gtkmm wrapper for GtkTextView and have changed the fonts with the class method "override_font". For example Gtk::TextView tv1; Pango::FontDescription *pfd = new Pango::FontDescription("Sans 8"); tv1.override_fon

Re: gtk3 (GtkTextView) and MacOS

2015-02-25 Thread Daniel Kasak
Sorry to wander slightly away from the original topic, but I'm also building gtk3 for OSX using jhbuild, and I've found a bunch of issues with themes and icons and fonts, as per the above discussion. I'm wondering where the 'responsibility' of setting up a nice vanilla configuration lies? Would thi

Re: gtk3 (GtkTextView) and MacOS

2015-02-25 Thread Roger Davis
Wow, here's a shocker, to my own stupid self at least -- it appears that gtk3 is tied into the native MacOS font system! Thanks for the tip on fontconfig/fc-cache, Allin. Once I looked into this it became apparent that fontconfig had known all along about all kinds of fonts, but none of the

Re: gtk3 (GtkTextView) and MacOS

2015-02-25 Thread Roger Davis
Hi all, So I finally have my problem fully solved for now, and here is a summary of the pertinent points. Beware that some of this may only apply to the MacPorts install of gtk3, I have no experience with any other type of gtk3 install on MacOS. (1) I had to set my XDG_CONFIG_HOME environme