Google Groups Home
Help | Sign in
ทำฟอนต์เพิ่ม DejaVu Serif Thai
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  11 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
wd  
View profile
 More options May 2, 3:48 am
From: wd <widha...@gmail.com>
Date: Fri, 2 May 2008 00:48:47 -0700 (PDT)
Local: Fri, May 2 2008 3:48 am
Subject: ทำฟอนต์เพิ่ม DejaVu Serif Thai
การบ้านเก่ายังไม่เสร็จ แต่ส่งการบ้านใหม่แทน
เพราะต้องการศึกษาการ hint แบบ Tahoma ซึ่งยังไม่รู้ว่า hint
แบบเดิมกับแบบใหม่อันไหนดีกว่า เลยตัดสินใจทำตัวใหม่เป็น Serif

คือ hint แบบ fix หัวท้าย แล้วใช้ช่วงกลางอักษรเป็นตัวรองรับการทดจุด
(ปรับระยะที่ดูน่าเกลียดด้วย grid fitting)

ดาวน์โหลดไฟล์ฟอนต์
http://www.thaitux.info/files/fonts/DejaVuSerifThai-ttf.tar.gz

ดาวน์โหลดไฟล์ซอร์ส
http://www.thaitux.info/files/fonts/DejaVuSerifThai-src-510502.tar.gz


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
wd  
View profile
 More options May 6, 4:24 am
From: wd <widha...@gmail.com>
Date: Tue, 6 May 2008 01:24:08 -0700 (PDT)
Local: Tues, May 6 2008 4:24 am
Subject: Re: ทำฟอนต์เพิ่ม DejaVu Serif Thai
ทำตัวหนาเสร็จแล้ว รบกวนท่านผู้สนใจฝากทดสอบให้ด้วยครับ
(จริง ๆ เกือบเสร็จมากกว่า ขาด hinting เลขไทย
ตัวธรรมดา แทบไม่ได้ hint สระบนล่าง  ส่วนตัวหนา hint สระ แต่ไม่ได้ hint
วรรณยุกต์ระดับบน)

ดาวนโหลดไฟล์ฟอนต์ (ล่าสุด)
http://www.thaitux.info/files/fonts/DejaVuSerifThai-ttf.tar.gz

ดาวน์โหลดไฟล์ซอร์ส (รวมตัวธรรมดาและตัวหนาด้วย)
http://www.thaitux.info/files/fonts/DejaVuSerifThai-src-510502.tar.gz

ต่อไปอาจเว้นช่วงนานหน่อยนะครับ อาจนำเอางานชุดล่าสุดไปใช้ได้เลยครับ

ถ้าไม่มีความเห็นในการทดสอบผลเพิ่มเติม ผมจะนำเอาวิธีการ hint แบบล่าสุด
(ที่เลียนแบบ Tahoma) กลับไปใช้กับฟอนต์ Sans ด้วย
เนื่องจากให้ผลที่ดีกว่า ควบคุมจุดได้ดีกว่า แต่อาจกินเวลาอีกนานครับ

วิทยา


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
wd  
View profile
 More options May 8, 3:01 am
From: wd <widha...@gmail.com>
Date: Thu, 8 May 2008 00:01:58 -0700 (PDT)
Local: Thurs, May 8 2008 3:01 am
Subject: Re: ทำฟอนต์เพิ่ม DejaVu Serif Thai
hint เลขไทยเสร็จแล้ว
ของตัวธรรมดา hint สระเสร็จแล้ว
มีเพิ่มเรื่องการขยับระดับให้สูงขึ้นในฟอนต์ขนาดเล็ก สระบนระดับที่ ๑ ทำ
hint เต็มรูป ส่วนระดับที่ ๒ แค่ขยับ spline ให้ตรงจุด

เรียกว่าสมบูรณ์ระดับนึงแล้วครับ สามารถนำไปใช้ได้แล้ว
(คงไม่มีการปรับใหญ่ในระยะอันใกล้นี้)
แต่ยังไงก็ยังต้องการการรายงานผลการใช้งานนะครับ

หากคุณเทพจะเอาเข้า ThaiFonts-Scalable
รบกวนฝากตั้งชื่อและขยับระยะบรรทัดให้ห่างขึ้นด้วยครับ

ดาวนโหลดไฟล์ฟอนต์ (ล่าสุด)
http://www.thaitux.info/files/fonts/DejaVuSerifThai-ttf.tar.gz

ดาวน์โหลดไฟล์ซอร์ส (รวมตัวธรรมดาและตัวหนาด้วย)
http://www.thaitux.info/files/fonts/DejaVuSerifThai-src-510508.tar.gz

วิทยา


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
wd  
View profile
 More options May 8, 3:03 am
From: wd <widha...@gmail.com>
Date: Thu, 8 May 2008 00:03:12 -0700 (PDT)
Local: Thurs, May 8 2008 3:03 am
Subject: Re: ทำฟอนต์เพิ่ม DejaVu Serif Thai
ขออภัยครับ ลืมแก้ลิงก์ดาวน์โหลด

ดาวน์โหลดไฟล์ซอร์ส (รวมตัวธรรมดาและตัวหนาด้วย)
http://www.thaitux.info/files/fonts/DejaVuSerifThai-src-510508.tar.gz


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
wd  
View profile
 More options May 31, 12:06 am
From: wd <widha...@gmail.com>
Date: Fri, 30 May 2008 21:06:17 -0700 (PDT)
Local: Sat, May 31 2008 12:06 am
Subject: Re: ทำฟอนต์เพิ่ม DejaVu Serif Thai
ทำเพิ่มเรื่อง
- ปรับให้ดูนุ่มนวลขึ้น ลดขนาดหัวให้จางลงด้วยฟังก์ชั่น SHPIX
ทำให้ดูดีขึ้นสำหรับการแสดงผลตัวดำพื้นขาว
แต่ถ้าพื้นหลังเข้มตัวขาวจะอ่านยากหน่อย เช่นเว็บ pantip.com
- ปรับหัวให้เท่า ๆ กันในทุกตัวอักษร และทุก ๆ ขนาดฟอนต์
- จัดระดับวรรณยุกต์ระดับ 2 ไม่ให้เหลื่อม

ยังขาด
- ยังไม่ได้ทำตัวหนา เพราะยังไม่แน่ใจผลเรื่องการแสดงผลพื้นเข้มตัวขาว
- นิคหิตสูง (uni0E4D.high) ยังไม่ลอยสูง พยายามแกะโค๊ดคุณเทพแล้ว
แต่ไปไม่รอดครับ เลยปล่อย

ความเห็น
- การแยกการพัฒนาเป็น 2 ฟอนต์ คือ Sans กับ Serif
ทำให้สามารถทดลองฟังก์ชั่นใหม่ ๆ ได้อย่างเต็มที่
ข้อดีคือเอาความรู้จากฟอนต์นึงไปใส่อีกฟอนต์นึงกลับไปกลับมา
แต่ข้อเสียคืองานของฟอนต์แต่ละรุ่นจะเปลี่ยนแนวการเขียนโค๊ดไปเรื่อย
ตามแกะโค๊ดยาก
- งานที่กินเวลาที่สุดในการ hint ฟอนต์ คือ การทำ grid fitting
สำหรับฟอนต์ขนาดต่าง ๆ ในขั้นตอนสุดท้าย ดังนั้น การประหยัดเวลาด้วยการทำ
Auto Instruction จึงแทบไม่มีความหมาย เพราะประหยัดเวลาไปได้นิดเดียว
- ความคิดเริ่มตันแล้วครับ คงไม่สามารถทำได้ดีกว่านี้อีกแล้ว

ดาวน์โหลด
ไฟล์ ttf (ชื่อเดิมแต่เป็นรุ่นใหม่เสมอ)
http://www.thaitux.info/files/fonts/DejaVuSerifThai-ttf.tar.gz

ไฟล์ซอร์ส
http://www.thaitux.info/files/fonts/DejaVuSerifThai-src-510531.tar.gz

วิทยา


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
wd  
View profile
 More options May 31, 12:12 am
From: wd <widha...@gmail.com>
Date: Fri, 30 May 2008 21:12:29 -0700 (PDT)
Local: Sat, May 31 2008 12:12 am
Subject: Re: ทำฟอนต์เพิ่ม DejaVu Serif Thai
อีกข้อนึงคือ ยังไม่แน่ใจว่า
- การทำ grid fitting มาก ๆ (ด้วยฟังก์ชั่น DELTAPx)
- การใช้ shift point มาก ๆ (ด้วยฟังก์ชั่น SHPIX)
- การใช้การเคลื่อนแบบ direct แทน indirect (ใช้ฟังก์ชั่น MDRP
แทนที่จะใช้ MIRP) เนื่องจากต้องการประหยัดค่าในตาราง CVT
ต่าง ๆ เหล่านี้ จะทำให้การแสดงผลของฟอนต์ช้าลงหรือไม่

อยากทราบผลการทดสอบจุดนี้ด้วยครับ เพราะสองข้อแรก ถ้าทำมาก ๆ
ฟอนต์จะดูสวย

วิทยา


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
wd  
View profile
 More options Jun 6, 12:52 am
From: wd <widha...@gmail.com>
Date: Thu, 5 Jun 2008 21:52:57 -0700 (PDT)
Local: Fri, Jun 6 2008 12:52 am
Subject: Re: ทำฟอนต์เพิ่ม DejaVu Serif Thai
ทำตัวหนาเสร็จแล้ว
สำหรับตัวหนา ไม่ได้ปรับ delta hint ที่หัว
แต่การ hint ส่วนใหญ่ ก็ยังยึดแนวคิดที่ว่า
ไม่จำเป็นต้องปัดเศษให้ลงจุดในทุกจุด ซึ่งจะทำให้ฟอนต์ดูนุ่มนวลขึ้น
ยกเว้นในกรณีที่ระบบไม่มีการทำ Anti alias เช่น วินโดวส์รุ่นเก่า
อาจทำให้ฟอนต์ดูเพี้ยน โดยเฉพาะในบริเวณเล็ก ๆ ที่มีรายละเอียดมาก

รุ่นนี้เป็นรุ่นสุดท้าย คงไม่ได้กลับมาทำ Serif อีกแล้ว
เว้นแต่หากมีท่านอื่นช่วยทดสอบและรายงานผล

ดาวน์โหลด
ไฟล์ ttf (ชื่อเดิมแต่เป็นรุ่นใหม่เสมอ)
http://www.thaitux.info/files/fonts/DejaVuSerifThai-ttf.tar.gz

ไฟล์ซอร์ส
http://www.thaitux.info/files/fonts/DejaVuSerifThai-src-510606.tar.gz

วิทยา


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Theppitak Karoonboonyanan  
View profile
 More options Jun 17, 8:45 am
From: "Theppitak Karoonboonyanan" <t...@linux.thai.net>
Date: Tue, 17 Jun 2008 19:45:27 +0700
Local: Tues, Jun 17 2008 8:45 am
Subject: Re: [thai-linux-foss-devel] Re: ทำฟอนต์เพิ่ม DejaVu Serif Thai
2008/6/6 wd <widha...@gmail.com>:

> รุ่นนี้เป็นรุ่นสุดท้าย คงไม่ได้กลับมาทำ Serif อีกแล้ว
> เว้นแต่หากมีท่านอื่นช่วยทดสอบและรายงานผล

เจอบั๊กกับข้อความที่มี strikeout ครับ โดย dejavusans-thai
เส้นที่ขีดฆ่ามันเป็นปื้นใหญ่ และตัวยกยกไม่ค่อยสูง:

  http://linux.thai.net/~thep/shots/20080617-djvusans-strikesubsup.png

ส่วน dejavuserif-thai ตัวธรรมดามันขีดสูงไปหน่อย:
  http://linux.thai.net/~thep/shots/20080617-djvuserif-strikesubsup.png

พอดีเจอปัญหานี้ใน Waree ด้วย แก้ไปแล้วด้วยการแก้ที่ OS/2
Sub/Superscript ด้วยการติ๊กกล่อง [*] Default เพื่อให้มันเติมค่า
default ให้ แล้วก็ติ๊กออก ทำทีเป็น hard code ด้วยค่า default
เพราะถ้าปล่อย default ไว้ มันเติมขยะให้ครับ

เทพ.
--
Theppitak Karoonboonyanan
http://linux.thai.net/~thep/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
wd  
View profile
 More options Jun 18, 12:15 pm
From: wd <widha...@gmail.com>
Date: Wed, 18 Jun 2008 09:15:35 -0700 (PDT)
Local: Wed, Jun 18 2008 12:15 pm
Subject: Re: ทำฟอนต์เพิ่ม DejaVu Serif Thai
_/|\_ ขอบพระคุณครับที่รายงาน พร้อมกับคำแนะนำ
เที่ยวนี้ผมแก้เพียง Sans ตัวธรรมดาอย่างเดียว ส่วน Sans
ตัวหนาจะรอปรับหัวอักษรเสร็จแล้วค่อยปล่อยออกมาทีเดียว
ของ Serif รอ Sans เสร็จก่อนครับ เดี๋ยวตามแก้ในรุ่นหน้า

เดี๋ยวผมไปโพสต์ที่หัวข้อ Sans ดีกว่าครับ

วิทยา

On Jun 17, 7:45 pm, "Theppitak Karoonboonyanan" <t...@linux.thai.net>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Theppitak Karoonboonyanan  
View profile
 More options Jun 29, 12:42 am
From: "Theppitak Karoonboonyanan" <t...@linux.thai.net>
Date: Sun, 29 Jun 2008 11:42:42 +0700
Local: Sun, Jun 29 2008 12:42 am
Subject: Re: [thai-linux-foss-devel] Re: ทำฟอนต์เพิ่ม DejaVu Serif Thai
2008/6/17 Theppitak Karoonboonyanan <t...@linux.thai.net>:

> เจอบั๊กกับข้อความที่มี strikeout ครับ โดย dejavusans-thai
> เส้นที่ขีดฆ่ามันเป็นปื