Sun 24 Feb 2008 11:44:42 AM UTC, comment #2:
Committed much fiddling to CVS. (This is very fiddly indeed.)
Filled in range 0300-036F for Serif.
Also tidied diacriticals in some of the other faces.
Main goal: make diacritical to align to medium-sized preceding character, when not using anchor marks.
Added "above" anchor marks where needed.
To do: add "below" table and anchor marks.
Find attached a test file I used, and a snapshot of the letters in gedit.
NOTE: two technologies here. This commit mostly addressed the cruder one: make a zero-width diacritical character that roughly goes over the preceding one. This does not take into account the width or height of the preceding character. But it is easy to support. The other is the OpenType "anchor mark". I don't think it is tested.
NOTE: different applications apply different mechanisms for finding a diacritic when one is missing. Some (gedit) will look in other fonts of that face--the results are not always nice, and quite confusing for development. Others (kedit) do not look in other faces.
Question: some diacriticals don't go directly over or under the target glyph, but rather, off to the side. Could anchor marks be used for that too?
(file #15102, file #15103)
|