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
Include

Only show posts containing:

Exclude

Hide posts containing:

Time range
-
Minimum likes
The MFEK Foundation is now maintaining sfdLib, a @FontForge library primarily for converting SFD fonts to UFO (but which is easily extended to support non-UFO formats) originally by @KhaledGhetas (thank you!). @fr_brennan just made its first PyPI release: pypi.org/project/sfdLib/
1
2
9
Yes and you could check them into Git so even if FontForge wrongly deletes them you can reclaim them.
Replying to @dubovsky_jan
This does happen, unfortunately. There could be some autosave data in your Config directory, probably in .config/fontforge of your user home directory. If not there's not much more to be done unless you may have a backup of that directory during the time you were working.
1
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
Replying to @fefodois
"perfeito" ... no. Not even a little! How about "sometimes adequate"? That seems about right.
(Oh, also, this is @fr_brennan, this is a shared account. I wasn't answering the one who first answered you. Hi.) If my idea to use dev2{dflt} for 'pres' 19 does not work you're probably going to want to make a GitHub issue, there are limits to what can be solved via Twitter. 🙇
2
2
I also don't understand why you only specified non-dflt languages for 'pres' lookup 19. Stick to {dflt} unless you've a good reason, there's no reason you'd ever need a set including {dflt} as {dflt} is the set of all languages for the script.
1
1
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
③ Maybe someday ufo2ft will support it so `fontmake` can just build a font that has SVG data in its .glif files.
Workarounds for SVG-in-OT: ① You can try a script called SVGinOTlayersCompositor·py by @glukfonts: github.com/glukfonts/SVGinOT… ② You can use @FontTools ttLib class `table_S_V_G_`, passing `<svgDoc>` elements to `font["SVG"].fromXML("svgDoc", …)` as a post-processing step.
1
2
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
If you've ever tried to use FontForge in Wine you may have found you had no keyboard input. A workaround is now available: github.com/fontforge/fontfor… One shouldn't need FontForge in Wine, this is mostly of interest to developers or those wanting to use Windows-only Python code.