Jump to content
Your secret tool for flawless typography – Grab 40% off today!

Fontforge script export all glyphs to eps

Recommended Posts

Posted

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

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 typography network

The best typography links of the week.
The type specimens of the world.
Discover the fonts from the Germany foundry FDI Type. A brand of Schriftkontor Ralf Herrmann.
Typografie.info – The German typography community
Check out our typography channel on Instagram
×
×
  • Create New...

Important Information

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