freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FT2 code cleanup


From: David Turner
Subject: FT2 code cleanup
Date: Fri, 07 Jul 2000 21:53:39 +0200

Just to inform you that some "important" changes occured lately to the FT2
source code:

  - support for flat compilation + project-relative include paths:

      it is now possible to copy all sources files under "src" and
      compile them by defining the "FT_FLAT_COMPILE" macro at compile
      time. This may be interesting for a number of projects. Note
      that the hierarchy of include files is unchanged though.

      For an example, read the last section of "docs/BUILD"

      I have also changed the #include in the source files to make
      a normal build relative to the content of "src". This means that
      a line like:

          #include <ttobjs.h>

      is now replaced by:

          #include <truetype/ttobjs.h>

      This allows to only specify "include" and "src" in the list of
      include paths during compilation. Hence:

          cc -c -Iinclude -Isrc/truetype src/truetype/truetype.c

      is now replaced by:

          cc -c -Iinclude -Isrc  src/truetype/truetype.c

      This should ease the build of the font library in various IDEs..

  - the directory "freetype2/config" has been renamed "freetype2/builds"
    as this corresponds more to its contents

  - a new module, named "ft2demos", has been added to the CVS repository and
    contains the demonstration programs with an updated Makefile. Note that
    "freetype2/demos" still exists but should disappear real soon now..

  - a Windows FNT/FON driver was added under "src/winfonts/winfnt.c". The
    PCF/BDF drivers are still in the works

  - the "src/cff" drivers now handles pure CFF and "CEF" fonts. The latter are
    used by the Adobe SVG Viewer to embed fonts in SVG documents. It's simply
    an OpenType/CFF font with a bit less tables to save space (apparently)..

That's all for now, I'm back to completing the tutorial..

Cheers,

- David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]