probonopd / font-leutkirch

Other
6 stars 0 forks source link

Add more diacritics #1

Open probonopd opened 4 years ago

probonopd commented 4 years ago

Add ÄÖÜäöü by using the diaeresis from Unicode characters 0401 and 0451. As per https://github.com/fontforge/fontforge/issues/283, follow the guide at http://designwithfontforge.com/en-US/Diacritics_and_Accents.html.

On a more general note, try to follow Context of Diacritics, which is an analysis of diacritics made to help type designers with refining the character sets of their fonts.

probonopd commented 4 years ago

http://designwithfontforge.com/en-US/Diacritics_and_Accents.html says:

So, using the example of building the ‘a acute’ character (u+00e1) , we would need to have already created the lowercase ‘a’ (u+0061) and the ‘acutecomb’ glyph (u+0301). Then selecting the ‘a acute’ character slot and using the ‘Element > Build > Build Accented Glyph’ function, FontForge will place a reference to the lowercase ‘a’ glyph and a reference to the ‘acutecomb’ glyph into the ‘a acute’ character slot (see below).

More information: https://github.com/fontforge/fontforge/issues/4304

probonopd commented 4 years ago

Possibly this could be done even more efficiently using RoboFab rather than FontForge. However, RoboFab seems to be replaced by https://github.com/robotools/fontParts. It the latter ready for prime time yet?

probonopd commented 4 years ago

For Diaeresis:

https://www.youtube.com/watch?v=Mk9ShYmHJr8

probonopd commented 4 years ago

Diaeresis was added in https://github.com/probonopd/font-leutkirch/commit/db4819f0b133202338f242c1e57389197223a43d.

probonopd commented 4 years ago

Key to doing this is to add Combining Diacritical Marks to the font as described in https://www.unicode.org/charts/PDF/U0300.pdf, then FontForge can automatically generate the combined characters.

For Accute:

For Circumflex:

For Grave:

For Cedilla:

For Tilde: