Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#13744 closed defect (fixed)

gtk2 2.12.2_0+quartz: No text displayed

Reported by: schwandter@… Owned by: nox@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: gtk quartz Cc:
Port:

Description (last modified by jmpp@…)

Hi! When running gtk-demo (or pan, but I suspect that will affect all gt-apps), the app window appears, yet there is no text in the window except the window title.

There are the following messages on the console:

Sat Dec 29 12:39:40 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context
Sat Dec 29 12:39:41 chello080108124201.12.11.tuwien.teleweb.at gtk-demo[80162] <Error>: CGBitmapContextGetBitsPerPixel: invalid context

Change History (6)

comment:1 Changed 16 years ago by jmpp@…

Description: modified (diff)

comment:2 Changed 16 years ago by lars@…

I can confirm this bug. Same issue here. Tried with Gimp, Inkscape and gtk-theme-switcher. My environment is Leopard, X11 installed, following ports are installed:

Xft2 @2.1.12_0 (active) aalib @1.4rc5_2 (active) apr @1.2.11_0+darwin_9 apr @1.2.12_0+darwin_9 (active) atk @1.20.0_1 (active) audiofile @0.2.6_1 (active) autoconf @2.61_1 (active) automake @1.10_0 (active) avahi @0.6.17_2 (active) bash-completion @20060301_0 (active) bison @2.3_1 boehmgc @7.0_0+darwin_9 (active) bzip2 @1.0.4_1 (active) bzr @1.0_0 (active) cairo @1.4.12_0 cairo @1.4.12_0+atsui+no_x11+quartz (active) cairo @1.4.12_0+quartz cairomm @1.2.4_0 (active) cmake @2.4.7_0 (active) coreutils @6.9_1+darwin_9 (active) curl @7.17.1_0 (active) db44 @4.4.20_1 (active) dbus @1.0.2_2 (active) dbus-glib @0.74_0 (active) dbus-python25 @0.82.2_0 (active) docbook-xml @4.5_1 (active) docbook-xml-4.1.2 @4.1.2_1 (active) docbook-xml-4.2 @4.2_0 (active) docbook-xml-4.3 @4.3_0 (active) docbook-xml-4.4 @4.4_0 (active) docbook-xml-4.5 @4.5_0 (active) docbook-xsl @1.72.0_0 (active) esound @0.2.38_1 (active) exiv2 @0.14_0 (active) expat @2.0.1_0 (active) fontconfig @2.5.0_0+macosx (active) freetype @2.3.5_1 (active) fribidi @0.10.7_0 (active) gail @1.20.1_1+quartz (active) gconf @2.20.1_0 (active) gdbm @1.8.3_1 (active) getopt @1.1.4_1 (active) gettext @0.17_2 (active) gimp @2.4_3+macosx (active) gimp-app @2.4.0_0+quartz (active) gimp-jp2 @0.1_0 (active) gimp-lqr-plugin @0.3.0-6_0 (active) gimp-user-manual @0.13_0+fetch (active) gimp2 @2.4.2_0+no_python (active) glib2 @2.14.4_1+darwin_9 (active) glibmm @2.14.0_0 (active) gnome-doc-utils @0.12.0_3 (active) gnome-icon-theme @2.20.0_1 (active) gnome-keyring @2.20.1_0 (active) gnome-mime-data @2.18.0_3 (active) gnome-vfs @2.20.0_1 (active) gtk-doc @1.9_0 (active) gtk-nodoka-engine @0.6_0 (active) gtk-theme-switch @2.0.4_1 (active) gtk2 @2.12.2_0+quartz (active) gtkmm @2.12.0_0 (active) gutenprint @5.0.1_1 (active) gwenhywfar @2.5.3_0 (active) help2man @1.36.4_1 (active) howl @1.0.0_0 (active) icns-gimp @0.1_0 (active) icon-naming-utils @0.8.6_0 (active) inkscape @0.45.1_0 (active) intltool @0.36.2_0 (active) iso-codes @1.6_0 (active) jpeg @6b_2 (active) ktoblzcheck @1.13_0 (active) lcms @1.16_0 (active) libart_lgpl @2.3.19_2 (active) libbonobo @2.20.1_2 (active) libbonoboui @2.20.0_1 (active) libcroco @0.6.1_1 (active) libdaemon @0.12_0 (active) libexif @0.6.16_1 (active) libgcrypt @1.2.4_1 (active) libglade2 @2.6.2_0 (active) libgnome @2.20.1.1_1 (active) libgnomecanvas @2.20.1.1_0 (active) libgnomecups @0.2.2_1 (active) libgnomeprint @2.18.2_0 (active) libgnomeprintui @2.18.1_0 (active) libgnomeui @2.20.1.1_0 (active) libgpg-error @1.6_0 (active) libgsf @1.14.7_0 (active) libgtkhtml @2.11.1_0 (active) libiconv @1.11_6 libiconv @1.12_0 (active) libidl @0.8.9_0 (active) libmng @1.0.9_0 (active) libpng @1.2.24_0 (active) librsvg @2.18.2_1 (active) libsigcxx2 @2.0.18_0 (active) libtool @1.5.24_1 (active) libusb @0.1.12_1 (active) libwmf @0.2.8.4_0 (active) libxml2 @2.6.30_0 (active) libxslt @1.1.22_0 (active) m4 @1.4.10_1 (active) macclipboard-gimp @0.7_0 (active) macfile-gimp @0.1_0 (active) maven2 @2.0.7_0 (active) ncurses @5.6_0 (active) ncursesw @5.6_0 (active) neon @0.26.4_0 (active) openjpeg @1.2_3 (active) openssl @0.9.8g_0 (active) orbit2 @2.14.10_2+darwin_9 (active) p5-getopt-long @2.37_0 (active) p5-locale-gettext @1.05_0 (active) p5-pathtools @3.25_0 (active) p5-test-harness @2.64_1 (active) p5-test-simple @0.72_0 (active) p5-xml-namespacesupport @1.09_0 (active) p5-xml-parser @2.36_0 (active) p5-xml-sax @0.16_1 (active) p5-xml-simple @2.18_0 (active) pango @1.18.3_0 pango @1.18.3_0+no_x11 (active) perl5.8 @5.8.8_0 (active) pkgconfig @0.22_0 (active) poppler @0.6.3_0+quartz (active) poppler-data @0.2.0_0 (active) popt @1.12_0 (active) proxytunnel @1.7.2_0 (active) py25-bz2 @2.5.1_0 (active) py25-cairo @1.4.0_1 py25-cairo @1.4.12_1+darwin_9 (active) py25-crypto @2.0.1_0 (active) py25-gdbm @2.5.1_0 (active) py25-gobject @2.14.0_1+darwin_9 (active) py25-gtk @2.12.0_1+darwin_9 (active) py25-hashlib @2.5.1_0 (active) py25-libxml2 @2.6.21_1 (active) py25-numeric @24.2_1+macosx (active) py25-paramiko @1.7.1_0 (active) py25-xml @0.8.4_0 (active) py25-zlib @2.5.1_0 (active) python25 @2.5.1_4+darwin_9 (active) render @0.9_1 (active) sane-backends @1.0.18_1 (active) scrollkeeper @0.3.14_6 (active) startup-notification @0.8_0 (active) tiff @3.8.2_1+macosx (active) ufraw @0.13_0 (active) xmlcatmgr @2.2_1 (active) xmlto @0.0.18_3 (active) xorg-util-macros @1.1.5_0 (active) xorg-xproto @7.0.11_1 (active) xrender @0.9.0_2 (active) xsane @0.994_0 (active) zlib @1.2.3_1 (active)

The problem looks like this (in GIMP) http://gimp.lisanet.de/gimp_on_leo.jpg

comment:3 Changed 16 years ago by lars@…

Here is another pointer: http://www.wilber-loves-apple.org/topic.php?id=135&replies=7#post-1283

there is currently some missmatch in some of MacPorts' Portfiles. As far as I remember when last building gimp-quarzt, the pango port has still X11 support compiled in. So pango (which is responsible for drawin fonts in gtk) wants to use X11 fontconfig, wich will fail, since there is no further X11 support anymore (since we've requested +quartz). I solved this by altering some Portfiles. (AFAIR pango, cairo, fontconfig and maybe some other).

comment:4 Changed 16 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to nox@…

Assigning to maintainer.

comment:5 Changed 16 years ago by nox@…

Resolution: fixed
Status: newclosed

This has been fixed some time ago

comment:6 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.