チケット #26675

Fontforge can't handle Adobe feature files correctly

登録: 2011-11-03 11:40 最終更新: 2013-08-27 07:31

報告者:
担当者:
チケットの種類:
状況:
オープン [担当者決定済み]
コンポーネント:
(未割り当て)
マイルストーン:
(未割り当て)
優先度:
3
重要度:
5 - 中
解決法:
リマインド
ファイル:
なし

詳細

Probably not our fault, but keeping this ticket open to track any progress on getting FontForge to work. If compiled with double or long-double arithmetic, it dies trying to apply the kern feature file to the font. If compiled with float (default, but not what I'd been using) it applies the feature, saves the font, and then dies when loading the resulting font. Looks like it has a lot of trouble with the very large kerning table - which is a problem now for the Korean fonts with ~11000 glyphs, but will probably also become a problem for the Japanese fonts which will pass ~5000 glyphs within the planned scope of this project.

In the short term, select.hl has been hacked to simply disable generation of kerned hangul fonts.

チケットの履歴 (5 件中 3 件表示)

2011-11-03 11:40 更新者: mskala
  • 新しいチケット "Fontforge can't handle kerning the Korean fonts" が作成されました
2011-11-17 11:56 更新者: mskala
  • 解決法なし から リマインド に更新されました
コメント

Mere possibility of kerning seems to be fixed by inserting our own subtable breaks in the kerning feature file. FoFo is supposed to do that automatically, but evidently not.

This does not solve everything related to kerning, feature files, and OpenType tables. In particular, some combinations of mark-to-base and context-substitution result in FoFo putting garbage rules in the substitution table. And at the best of times FoFo doesn't seem to correctly interpret context substitution rules in its own Metrics window.

For the moment things are working pretty well, with the inserted subtable breaks and taking great care not to do kerning on glyphs that are "marks" for the purposes of mark-to-base. It's not clear to what extent this is FoFo's fault and to what extent it's Adobe's; there are poorly documented (and Williams claims unimplemented) parts of the feature file spec relating to these subjects, but FontForge is definitely observed to do things that can't possibly be right.

Leaving the bug open for the moment because I expect further breakage, even though the particular issues that inspired its creation seem to be worked around at present.

2011-11-17 12:05 更新者: mskala
  • 概要が更新されました
2011-12-17 03:48 更新者: mskala
  • コンポーネントHangul glyphs から (未割り当て) に更新されました
2013-08-27 07:31 更新者: mskala
  • チケットの種類バグ から Hairy Yaks に更新されました

添付ファイルリスト

添付ファイルはありません

編集

ログインしていません。ログインしていない状態では、コメントに記載者の記録が残りません。 » ログインする