cvxx features now applies to accented letters.

This commit is contained in:
be5invis 2015-12-22 12:47:11 +08:00
parent 743ba744d9
commit 6754d24f60
13 changed files with 146 additions and 81 deletions

View file

@ -39,6 +39,7 @@ function writettf(ttf, file){
}
var ttf = readttf(process.argv[2]);
delete ttf.FFTM
// Fixes xAvgCharWidth
var spacewidth = ttf.head.unitsPerEm / 2;
for(var j = 0; j < ttf.glyf.length; j++) if(ttf.glyf[j] && ttf.glyf[j].unicode && ttf.glyf[j].unicode[0] === 0x20) {