Creating a font editor?
Typofactory
Posts: 56
in Punchcutting
Hello,
I am learning a little bit if programming, and I realized I wanted a personal font editor that I could customize myself. I looked into the main font editors (Glyphs, Robofont, Fontlab 8) and I learned pretty quickly that Robofont was made entirely(?) in Python. Python is the programming language I am best at, but I am not great. I wanted to know if anyone who has tried knows how hard it is or rewarding or really anything about trying to make my own.
I currently have Glyphs, but there are some features I want in order to streamline my own process. I am assuming by the large price tags associated with these pieces of software that something about them is hard to make/laborious.
Thanks!
I am learning a little bit if programming, and I realized I wanted a personal font editor that I could customize myself. I looked into the main font editors (Glyphs, Robofont, Fontlab 8) and I learned pretty quickly that Robofont was made entirely(?) in Python. Python is the programming language I am best at, but I am not great. I wanted to know if anyone who has tried knows how hard it is or rewarding or really anything about trying to make my own.
I currently have Glyphs, but there are some features I want in order to streamline my own process. I am assuming by the large price tags associated with these pieces of software that something about them is hard to make/laborious.
Thanks!
Tagged:
0
Comments
-
Sorry, I put this in the wrong category
It was supposed to go in Type Design Software0 -
something about them is hard to make/laborious.
To write a good font editor, you will need deep understanding of:- Programming (because you're writing a complex program)
- Graphical user interface design and programming / UX design (because you're writing a very visual app)
- Type design (because you'll need to understand how type designers want to use such an app)
- Computational geometry (because manipulating Bézier curves is nasty)
- The OpenType font format (because you're going to be writing those things out)
3 -
There’s a whole graveyard full of font editors that died prematurely. TruFont, RuneBender, MFEK, Metapolator, Prototypo, maybe more that I forgot. As far as I followed their development, they hit some road blocks for exactly the reasons Simon stated.
Both Georg (Glyphs) and Frederik (RoboFont) were experienced type designers before they got into programming, who spent years and years on their vision to build their own editors.
If you want to add your own features, it is probably possible in existing editors. You will make it easier on yourself to start there. Python knowledge is a very good starting point, as both Glyphs and RoboFont can be heavily customized and extended with Python scripting. And both have communities that are happy to help.
Or you can try to contribute to new projects, e.g. Fontra, currently in development, which runs in the browser with a Python backend.7 -
Typofactory said:I learned pretty quickly that Robofont was made entirely(?) in Python.
I currently have Glyphs, but there are some features I want in order to streamline my own process.
The beauty of both Glyphs and RoboFont is that they are highly extensible. In the Glyphs ecosystem, since that is what you already have, I recommend getting familiar with its Python scripting API, as you are already comfortable with Python. From there, maybe try writing some more complex scripts with basic user interfaces using the Vanilla library. And from there, you can dive into Glyphs plugin-making, which requires writing that trickier native Mac code.
What features do you want to add to Glyphs?I am assuming by the large price tags associated with these pieces of software that something about them is hard to make/laborious
Creating and maintaining an app like RoboFont or Glyphs is a huge, never-ending endeavor. Customer support is a big part of it. When I write to Georg about some bug or feature request, and he has a fix pushed out in just a few hours, I think to myself that I actually haven't paid nearly enough for Glyphs.Still, I agree with Jens: there is a lot of opportunity to contribute to Fontra. And there's a lot of reason to believe Fontra will not join the same graveyard as the others.4 -
@jeremy tribby Robofont is written in Python and heavily advertised as such. It is the first sentence on the Robofont.com web site: “Written from scratch in Python with scalability in mind.”1
-
I stand corrected, that is very impressive it is 100% python! I guess all the mac-specific bits are handled by vanilla and pyobjc? makes me wonder how it all gets bundled
0 -
jeremy tribby said:I stand corrected, that is very impressive it is 100% python! I guess all the mac-specific bits are handled by vanilla and pyobjc? makes me wonder how it all gets bundled
There are also other GUI wrappers that can be used, like wxpython, which would allow the app to run on Windows and Linux as well. The FontTools Workbench is an example which uses wxpython.
py2app is also Mac-specific, though. For Windows, py2exe can be used to make the app standalone.3 -
that is amazing. it makes sense given the connection between modern font tooling and python, but I'm surprised and delighted to learn this extends to the GUIs as well. I remember tools like perl2exe from a long long time ago, but I had no idea such things were still around or behind such powerful modern tools. not to get too far off topic but I would have guessed apple's increasingly strict policies would make it near impossible to distribute apps built in such a way. is this a precarious situation, or it's all fine as long as the app store isn't involved?
0 -
Jens Kutilek said:py2app is also Mac-specific, though. For Windows, py2exe can be used to make the app standalone.
1 -
Vasily Draigo said:Jens Kutilek said:py2app is also Mac-specific, though. For Windows, py2exe can be used to make the app standalone.0
-
jeremy tribby said:that is amazing. it makes sense given the connection between modern font tooling and python, but I'm surprised and delighted to learn this extends to the GUIs as well. I remember tools like perl2exe from a long long time ago, but I had no idea such things were still around or behind such powerful modern tools. not to get too far off topic but I would have guessed apple's increasingly strict policies would make it near impossible to distribute apps built in such a way. is this a precarious situation, or it's all fine as long as the app store isn't involved?0
-
RoboFont may be “entirely in Python” but the Vanilla UI library presumes macOS. If there’s some OS-independent version of Vanilla floating around that allows RoboFont to run in Windows, that would be news to me.
Judging by his/her recent Jannon specimen, Typofactory does own a Mac, so Robofont and Glyphs are both available.
1 -
Dave Crossland said:Since it's coupled to macos, why precarious?
3 -
is that a spoof of the xkcd comic?3
-
Anybody know whatever happened to Trufont, or rather its main developer? There was a lot of momentum at a point, and then it just evaporated while being ever so close to being proper beta quality.
0 -
John Butler said:RoboFont may be “entirely in Python” but the Vanilla UI library presumes macOS. If there’s some OS-independent version of Vanilla floating around that allows RoboFont to run in Windows, that would be news to me.
1 -
The related project Drawbot has a Cairo-based fork that runs on Linux, and it was last updated... six years ago.
0 -
Dave Crossland said:Since it's coupled to macos, why precarious?0
-
From the little insight I have into the black box that is Apple, they do recognize that extensibility is a key aspect of pro apps on the Mac, including their own Final Cut and Logic. iOS is steadily gaining scripting capabilities in the form of Shortcuts, so this even extends to their most restrictive platform.2
-
Trufont died when Adrien Tetar decided to rewrite it with it's own source data structure/file format, and switch widget sets, and then graduated and got a job at Microsoft, not related to fonts, leaving both versions unfinished.5
Categories
- All Categories
- 40 Introductions
- 3.7K Typeface Design
- 795 Font Technology
- 1K Technique and Theory
- 613 Type Business
- 444 Type Design Critiques
- 539 Type Design Software
- 30 Punchcutting
- 136 Lettering and Calligraphy
- 83 Technique and Theory
- 53 Lettering Critiques
- 480 Typography
- 300 History of Typography
- 113 Education
- 67 Resources
- 495 Announcements
- 79 Events
- 105 Job Postings
- 148 Type Releases
- 162 Miscellaneous News
- 269 About TypeDrawers
- 53 TypeDrawers Announcements
- 116 Suggestions and Bug Reports