今回は、半角スペースの幅を変更してみる
1 2 3 4 5 6 7 8 9 10 11 12 |
$ ttx usage: ttx [options] inputfile1 [... inputfileN] TTX 3.0 -- From OpenType To XML And Back If an input file is a TrueType or OpenType font file, it will be dumped to an TTX file (an XML-based text format). If an input file is a TTX file, it will be compiled to a TrueType or OpenType font file. Output files are created so they are unique: an existing file is never overwritten.... |
otf から ttx へ変換
1 |
$ ttx TheFont.otf |
編集 TheFont.ttx
1 2 3 4 5 6 7 |
<hmtx> <mtx name=".notdef" width="1000" lsb="0"/> <mtx name="cid00001" width="1000" lsb="0"/> <mtx name="cid00002" width="450" lsb="169"/> <mtx name="cid00003" width="450" lsb="70"/> <mtx name="cid00004" width="450" lsb="45"/> <mtx name="cid00005" width="450" lsb="39"/> |
編集後
1 2 3 4 5 6 7 |
<hmtx> <mtx name=".notdef" width="1000" lsb="0"/> <mtx name="cid00001" width="450" lsb="0"/> <mtx name="cid00002" width="450" lsb="169"/> <mtx name="cid00003" width="450" lsb="70"/> <mtx name="cid00004" width="450" lsb="45"/> <mtx name="cid00005" width="450" lsb="39"/> |
ttx から otf へ変換
1 |
$ ttx TheFont.ttx |