Grow your CSS skills. Land your dream job.

Fontforge

  • # March 6, 2009 at 5:16 am

    Has anyone got this little program to work???

    I tried to install in on windows, and the linux environment program, just stalled. so twice, so its not working on my windows machine… also logged into my linux system, and it wont install under the adept package manager or the rpm

    I can’t seem to get this to work, as I would like to convert a font to TTF to add in FLIR for a client (as a nice touch/ it will be the same as their launch newsletter), who’s site is going live 13th march…

    can someone help?

    # March 9, 2009 at 5:38 pm

    A much, much easier way is to install Ubuntu under Wubi (Linux under NTFS in a virtual filesystem). This way you get full Linux without dirtying up your Windows installation. The ubuntu developers will have taken care that fontforge runs without stalling.

    # March 12, 2009 at 1:40 pm
    "Matt" wrote:
    A much, much easier way is to install Ubuntu under Wubi (Linux under NTFS in a virtual filesystem). This way you get full Linux without dirtying up your Windows installation. The ubuntu developers will have taken care that fontforge runs without stalling.

    on my computer I can boot into either windows or kubuntu, but it wont install in kubuntu

    # March 14, 2009 at 11:30 pm
    "ikthius" wrote:
    on my computer I can boot into either windows or kubuntu, but it wont install in kubuntu

    Aye, ok. You may need to compile from source then.

    Run

    Code:
    sudo aptitude install build-essential

    to install the necessary build tools. When done:

    Code:
    sudo aptitude update
    sudo aptitude install libpng12-dev zlibc zlib1g-dev libtiff-dev
    libungif4-dev libjpeg-dev libxml2-dev libuninameslist-dev
    xorg-dev subversion cvs gettext git libpango1.0-dev
    libcairo2-dev

    Next, pull a stable fontforge package:

    Code:
    cd ~/
    mkdir fontforge
    cd fontforge
    cvs -d:pserver:anonymous@fontforge.cvs.sourceforge.net:/cvsroot/fontforge login
    cvs -d:pserver:anonymous@fontforge.cvs.sourceforge.net:/cvsroot/fontforge co fontforge

    Other stuff

    Code:
    cvs -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/freetype login
    cvs -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/freetype co freetype2
    cvs -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/freetype co ft2demos
    svn co http://libspiro.svn.sourceforge.net/svnroot/libspiro/

    Let’s assume you have a truetype hinting license from Apple, so we can actually use/make the fonts we need:

    Code:
    nano freetype2/include/freetype/config/ftoption.h

    Change /* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER */ to #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER

    Press Control + X Control + Y Return

    Now to compile:

    Code:
    cd ~/fontforge/libspiro
    ./configure
    make

    if the compile went successfully, with no errors

    Code:
    sudo make install

    now for the actual meat, fontforge:

    Code:
    cd ~/fontforge/fontforge/
    ./configure –enable-pyextension –enable-type3 –enable-pasteafter
    –enable-tilepath –enable-double –enable-device-tables
    –with-capslock-for-alt –with-freetype-bytecode
    –with-freetype-src=../freetype2 –with-x –with-pango
    make

    Again, if successful:

    Code:
    sudo make install

    If all succeeded, you should be able to run with either

    Code:
    fontforge

    or

    Code:
    /usr/local/bin/fontforge

    This worked for me back on Gutsy Gibbon, but it should work for Intrepid Ibex also as well as Jaunty Jackalope. Also, I wrote this assuming that you (or anybody else reading) had no previous knowledge, no offense to anybody if it’s too easy for them.

    Oh, sauce: http://www.openfontlibrary.org/wiki/Fon … n.2FUbuntu

    # March 15, 2009 at 6:26 am

    thanks for your instructions, I will try this soon…..

    although I got linux and have had for a while, I am still really bad at learning it

    # March 15, 2009 at 5:35 pm
    "ikthius" wrote:
    thanks for your instructions, I will try this soon…..

    although I got linux and have had for a while, I am still really bad at learning it

    You could learn it my way (I took courses on Minix back in school, for which is basic knowledge enough for Linux), or like everyone else, find every possible way to break everything, and then fix it one google at a time. :D

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".