日期:2011-07-03 浏览次数:20526 次
#fontforge.exe -script font-select.pe simyou.ttf youyuan_asc.ttf Open($1) ############ ##ascii SelectMore(0u0020, 0u0080); ############ SelectInvert(); DetachAndRemoveGlyphs(); Generate($2, "", 0x14) Close();
# font merge # e.g. replace font file $1 with good english font $2: # fontforge.exe -script font-merge.pe simyou.ttf SegoeWP.ttf merged.ttf Open($1) SelectAll() ScaleToEm(1024) Generate("temp.ttf", "", 0x14) Close() Open($2) SelectAll() ScaleToEm(1024) MergeFonts("temp.ttf") SetFontNames("FontName", "Font Family", "Full Name", "Style", "") Generate($3, "", 0x14) Close()