Fonttools version 2.2 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    fonttools  most recent diff


    version 2.2

      View the most recent changes for the fonttools port at: fonttools.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for fonttools.
      The raw portfile for fonttools 2.2 is located here:
      http://fonttools.darwinports.com/dports/print/fonttools/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/fonttools


      # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
      The fonttools Portfile 59138 2009-10-10 06:18:33Z snc macports.org $

      PortSystem 1.0
      PortGroup python26 1.0

      Name: fonttools
      Version: 2.2
      Description: XML<->TrueType/OpenType Converter
      Long Description: TTX is a tool to convert OpenType and TrueType fonts to and from XML. FontTools is a library for manipulating fonts, written in Python. It supports TrueType, OpenType, AFM and to an extent Type 1 and some Mac-specific formats.
      Platform: darwin
      Category: print
      Maintainers: kallisys.net:pguyot
      Homepage: http://www.letterror.com/code/ttx/
      Master Sites: sourceforge
      Checksums: md5 639c68113cc04e8f30ae8997d6cc480a sha1 7f4c63b4c42057a01552f54c392c0e9184e27df0 rmd160 77aa0498acfe8eed19c02e558bd81afe2ff5f713
      depends_build port:py26-numeric

      Patch Files: patch-setup.py.diff

      post-destroot {
      foreach binfile [glob -tails -directory ${destroot}${python.prefix}/bin *] {
      ln -s ${python.prefix}/bin/${binfile} ${destroot}${prefix}/bin/${binfile}
      }
      foreach manfile [glob -tails -directory ${destroot}${python.prefix}/share/man/man1 *] {
      ln -s ${python.prefix}/share/man/man1/${manfile} ${destroot}${prefix}/share/man/man1/${manfile}
      }
      }

      livecheck.regex FontTools/TTX Source Code (.*) released.*

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/fonttools
      % sudo port install fonttools
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching fonttools
      ---> Verifying checksum for fonttools
      ---> Extracting fonttools
      ---> Configuring fonttools
      ---> Building fonttools with target all
      ---> Staging fonttools into destroot
      ---> Installing fonttools
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using fonttools with these commands:
      %  man fonttools
      % apropos fonttools
      % which fonttools
      % locate fonttools

     Where to find more information:

    Darwin Ports



    Lightbox this page.