weixin_39710951 2020-11-29 11:01 采纳率: 0%
浏览 0

Black squares instead of text in Mac builds

Originally reported on Google Code with ID 1473


Pango libraries fail to load in Mac OSX version of RT resulting in rectangular blocks
showing up in place of text.

What steps will reproduce the problem?
1. Run make-app-bundle to build dmg file
2. Install dmg
3. Run start executable from RawTherapee.app\Contents\MacOs
4. Search for "pango" in Terminal window output
5. Find error message: "Pango-WARNING **: dlopen(/tmp//lib/pango/1.6.0/modules/pango-basic-coretext.so,
2): image not found"

What I've managed to figure out:
1. /tools/osx/make-app-bundle edits the bundled pango.modules file by replacing "/opt/local"
with "" for all listed modules:
   sed -i .bak -e "s/${ESCAPED_MACPORTS_PREFIX}//g" ${ETC}/gtk-2.0/gdk-pixbuf.loaders
${ETC}/gtk-2.0/gtk.immodules ${ETC}/pango/pango.modules
2. The entries in the bundled pango.modules file now look like this:
   /lib/pango/1.6.0/modules/pango-basic-coretext.so
3. /tools/osx/start copies this file to /tmp at runtime:
   cp "${CWD}/etc/pango/pango.modules" /tmp/rawtherapee_pango.modules
4. It seems that pango prefixes the directory of the location of the rawtherapee_pango.modules
file to the modules when trying to load them.

Reported by rizzo.albert on 2012-07-08 11:06:19

该提问来源于开源项目:Beep6581/RawTherapee

  • 写回答

6条回答 默认 最新

  • weixin_39710951 2020-11-29 11:01
    关注
    
    Please think about setting a representative title and appropriated labels please ;)
    
    Since i'm not a Mac user, i can't help on that, but Priority should be High, unless
    it's specific to you machine only.
    
    Not sure that it will help, but here is the only thing i've found on the subject: https://gist.github.com/2217716
    
    

    Reported by natureh.510 on 2012-07-09 12:59:02 - Status changed: Accepted - Labels added: Priority-High, OpSys-OSX - Labels removed: Priority-Low

    评论

报告相同问题?