This is G o o g l e's cache of http://www.debianclub.com/node/35 as retrieved on 14 Feb 2007 23:06:17 GMT.
G o o g l e's cache is the snapshot that we took of the page as we crawled the web.
The page may have changed since that time. Click here for the current page without highlighting.
This cached page may reference images which are no longer available. Click here for the cached text only.
To link to or bookmark this page, use the following url: http://www.google.com/search?hl=en&q=cache%3Ahttp%3A%2F%2Fwww.debianclub.com%2Fnode%2F35&btnG=Search


Google is neither affiliated with the authors of this page nor responsible for its content.

User login

Links

debianclub.com
debian.org
ubuntuclub.com
blognone.com

Syndicate

Syndicate content

xulrunner-libthai 1.8.0.8

epiphany บน debian จะใช้ Gecko engine (ตัววาดหน้าเว็บ HTML) จาก xulrunner ไม่ใช่จาก mozilla หรือ firefox/iceweasel ทั้งตัว ซึ่งก็หมายความว่า หากจะให้ epiphany ตัดคำไทย เราต้องไปแก้ที่ xulrunner ซึ่งผมก็ได้ build debian package สำหรับการนี้ไว้ที่ LTN APT นะครับ โดยเร็วๆ นี้ ก็เพิ่ง build สำหรับเวอร์ชัน 1.8.0.8 (ตาม blog)

การติดตั้ง ก็โดยเพิ่มบรรทัดนี้ใน /etc/apt/sources.list:

deb http://linux.thai.net/apt ./

แล้วก็สั่ง:

# aptitude update
# aptitude upgrade
# aptitude install xulrunner-libthai

ซึ่งจะอัปเกรดพวก libxul0d, ... ที่ epiphany ใช้ ให้เป็นรุ่นที่ patch ให้เรียก mozlibthai แล้วก็ลง mozlibthai component จาก xulrunner-libthai มาเสียบ

ผมทำ patch แบบนี้ ก็ตามคำแนะนำของ Mike Hommey ซึ่งดูแลแพกเกจ xulrunner และ iceweasel ใน debian การแยก xulrunner-libthai ออกมาต่างหาก จะเป็นการไม่บังคับให้ผู้ใช้ภาษาอื่นต้องโหลด libthai โดยไม่ได้ใช้ แต่ก็หมายความว่า ผู้ใช้ภาษาไทย ก็ต้องติดตั้งเองด้วย

อย่างไรก็ดี ถึงไม่ติดตั้ง xulrunner-libthai แต่ xulrunner ที่ patch แล้ว ก็ยังพยายามจะ fallback ไปใช้การตัดคำด้วยกฎ ซึ่งคุณภาพการตัดคำอาจจะน้อยกว่าใช้ xulrunner-libthai ดังนั้น ถ้าพบว่ามีการตัดคำโดยยกเอาคำยาวๆ มาขึ้นบรรทัดใหม่ ก็เป็นไปได้ว่ากำลังใช้กฎตัดคำอยู่ ถ้าอยากได้คุณภาพที่ดีขึ้น ก็ต้องติดตั้ง xulrunner-libthai นะครับ

ติดตามความคืบหน้าของเรื่องนี้ใน official debian ได้ที่ Debian Bug #366306 นะครับ