1 / 22

客製化手寫字型

961509 丁沛堯 961564 陳儀靜 實習單位 : 神達電腦 指導教授 : 林基成. 客製化手寫字型. 動機目的. 動機目的. 許多文書工作都由電腦替代 Windows 內建字體太少 下載字體不一定合乎心意. 動機目的. 英文個人字體製作網站. 動機目的. 英文只由 26 個字母組合而成 , 如果是中文字體呢 ? 有沒有比現在的字體編輯器更快創造新字體的方法呢 ?. 參考 作品. 參考作品. CorelDraw 一款圖形繪製功能很強大的工具 支援 TrueType 格式 Font Creator Program

Download Presentation

客製化手寫字型

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 961509 丁沛堯 961564 陳儀靜 實習單位:神達電腦 指導教授:林基成 客製化手寫字型

  2. 動機目的

  3. 動機目的 • 許多文書工作都由電腦替代 • Windows 內建字體太少 • 下載字體不一定合乎心意

  4. 動機目的 • 英文個人字體製作網站

  5. 動機目的 • 英文只由26個字母組合而成, 如果是中文字體呢? • 有沒有比現在的字體編輯器更快創造新字體的方法呢?

  6. 參考作品

  7. 參考作品 • CorelDraw • 一款圖形繪製功能很強大的工具 • 支援TrueType格式 • Font Creator Program • 能夠直接編輯修改 Windows 上的 任何 TrueType 字體,製作好的字體 都能夠讓你保存和使用。

  8. 參考作品 • 製作字體流程 • CorelDraw繪製圖形 • 存成TTF格式 • Font Creator Program進行編輯與整理

  9. 程式運行流程

  10. 程式運行流程 • 設定字體骨架 • 使用者使用手寫版輸入『永』字 • 分析使用者輸入習慣 • 依據使用者輸入習慣建立字體元件 • 將字體元件套用在已建好的骨架字庫上 • 整合Font Creator Program修改功能 • 產生手寫體

  11. 設定字體骨架 • 運用Metafont建立字體基本骨架 • Ex: • 起筆,筆尖粗1 厘米,斜鋒60度落筆向左頓1.2厘米,筆粗1.5厘米轉回水平向右,1.5厘米,直鋒,筆粗過度到1厘米繼續向右3厘米,提筆回鋒0.8厘米收筆

  12. 使用者輸入 • 使用者利用手寫版輸入模組來源:『永』 • 為何是『永』? • 因為所有中文楷體字皆可由永字八法組成 • 永字八法 • 側(點)、勒(橫)、努(直)、 趯、策(仰橫)、掠(長撇)、 啄(短撇)、磔(捺)

  13. 字體分析 • 依據使用者輸入字體分析書寫習慣 • 將『永』拆為八個部份分開分析 • 建立字體元件庫 • 將八個部份分析結果分別儲存為Metafont

  14. 字體元件套用 • 將八個元件分別套入字體骨架庫 • 依據先前建立的Metafont骨架檔 • 套入使用者書寫習慣

  15. 最後微調及輸出 • 利用Font Creator Program修改輸出 • 可自行修改不滿意的細節 • 輸出成.ttf檔

  16. 相關技術

  17. Metafont • Metafont:以高階語言描述製造字體的程式語言。 • 該程式語言可以描述包括筆寬、筆鋒角度、筆鋒移動距離,筆鋒轉換等等,以下是一個劃橫的演算法。 • 可將使用者輸入習慣轉換為程式語言並套用至字體骨架上。

  18. Metafont • 範例程式: 1 u#:=4/9pt#; 2 define_pixels(u); 3 beginchar(66,13u#,16u#,5u#);"Letter beta"; 4 x1=2u; x2=x3=3u; 5 bot y1=-5u; y2=8u; y3=14u; 6 x4=6.5u; top y4=h; 7 z5=(10u,12u); 8 z6=(7.5u,7.5u); z8=z6; 9 z7=(4u,7.5u); 10 z9=(11.5u,2u); 11 z0=(5u,u); 12 penpos1(2u,20); 13 penpos2(.5u,0); 14 penpos3(u,-45); 15 penpos4(.8u,-90); 16 penpos5(1.5u,-180); 17 penpos6(.4u,150); 18 penpos7(.4u,0); 19 penpos8(.4u,210); 20 penpos9(1.5u,-180); 21 penpos0(.3u,20); 22 pickup pencircle; 23 penstroke z1e..z2e..z3e..z4e..z5e..z6e..{up}z7e..z8e..z9e..{up}z0e; 24 labels(range 1 thru 9); 25 endchar; 26 end

  19. Metafont • 執行結果

  20. 作品評估

  21. 作品評估 • 好處 • 不需描繪所有的字 • 便利的產生個人字體 • 困難 • 中文字庫的骨架建構 • 使用者輸入特性分析

  22. 參考文獻 • http://www.fontifier.com/ • http://www.peboking.com/modules/newschina/article.php?storyid=265 • http://mamajames.pixnet.net/blog/post/28623945 • http://metafont.tutorial.free.fr/ • http://wenq.org/forum/viewtopic.php?f=13&t=894 • http://zh.wikipedia.org/zh-tw/TrueType • http://zh.wikipedia.org/zh-tw/%E8%B2%9D%E5%A1%9E%E7%88%BE%E6%9B%B2%E7%B7%9A • http://baike.baidu.com/view/333247.htm

More Related