FontForge has integrated Spiro!

FontForge doing Spiros

Pictures have a thousand words.

Excellent.

The latest installation information is now maintained at http://www.openfontlibrary.org/wiki/FontForgeInstallation

To Install FontForge with Spiro On Gobuntu:

Open a terminal and install the libraries and darcs:

sudo aptitude install xorg-dev darcs libpng3-dev zlibc zlib1g-dev libtiff-dev libungif4-dev libjpeg-dev libxml2-dev libuninameslist-dev

And then check out a copy of FontForge’s latest version:

cvs -d:pserver:anonymous@fontforge.cvs.sourceforge.net:/cvsroot/fontforge login

and hit return to enter a blank password, and then download the sourcecode with:

cvs -d:pserver:anonymous@fontforge.cvs.sourceforge.net:/cvsroot/fontforge checkout fontforge

We first go grab the freetype source code, and then Spiro.

cd fontforge  
wget http://download.savannah.gnu.org/releases/freetype/freetype-2.3.5.tar.gz  
tar zxfv freetype-2.3.5.tar.gz  
gedit freetype-2.XXX/include/freetype/config/ftoption.h

and replace

/* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER */

with

#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER

And save and close it. Back in the terminal,

cd ffspiro  
darcs get http://levien.com/garden/ppedit/  
./configure --with-spiro-srcdir=`pwd`  
make  
sudo make install  
cd ..

Finally, build and install fontforge

./configure --with-freetype-bytecode --with-freetype-src=freetype-2.3.5  --without-python  
make  
sudo make install  
sudo make install_docs  

And run it with

/usr/local/bin/fontforge

:-)

Problems

I can’t find libraries for libiconv and libintl in Gobuntu repositories, and --with-python can’t find setup.py when I make install.

FontForge doing crazy curve Spiros

Spiro has those lovely crazy curves when the splines don’t converge.

Whimsically, the label for .plate files in the Import dialog’s dropdown list is fun… Perhaps “Plate” would be more regular (and boring)?

Raph’s Plate Files

Creative Commons License
The FontForge has integrated Spiro! by David Crossland, except the quotations and unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.

Comments

One Response to “FontForge has integrated Spiro!”

  1. .:: DiseñoLibre.ORG ::. » Spiromanía on May 26th, 2008 13:08

    […] de edición gráfica. Inkscape promete spiro para la próxima version 0.47. FontForge en cambio, ya lo incluye desde hace pocos meses. Spiro fue presentrado en Libre Graphics Meeeting 2007 en Montreal en la […]

Leave a Reply