Projects / ttmkfdir

ttmkfdir

ttmkfdir is a tool to create valid and complete fonts.dir files from TrueType fonts. It is very useful when you plan to use a TrueType enabled font server that is based on the X11R6 sample implementation (xfsft for instance). Great care has been taken to correctly identify the encodings that a given TrueType font supports.

Tags
Licenses

Recent releases

  •  22 Oct 2002 20:58

    Release Notes: This release links against freetype2 and uses libtool for compiling.

    •  20 Jan 1999 12:15

      Release Notes: First freshmeat announcement.

      Recent comments

      30 Jun 2005 08:58 jonadab

      Re: New version
      This all seems rather obsolete now. Distributions are now (June 2005) shipping a version 3.0.9, but I cannot seem to find a primary source for that version, or the source for it, on the web. rmpfind turns up a binary rpm, which _lists_ a src.rpm as the corresponding source, but I don't see the src.rpm on rpmfind and had difficulty turning it up anyplace.

      So, where is this version 3.0.9 coming from? Who is maintaining it? If the binary-packaged version just dumps core on my (Ubuntu) system, where can I get the source in order to compile it myself?

      I eventually tracked down a src.rpm here:
      http://dominia.org/djao/xfree430/SRPMS/
      And another one here:
      http://ftp.redhat.com/pub/redhat/linux/enterprise/4/en/os/i386/SRPMS/
      These, however, do not compile on my system, complaining about header-inclusion order, and not being a C programmer I really can't get anywhere with that. I can't find the source in a package format other than rpm anywhere. Synaptic doesn't show a "devel" or "source" package for ttmkfdir, for instance; sourceforge has never heard of it; Google is little help, either. Can someone tell me where to get a version of this that will compile?

      25 Dec 2004 15:42 flgllm1

      Command line
      Users might want to note to run ttmkfdir from the directory with the TTF fonts, using the -o commandline option to specify the destination file

      17 Oct 2002 13:13 fredlwm

      Re: compiling with gcc 3.2, glibc 2.2.5 and Python 2.2.2

      > For gcc 3.2 use the upper hint. But
      > there was
      > another compile error: When make stops
      > with an
      > error about different exception
      > difinitions in isatty,
      > change in parser.cpp at lin3 1505 to
      > extern int isatty
      > YY_PROTO((int)) throw ();

      I had the same problem, but fixed it upgrading flex to the version from RedHat Raw Hide (ftp://rawhide.redhat.com/pub/redhat/linux/rawhide/SRPMS/SRPMS/), which includes some patches. I was using the one from Slackware. parser.cpp is autogenerated. BTW, you don't need Python. I compiled without it.


      Anyway, I don't know if this ttmkfdir version is that better, but seems the most up do date, and I wanted to avoid installing FreeType 1.x.

      17 Oct 2002 11:47 danosterrath

      compiling with gcc 3.2, glibc 2.2.5 and Python 2.2.2
      For gcc 3.2 use the upper hint. But there was
      another compile error: When make stops with an
      error about different exception difinitions in isatty,
      change in parser.cpp at lin3 1505 to extern int isatty
      YY_PROTO((int)) throw ();

      09 Oct 2002 15:33 fredlwm

      New version
      I found a new unofficial (I really doubt there will be any official) version (dated April 17) here (http://people.redhat.com/yshao/). I compiled it with GCC 3.2 and FreeType 2.1.2 (the old requires FreeType 1.x).

      I had to add the following to ttf.h, after #include "encoding.h": using namespace std;

      Screenshot

      Project Spotlight

      OpenStack4j

      A Fluent OpenStack client API for Java.

      Screenshot

      Project Spotlight

      TurnKey TWiki Appliance

      A TWiki appliance that is easy to use and lightweight.