Re: gtk-quartz status





On Sat, Mar 2, 2013 at 12:08 PM, Allin Cottrell <cottrell wfu edu> wrote:
Hello all,

I recently did a native quartz build of the GTK stack on OS X 10.6.8, using gtk+-2.24.16 along with latest-stable versions of GLib and all other dependencies (including FreeType 2.4.11 and fontconfig 2.10.2).

the current quartz backend doesn't really use freetype or fontconfig. you need them for the build, but CoreText is used instead. i'm not 100% certain about this, but recently when i tried to add an app-specific custom font, i had to use CoreFoundation API to add it - the freetype/fontconfig stuff was not relevant.

First thing, this looks much better than the last time I tried, so congratulations to those who've worked on it. But I'm seeing a couple of anomalies and I wonder if anyone can tell me if these are "expected" or if maybe I'm doing something wrong.

1) The fonts come out tiny by default (e.g. "Sans 10" is much too small). To get an appearance comparable to that of Sans 10 on an X11 build of the same GTK stack I have to set the font size to 13 or 14 point. (Even then, the font setup doesn't look quite right -- with inadequate line-spacing, giving a somewhat squashed-up appearance.)

I don't have this problem here. I build GTK for OS X several times a week on 10.4, 10.5 and 10.7.  I do use slightly different font sizes on OS X and X11, but not that much different: 1 or 2 pt max.

note that 10.6.8 is a really wierd version of OS X for development purposes. i can't recommend it.

2) More important, right-clicking doesn't seem to work at all. This is on a Macbook Air. With an X11 build of GTK I can get right-click either via ctrl-click or two-finger tap on the trackpad. When I switch to gtk-quartz neither of these actions does anything. (Plain "left-click" is fine.)

no issues with clicks here either. my software (bundled with GTK included) is reported as working fine on 10.8 as well.
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]