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/27 03:47] suapapafontforge [2013/08/03 05:04] (current) – external edit 127.0.0.1
Line 3: Line 3:
     *OS/2->Panose->Proportion     *OS/2->Panose->Proportion
       *Monosapce->Even Width       *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>
  
  
fontforge.1259293620.txt.gz · Last modified: 2013/08/03 05:04 (external edit)