#17742: cairo 1.8.x - no japanese, chinese or other asian fonts are displayed with X11 variant -----------------------------------+---------------------------------------- Reporter: skl@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: cairo gtk asian fonts | Port: cairo -----------------------------------+---------------------------------------- I'm providing pre-build packages of GIMP on "GIMP on OS X", using MacPorts as a basis. Many users have encontered problems with asian fonts (like traditional chinese) not displaying in menu entries. For more details please see these threads http://gimper.net/viewtopic.php?f=18&t=3625 http://sourceforge.net/forum/forum.php?thread_id=2628533&forum_id=761056 I've tracked this issue down to cairo. The Portfile enables the various quartz configure options if cairo is build with x11 support. This will make pango use the ATSUI font backend and this will lead to asian fonts not being diplayed at all. As far as I know it's not necessary to use the quartz backends in cairo / ATSUI module in pango if both are build with X11 support. After disabling the quartz configure options (--enable-quartz --enable- quartz-font --enable-quartz-image) in platfom macosx{} and rebuilding cairo, pango, gtk and GIMP, everything worked as expected and the chinese fonts showed up. This bug can be reproduced by launching some gtk application from Terminal.app and setting an asian localization first, e.g. {{{ export LANG=zh_CN.UTF-8 /path/to/your/gtk-x11-application-startup }}} A sample Portfile is attached. -- Ticket URL: <http://trac.macports.org/ticket/17742> MacPorts <http://www.macports.org/> Ports system for Mac OS