question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

feature request: --make ttf/cff/cff2/svg/blahblahblah

See original GitHub issue

Every time I had a dumb or possibly-not-dumb-but-definitely-crazy idea for a font, I reach for TTX with a small font file and then strip down the converted XML to then start hacking on the initial font in XML form… but it would be super great if I didn’t have to find a random small font to strip down, but instead had a way to say something like: ttx --make-ttf or ttx --make cff2 and have it output minimal XML for a stub font with a null and space glyph with a 3/1/0 cmap or something, with a way to indicate whether you need TTF’s loca+glyf, or a CFF/CFF2 block, or an SVG table, or even EBDT and friends?

There could even just be minimal ttf/cff/cff2/svg/ebdt fonts that are used to generate the XML by running “ttx thatfont.otf” under the hood or something. Stub fonts are truly tiny, so including all of them would pack maybe 2kb to the fonttools install?

Anyway, just a thought.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:2
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
behdadcommented, Nov 30, 2018

Yes please!!! Now that there’s fontBuilder module, maybe this becomes the command-line interface to that module…

1reaction
justvanrossumcommented, Dec 2, 2018

There are some examples in the source: https://github.com/fonttools/fonttools/blob/master/Lib/fontTools/fontBuilder.py It’s pretty new, and still requires quite some spec knowledge, but it does make it a lot easier to programmatically get a working font.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Feature Requests: What are they and how to manage them
Feature requests are a form of product feedback you may frequently encounter as a SaaS product manager. They typically come in the form...
Read more >
How to handle Internal Feature Requests. | by Guerrilla Product
We're a growing startup, a lot of people making requests have a lot of ... It usually sounds like this: “I have a...
Read more >
How to Make a Feature Request | Short.Io Help Center
1. Feature Requests - see the existed feature requests. 2. Planned - the requests that are approved and are going to be implemented....
Read more >
Feature Request Template: How to Manage Suggestions at ...
A feature request template provides a framework for your users to give feedback, making your life as a product manager a whole lot...
Read more >
APP feature request - DJI FORUM
Hi Im sure this is something that should be easy to implement, and I'm sure its been asked for before by many, but...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found