Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 29567

Summary: Pango (1.2.5 on Gnome 2.4) thai render garbage bug
Product: Gentoo Linux Reporter: Phattanon Duangdara <phattanon>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: VERIFIED FIXED    
Severity: normal    
Priority: Highest    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Phattanon Duangdara 2003-09-25 01:46:38 UTC
According to this bug.
http://bugs.gnome.org/show_bug.cgi?id=121488

Thai character cannot render properly and display
as "unknown glyphs" (boxed hexadecimal of their 8-bit TIS-620 codes)
 because of missing include header file.

Reproducible: Always
Steps to Reproduce:
Use gnome with lang=th_TH and thai TrueType/OpenType fonts

(Thaifonts can obtain from http://opentle.org/sf_alpha/gentoo/)

Actual Results:  
Thai character cannot render properly.

Expected Results:  
Thai character display correctly with thai locale.

Can be fix by include config.h (see below).

--- pango-1.2.5/modules/thai/thai-shaper.h.thai 2003-09-08
12:04:55.000000000 -0400
+++ pango-1.2.5/modules/thai/thai-shaper.h      2003-09-08
12:05:01.000000000 -0400
@@ -1,6 +1,8 @@
 #ifndef __THAI_SHAPER_H__
 #define __THAI_SHAPER_H__
  
+#include "config.h"
+
 #ifdef HAVE_X
 #include "pangox.h"
 #endif


---------------------
I have additional question ? How to check-in these thaifonts ebuild. ?
Comment 1 foser (RETIRED) gentoo-dev 2003-09-25 05:27:47 UTC
patch looks ok to me, will add it.

You can request fontpacks (ebuild included if possible) by filing an enhancement
bug.
Comment 2 foser (RETIRED) gentoo-dev 2003-09-27 11:32:22 UTC
added patch in 1.2.5-r1 , thanks for the report.

please test 
Comment 3 Phattanon Duangdara 2003-09-28 13:21:20 UTC
TESTED!

Looks good. Thx. :)
Comment 4 Phattanon Duangdara 2003-12-09 19:22:16 UTC
No problems for long time ...