Re: [gtk-list] pango on MAC OS X



Thank you very much mpsuzuki! That was the perfect hint that put me on the right track to fixing the native port issue.

The problem was my pangorc file. I went with the example from Gimp.app - and write a series of scrips to handle a full gtk-mac os x bundled lib with my software [ I like click-n-go ]. But there was one small line missing from my pangorc file:

ModulesPath=

in pangorc. I just added that and it's working wonderfully now ( without X11 and without any server-wide gtk installed! )

Thank you once more =) I'll distro this software with native gtk to see what kind of feedback I get.

Calvin

On 8/20/06, mpsuzuki hiroshima-u ac jp <mpsuzuki hiroshima-u ac jp > wrote:
Hi,

On Sun, 20 Aug 2006 13:32:29 -0400
"Calvin Ellis" < kyndig gmail com> wrote:
>That is exactly correct. I was able to get it working, but only with the
>full gtk env. I tried packaging the software up, and got the same problem.
>There are no fonts, only square boxes like what your image shows.

I see. My screenshot gtk-demo-atsui.gif ("square boxes" case) is
taken under following conditions:

1. cairo is configured as ATSUI as font/text backend

2. pango is configured to use cairo as font backend

3. pango module configuration file at

        ${pango_install_prefix}/etc/pango/pango.modules

   does not exist, or exists but lacks a line to call
   Pango-ATSUI modules like this:

        /kiyomizu/gtk210/lib/pango/1.5.0/modules/pango-basic-atsui.so \
        BasicScriptEngineATSUI \
        PangoEngineShape \
        PangoRenderATSUI \
        armenian:* bopomofo:* cherokee:* coptic:* ...

Please execute "pango-querymodules" and check if its output
includes pango-basic-atsui.so. If it includes, and your
existing pango.modules does not include, please update
your pango.modules as:

        pango-querymodules > ${pango_install_prefix}/etc/pango/pango.modules

However, I'm not sure about: pango.modules itself should be
included in the software package, or the install executes
pango-querymodules during installation procedure.


Regards,
mpsuzuki

P.S.
Yet I could not make other pango modules working under ATSUI
configuration: I cannot render Arabic, Indic, and CJK scripts
at all.



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