Jump to content
Check out our typography channel on Instagram

Fontforge script export all glyphs to eps

Recommended Posts

Michel Boyer

If you are on a Mac or on linux and if you want a fontforge script to execute from the command line, then save the lines

Open($1)
SelectWorthOutputting()
Export("eps")

to some file, say expglyphs.pe and then the call

fontforge -lang=ff -script expglyphs.pe <fontfile>

should give you one eps file for each glyph in the font.

Else you probably want a script to call from within FontForge using File > Execute Script > FF: in that case, remove the first line from the script above. You could also select the glyphs to output using the user interface instead of a script; you then need only the line Export("eps") or simply type Export("eps") directly in the little window that appears when you select File > Execute Script > FF.

Added: with the extension .pe, the script is properly listed when you click on ... in Files > Preferences > Script Menu and you can then easily add it to Files > Script Menu

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Our partners

Discover the Best Deals for Freelance Designers.
Get to your apps and creative work. Explore curated inspiration, livestream learning, tutorials, and creative challenges.
The largest selection of professional fonts for any project. Over 130,000 available fonts, and counting.
Discover the fonts from the Germany foundry FDI Type. A brand of Schriftkontor Ralf Herrmann.
The latest typography links delivered straight to your inbox.
×
×
  • Create New...

Important Information

We are placing functional cookies on your device to help make this website better.