FontForge (@FontForge) header
FontForge (@FontForge) profile picture

FontForge is a free and open source font editor for all major platforms. This account announces new features as they land in developer builds and new releases.

#fontforge @ irc.libera.chat
Joined September 2012
If you work a lot with SFD files, there is now a tested Python library for encoding/decoding the quoted strings in them. sfdutf7·py — github.com/ctrlcctrlv/sfdutf… PyPI: pypi.org/project/sfdutf7/ ~ @fr_brennan
This is the most horrifying code I've ever written. Thanks for the IMAPClient implementation @mjs0 lol github.com/ctrlcctrlv/sfdutf…
2
5
Meanwhile 'pres' lookup 11 looks alright to me, although you probably can cut latn{dflt}. You can't mix dev2 and deva like this and expect it to work. Also, I must caution you, Indic shaping is likely broken in MetricsView. Please rely on HarfBuzz. Cf github.com/fontforge/fontfor….
2
1
Replying to @RatanKarna
I took a look. Sorry to tell you I'm not an expert in Indic shaping, which uses very different (script-dependent) rules than normal OpenType shaping. However I still may know what's wrong. Only the lookup marked 'pres' Pre Base Substitutions lookup 19 has this strange metadata:
1
1
1
By "SVG font", FontForge means the outmoded SVG 1.1 standard, *not* SVG-in-OpenType, a type of OpenType font which contains SVG files for its glyphs, which it cannot yet create. And, even its SVG 1.1 support has issues, cf. e.g. github.com/fontforge/fontfor…. Workarounds below.
1
1
1
You may not want to put such a path in a TrueType font, however, as while some rasterizers might handle it correctly (left), others, may handle it incorrectly (right).
5
This is one reason you should avoid self-intersecting paths in your final outputs. Althugh, certain self intersecting paths can all be valid, especially in variable fonts. For example:
1
4
The reason for this is that a single self-intersecting contour actually has multiple directions. Therefore, to ask, "what direction is this contour in", is an unanswerable question. Both and neither.
1
1
But sometimes a contour is of indeterminate direction. Any self-intersecting contour, for example, is of indeterminate direction, and the options to set clockwise or counter-clockwise will be greyed out.
1
1
⋆˚。⋆ ˚ Why FontForge can't set every contour Clockwise/Counter-clockwise ˚ ⋆。˚⋆ It's a simple fact of math that not every contour has a clockwise or counter-clockwise winding direction. Some contours are simple. This one is clearly clockwise. Point 0 is at 9 o'clock.
1
2
9
This almost became our icon in 2014 😳
1
2
2
19
One of FontForge's more arcane features, its X11 character selector, was finally removed today as part of a larger cleanup effort. (It had been broken since 2012.) RIP to a feature almost everyone forgot and hardly anyone ever used. (Author: Jeremy Tan) github.com/fontforge/fontfor…
1
11
As of the merger of PR №4531 (December 13, 2020), thanks to the feedback from you and others, FontForge no longer defaults to reserving font names. This change is already in developer builds and will be in the next release.
2
4
Thanks to @.linusromer on GitHub, FontForge development builds now have a more accurate «Merge» function! (Cf. PR №4567, Issue №4552) This will be in the next release, whenever that is. ☺
1
5
22
Replying to @FontForge @davelab6
Typically what I do is write the contextual feature in OpenType Feature File syntax and then use "Merge Feature Info". I talk about that a bit here. youtu.be/WqSQU7nuTsc
1
🎇 Happy New Year to the world of open source typography from the FontForge Project 🎆 🎇 2021年も宜しくお願いします〜!🎇
2
1
11
Happy Holidays to the FontForge community 🎄☃️ If for some reason you are tinkering with FontForge this holiday, perhaps you will enjoy this development log of a simple OpenType font made completely in FontForge's Python API, FRB Cistercian. teapawt.org/fr_brennan/status/1341…
You know what I'm going to spend the next few hours making a font for Cistercian numerals. It's simple and I want to show it to someone. Come, followers, along for the ride, if you please! Begin thread. I will do this in real time. You can watch my process for a simple font.
1
2
6
In standard Python this does nothing, but in FontForge's Python API, this re-encodes the font as Unicode BMP and then compacts it, which often times will result in a different order than just compacting it. :-)
1
3
Replying to @glukfonts
Hey, good news! It's working on Chrome in Android!!