Sugree

Main menu

  • About
    • Self
  • Project
    • jibjib
    • microblog-purple
    • Mitter
  • English
  • Thai

Workaround for Sara-Um bug in OpenOffice.org 2.4.x

Submitted by sugree on Wed, 06/18/2008 - 12:17.
  • Hardy
  • OpenOffice.org
  • Ubuntu
  • Thai

เมื่อเช้าพึ่งเห็น OpenOffice.org 2.4.1 โผล่เข้ามาใน Hardy รีบอัพเดตทันทีไม่คิดมาก ปัญหาสระอำยังคงตามมาหลอกหลอน อ๊าก เมื่อเป็นเช่นนี้ต่อมความอดทนที่ปริมานานแล้วก็แตกทันที รีบลง Ubuntu อีกตัวเพื่อความสะอาดแล้วดูดซอร์สมาดู ดูได้แค่ 10 นาทีก็พบว่า... ไร้ความหวัง ไม่รู้ว่าเป็น patch ตัวไหนก่อปัญหา เพราะจริงๆ แล้วปัญหาไม่ได้อยู่ที่โค้ด แต่มันอยู่ที่ฟอนต์มากกว่า ตอนแรกกะว่าจะลองรายงานบักให้ ooo-build แต่ก็ดันไม่รู้ว่าจะไปรายงานที่ไหน ยังดีที่ IRC บอกว่าอยู่ที่ http://bugzilla.novell.com/ ซึ่งก็ไม่มีบักคล้ายๆ กันแถวนั้น

ลองกลับมาหาอีกที เผื่อเจอวิธีที่ง่ายกว่า นั่นคือฟอนต์ที่ไม่มีปัญหานี้ ขนาดเท่ากัน ใช้แทนกันได้สมบูรณ์ แล้วก็เจอจริงด้วย เจ้าเก่า wd นั่นเอง

ผมสรุปขั้นตอนที่ผมทำเลยดีกว่า

  1. ดาวน์โหลด thaifont-abc.tar.gz

    wget http://www.thaitux.info/files/fonts/thaifont-abc.tar.gz
    
  2. ขยายซะ

    tar xzvf thaifont-abc.tar.gz
    
  3. ก๊อปปี้ไปไว้ที่ที่ควรจะอยู่

    cd thaifont-abc
    sudo mkdir /usr/share/fonts/truetype/abc
    sudo cp *.ttf /usr/share/fonts/truetype/abc/
    mv 90-1-thaifont-abc-synthetic.conf 95-1-thaifont-abc-synthetic.conf
    sudo cp *.conf /etc/fonts/conf.d/
    
  4. อ่านฟอนต์ใหม่

    fc-cache -r
    

นับแต่นี้ Angsana New จะถูกแสดงผลด้วย Angsima โดยอัตโนมัติ อย่างน้อยตอนนี้ก็ไม่เจอปัญหาสระอำ วิธีนี้น่าจะเป็นทางเลือกที่ดีกว่าการแก้ OpenOffice.org ให้รองรับฟอนต์ไม่มาตรฐาน (หรือว่ามันมาตรฐาน)

by roofimon (not verified) on Wed, 06/18/2008 - 13:27 #324

อย่างนี้เราจะเรียกว่า สระอำ นี่มันกวนใจ Monitorๆ มากๆหรือป่าว

  • reply
by Anonymous (not verified) on Thu, 07/03/2008 - 11:57 #347

Open Office 2.4.0 ใน Mandriva Spring 2008.1 ไม่มีปัญหาสระอำครับ ใช้ฟอนต์อังษณาฯลฯจากวินโดว์ได้ครับ ใช้ดีกว่า Hardy ครับ

  • reply
by sugree on Thu, 07/03/2008 - 14:21 #348

โอ้ มีหวังละ ต้องไปแอบดู Mandriva ซะหน่อย

  • reply

Post new comment

The content of this field is kept private and will not be shown publicly.
Input format
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockcode> <pre>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]".
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]".
  • You can use Markdown syntax to format and style the text.

More information about formatting options

Popular Tags

Assumption BarCamp BarCampBangkok BarCampBangkok2 BarCampBkk2 Creature Drupal DrupalCamp DrupalCampBangkok Education Family Google Hardware Hardy Health Java JibCafe jibjib Joke NokNok OpenOffice.org Python Review SoC Social Network Trip TwittBKK TwittDay Twitter Ubuntu
more tags

Powered By

debian
apache
drupal
drupal.in.th
feedburner

© 2007-2008 Sugree Phatanapherom. Creative Commons [Feed Content / Comment]
RoopleTheme