User Tools

Site Tools


fontforge

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
fontforge [2009/11/25 07:26] suapapafontforge [2013/08/03 05:04] (current) – external edit 127.0.0.1
Line 1: Line 1:
 나눔고딕코딩 자간 수정 나눔고딕코딩 자간 수정
-  *OS/2->Panose->Proportion +  *Element->Font Info... 
-    *Monosapce->Even Width +    *OS/2->Panose->Proportion 
 +      *Monosapce->Even Width 
 +<code python> 
 +>>> import fontforge 
 +>>> font = fontforge.open('NanumGothic_Coding_Bold.ttf'
 +>>> font.os2_panose 
 +(2, 13, 0, 9, 0, 0, 0, 0, 0, 0) 
 +>>> font.os2_panose = (2, 13, 0, 4, 0, 0, 0, 0, 0, 0) 
 +>>> font.generate('output.ttf'
 +</code> 
 +<code bash> 
 +$ sudo cp output.ttf /usr/share/fonts/truetype/nanum-coding/NanumGothic_Coding_Bold.ttf  
 +$ fc-cache -r 
 +</code>
  
  
Line 43: Line 55:
 73119 73119
 </code> </code>
-references+====== references ======
   *[[http://tinkerhouse.net/log/python-fontforge-is-definitely-a-godsend/|Python-fontforge is definitely a godsend]]   *[[http://tinkerhouse.net/log/python-fontforge-is-definitely-a-godsend/|Python-fontforge is definitely a godsend]]
 +  *[[http://fontforge.sourceforge.net/python.html|Writing python scripts to change fonts in FontForge]]
fontforge.1259133968.txt.gz · Last modified: 2013/08/03 05:04 (external edit)