Python bindings and Gtk3
John Ralls
jralls at ceridwen.fremont.ca.us
Wed Aug 9 13:49:23 EDT 2017
> On Aug 9, 2017, at 7:28 AM, Mike Alexander <mta at umich.edu> wrote:
>
>> On Aug 9, 2017, at 12:21 AM, Mike Alexander <mta at umich.edu <mailto:mta at umich.edu>> wrote:
>>
>>> On Aug 8, 2017, at 10:23 AM, John Ralls <jralls at ceridwen.fremont.ca.us <mailto:jralls at ceridwen.fremont.ca.us>> wrote:
>>>
>>> I don't know if the MacPorts X-build uses the CoreText or FontConfig backend for Pango, but if it uses CoreText it might be your problem.
>>
>> I don’t know either. I see that Pango’s configure looks for (and finds) fontconfig, but then says "checking which cairo font backends could be used... quartz freetype”. I suspect it is using fontconfig. I am using a Retina display, but the text in the tabs seems like it’s normal size. There is a lot of blank space around the text that makes the tab bigger. In fact the text itself is smaller in the Gtk3 version. Here are a couple of screenshots.
>
>
> I guess attachments aren’t allowed, I should have known. The screenshots are at
>
> https://www.dropbox.com/s/9ge32ydfc95fum8/Gtk2%20tabs.png?dl=0 <https://www.dropbox.com/s/9ge32ydfc95fum8/Gtk2%20tabs.png?dl=0> (Gtk2)
> and
> https://www.dropbox.com/s/c650pqyjbyl1zvn/Gtk3%20tabs.png?dl=0 <https://www.dropbox.com/s/c650pqyjbyl1zvn/Gtk3%20tabs.png?dl=0> (Gtk3)
Hmm, looks like both whitespace and font are larger. What version of Gtk+-3?
You can try fiddling with the tab-label styling in ~/.config/gtk-3.0/gtk.css. There's some guidance in https://developer.gnome.org/gtk3/unstable/theming.html <https://developer.gnome.org/gtk3/unstable/theming.html>.
Regards,
John Ralls
More information about the gnucash-devel
mailing list