Re: Thai script in Pango



Hi Owen, Robert,

Finally, I can manage to get Thai pango engine loaded.
I didn't debug what the exact problem is.
Here is what I did.

In .../etc/pango/pango.modules,

Thai unicode range, 3585-3675, is also included in "pango-basic.so" and
that's why Pango doesn't load pango-thai.so so I move "pango-thai.so"
before "pango-basic.so".

Tomorrow, I'll check if the testtext program is still able to show Thai UTF-8
text. I believe that I still have something to do with tis620.2533-0 for
both font and (may be) iconv conversion before I can see Thai....

Chookij V.


] Date: Tue, 10 Oct 2000 14:43:36 -0700 (PDT)
] From: Chookij Vanatham <chookij vanatham eng sun com>
] Subject: Re: Thai script in Pango
] To: robert suse co uk
] Cc: Chookij Vanatham Eng Sun COM
] MIME-version: 1.0
] 
] 
] Thanks a lot, Robert,
] I'll play around and try to fix it.
] Actually, this problem to me is that Pango in Solaris
] hasn't been able to pick up both Thai and Arabic Pango engines
] yet. That's why we cann't see Thai and Arabic from Pango
] on Solaris.
] 
] I'll update you more if I find something.
] 
] Thanks again,
] 
] Chookij V.
] 
] ] Date: Tue, 10 Oct 2000 22:02:46 +0100 (BST)
] ] From: Robert Brady <robert suse co uk>
] ] Subject: Re: Thai script in Pango
] ] To: Chookij Vanatham <chookij vanatham eng sun com>
] ] MIME-version: 1.0
] ] 
] ] On Tue, 10 Oct 2000, Chookij Vanatham wrote:
] ] 
] ] > Which platform are you using for Pango ?
] ] > I use Solaris.
] ] 
] ] I'm using SuSE Linux.
] ] 
] ] > In Solaris, Thai fontname has "tis620.2533-0" in it.
] ] > Do we need to add the iconv module for this encoding in Pango
] ] > and may be, some change/add in thai.c as well ?
] ]  
] ] If the Thai module isn't getting initialised at all there is some deeper
] ] problem.  
] ] 
] ] If you put 
] ] 
] ]      printf("%s\n", pair->info.id);
] ] 
] ] after 
] ] 
] ]      pair->info.id = g_strdup (tmp_buf->str);
] ] 
] ] in modules.c, do you get the Thai module listed?
] ] 
] ] Regardless of the answer, do some poking around in modules.c :)
] ] 
] ] -- 
] ] Robert
] ] 
] ] 
] ] 
] ] 
] 





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