らんだむな記憶

blogというものを体験してみようか!的なー

AFDKO と CID-keyed な UFO

AFDKO 3.5.1 から

tx -t1 -g 422,425-500,629,7479-7554,8229-8263 -o font.pfa font.ufo

みたいなことをした時に、へんてこなログが出てきて Type 1 ファイルが出てこない。ufr がログを出しているので、UFO の読み取りが何か変化してそうだが、履歴を見てもそれっぽい内容が見つからない・・・どういうことだろう・・・。

tx: (ufr) Warning: glyph order contains duplicate entries for glyphs '.notdef'.
tx: (ufr) Warning: glyph order contains duplicate entries for glyphs 'cid00001'.
tx: (ufr) Warning: glyph order contains duplicate entries for glyphs 'cid00002'.
tx: (ufr) Warning: glyph order contains duplicate entries for glyphs 'cid00003'.
tx: (ufr) Warning: glyph order contains duplicate entries for glyphs 'cid00004'.
tx: (ufr) Warning: glyph order contains duplicate entries for glyphs 'cid00005'.
tx: (ufr) Warning: glyph order contains duplicate entries for glyphs 'cid00006'
...

という感じの嫌なログが出ている (出ないものもある)。書き出しのほうも

tx: --- font.ufo
tx: (t1w) glyph type doesn't match font type

となっている。

git diff --diff-filter=AMCRD 3.5.0 3.5.1 > afdko_diff.txt

で確認してみるか・・・。って c/public/lib/source/uforead/uforead.c がめっちゃ変わってる。何がどうなっている・・・。

バージョン的にも [tx] (t1w) glyph type doesn't match font type · Issue #1245 · adobe-type-tools/afdko · GitHub この指摘と関係してそう。とりあえず、暫くは AFDKO 3.5.0 までを使っておくのが良さそう・・・。