辰己というのです。 9.1-Rを使っています。 ports からインストールした dvipdfmx-20110311 で、 IPAexフォントの otf の埋め込みができなかったので、いろいろ調べてみたと ころ、
http://oku.edu.mie-u.ac.jp/~okumura/texwiki/?dvipdfmx#z5173081 の先にある記事内容をお知らせして頂きました。この対応でうまく動くように なりました。 それで、パッチを作ったんですが、これって、どうやってメインテナーさんに お知らせすればいいんでしたっけ? --ここから-- --- ./work/dvipdfmx-20110311/src/tt_post.c.orig 2011-03-06 12:14:15.000000000 +0900 +++ ./work/dvipdfmx-20110311/src/tt_post.c 2013-07-14 12:55:46.000000000 +0900 @@ -42,2 +42,3 @@ int len; + int maxidx = 257; @@ -51,7 +52,20 @@ if (idx >= 258) { + if (idx > maxidx) + maxidx = idx; if (idx > 32767) { - WARN("TrueTypes post table name index %u > 32767", idx); + /* Although this is strictly speaking out of spec, it seems to work + and there are real-life fonts that use it. + We show a warning only once, instead of thousands of times */ + static char warning_issued = 0; + if (!warning_issued) { + WARN("TrueTypes post table name index %u > 32767", idx); + warning_issued = 1; + } + /* In a real-life large font, (x)dvipdfmx crashes if we use + nonvanishing idx in the case of idx > 32767. + If we set idx = 0, (x)dvipdfmx works fine for the font and + created pdf seems fine. The post table may not be important + in such a case */ idx = 0; } - post->count++; } @@ -59,2 +73,3 @@ } + post->count = maxidx - 257; --ここまで--