Print("Em size : ",$em);
i=2
while ( i<=$argc-3 )
- Print ("Merge with font ",$argv[i]);
+ Print ("Merge with font ",$argv[i])
MergeFonts($argv[i])
++i
endloop
-//
if($argv[i]!="-")
Print("Rewrite font with CMAP ",$argv[i]);
cmap=LoadStringFromFile($argv[i])
while(j<SizeOf(glyphs))
if(glyphs[j]!="")
glyph=StrSplit(glyphs[j]," ")
- ufrom=(glyph[0],16)
+ ufrom=Strtol(glyph[0],16)
uto=Strtol(glyph[1],16)
Select(ufrom)
SetUnicodeValue(UCodePoint(uto))
- Print("Move ",glyph[0]," to ",glyph[1]);
+ Print("Move ",glyph[0]," to ",glyph[1])
j++
endif
endloop