icon 汪抂枉旺狂 02 Oct 2010


2,422

See WED, 16 DEC 2009

icon Internal Error の解決 02 Oct 2010

久しぶりに、放置気味だったエラーメッセージの解決に取り組んでみました。最初は Unicode: 6B73「歳」の Black。

Internal Error in uni6B73: monotonic is both needed and unneeded.
Internal Error in uni6B73: Humph. This monotonic leads nowhere.
Internal Error in uni6B73: couldn't find a needed exit from an intersection
Internal Error in uni6B73: Closing contour with unneeded path
元データを確認してみたところ、全てのグリフパーツが二重になっていたので余分なパーツを除去しました。デザインの歪み等はありません。続いて Unicode: 4F8B「例」の Heavy。
Internal Error in uni4F8B: monotonic is both needed and unneeded.
Internal Error in uni4F8B: monotonic is both needed and unneeded.
Internal Error in uni4F8B: monotonic is both needed and unneeded.
Internal Error in uni4F8B: Winding number did not return to 0 when x=634.129
指示された座標付近に、微妙に飛び出している角があったので修正しました。次に Unicode: 65AD「断」の Bold。
Internal Error in uni65AD: Winding number did not return to 0 when x=563.38
Internal Error in uni65AD: Humph. This monotonic leads nowhere.
Internal Error in uni65AD: couldn't find a needed exit from an intersection
指示された座標付近の、非常に近接した 3 つのコーナーポイントが問題視されているような気がします。しかし Fontforge の解釈自体に問題は無く、デザインは崩れること無く再現されているので、このエラーメッセージは無視することにします。次に Unicode: 82F1「英」の Medium。
Internal Error in uni82F1: monotonic is both needed and unneeded.
Internal Error in uni82F1: monotonic is both needed and unneeded.
Internal Error in uni82F1: monotonic is both needed and unneeded.
Internal Error in uni82F1: monotonic is both needed and unneeded.
Internal Error in uni82F1: Winding number did not return to 0 when x=555.033
Fontforge が .svg ファイルを変換する際に、指示された座標付近で 3 つの非常に近接したポイントが生成されることを問題視しているような気がします。このグリフもデザインは崩れること無く再現されているので、エラーメッセージを無視することにします。次に Unicode: 732E「献」の Thin。
Internal Error in uni732E: Winding number did not return to 0 when x=754.978
Internal Error in uni732E: monotonic is both needed and unneeded.
Internal Error in uni732E: Winding number did not return to 0 when x=734.977
Internal Error in uni732E: monotonic is both needed and unneeded.
Internal Error in uni732E: Expected needed monotonic.
Internal Error in uni732E: Humph. This monotonic leads nowhere.
Internal Error in uni732E: couldn't find a needed exit from an intersection
指示された 2 箇所の座標付近で 2 つの曲線が部分的に重なり合っているのですが、このグリフもデザインは崩れること無く再現されているので、エラーメッセージを無視することにします。最後に Unicode: 8B0E「謎」の Thin。
Internal Error in uni8B0E: monotonic is both needed and unneeded.
Internal Error in uni8B0E: monotonic is both needed and unneeded.
Internal Error in uni8B0E: monotonic is both needed and unneeded.
Internal Error in uni8B0E: Winding number did not return to 0 when x=440.005
Internal Error in uni8B0E: monotonic is both needed and unneeded.
Internal Error in uni8B0E: monotonic is both needed and unneeded.
Internal Error in uni8B0E: monotonic is both needed and unneeded.
Internal Error in uni8B0E: Winding number did not return to 0 when x=440.005
指示された座標付近で 3 つの直線の交点が微妙にずれていることを問題視しているような気がします。このグリフもデザインは崩れること無く再現されていますが、直線の 1 つを移動させることで(別のパーツに隠れている部分なのでデザインには影響しない)煩わしいエラーメッセージを減らすことにします。

とりあえずエラーの出ているグリフにデザイン上の問題が無かったので安心しました(前回の確認時には崩れたグリフがあった)、現在公開中のフォントは問題無くご利用いただけると思います。次の Make 時に、修正した 3 箇所のエラーメッセージが無くなっているのか確認します。