Programs designed to test and showcase FreeType, including _ftview_ and _ftgrid_.
  • C 64.7%
  • C++ 30.2%
  • Makefile 2.2%
  • DIGITAL Command Language 1.1%
  • HTML 0.8%
  • Other 0.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Werner Lemberg 8f72a3af13 * Version 2.15.0 released.
==========================

Tag sources with 'VER-2-15-0'.

* README: Updated.
* meson.build: Updated.
* man/*.1: Updated.
2026-10-11 08:45:05 +02:00
bin * bin/.gitignore: Ignore almost everything. 2017-12-16 22:09:43 -05:00
builds/windows/msvc * builds/windows/msvc/ft2demos.props: Define DLL_IMPORT. 2026-05-09 07:35:59 -04:00
graph Update all copyright notices. 2026-03-11 17:33:08 +01:00
mac Update all copyright notices. 2026-03-11 17:33:08 +01:00
man * Version 2.15.0 released. 2026-10-11 08:45:05 +02:00
objs * src/Jamfile: Mention `output.c'. 2018-04-18 21:39:16 -04:00
src * src/output.h: Use C linkage. 2026-10-11 08:19:23 +02:00
subprojects * subprojects/*: Fix meson wrap files. 2026-03-02 08:42:53 +01:00
.gitignore [build] Add Meson build files and documentation. 2021-05-24 10:23:06 +02:00
.mailmap .mailmap: Synchronize with 'freetype2' repository. 2020-12-24 08:44:52 +01:00
ChangeLog.old Typos. 2023-01-18 15:01:59 +00:00
Makefile * Makefile (dist): Replace for with find ... -exec. 2025-11-28 08:42:51 -05:00
meson.build * Version 2.15.0 released. 2026-10-11 08:45:05 +02:00
meson_options.txt Update all copyright notices. 2026-03-11 17:33:08 +01:00
MSBuild.rsp * MSBuild.rsp: Force console color for mintty. 2025-01-13 04:40:23 +00:00
MSBuild.sln [msbuild] Add ttdebug project. 2026-02-16 23:32:03 -05:00
README * Version 2.15.0 released. 2026-10-11 08:45:05 +02:00
README.meson Typos. 2023-01-18 15:01:59 +00:00
vms_make.com vms_make.com: Minor improvement. 2025-09-06 06:21:07 +02:00

This package contains example programs for the FreeType 2 library.

You can build it either using the Meson build tool (see `README.meson`
for  more details),  or  using GNU  Make,  following the  instructions
below.

WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING

  The Makefile contained in this  directory assume that the FreeType 2
  library sources are located in `../freetype`.  If you downloaded one
  of the stable  FreeType 2 source packages from our  server, you most
  probably have to rename its directory, for example:

    mv freetype-2.15.0 freetype       on Unix
    rename freetype-2.15.0 freetype   on Windows

WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING


  First compile the FreeType 2 library, then say `make`.  However, you
  must rename  the directory of  the FreeType 2 library  to `freetype`
  (or create a symlink) before doing this.

  Note  that  the  demonstration  programs  include  a  tiny  graphics
  sub-system that includes 'drivers' to display Windows on Win32, X11,
  BeOS, Mac, and  OS/2.  The build system  should automatically detect
  which driver to use based on the current platform.

  UNIX USERS
  ==========

    X11 issues
    ----------

    When building the  demos, the build system tries to  detect X11 by
    using pkg-config.   If X11 is  not found, some demo  programs will
    not be able to display graphics and will fail.

    Users with  X11 installed in  a non-standard location  can specify
    the paths  to the development  headers and library by  passing the
    X11_CFLAGS and X11_LIBS variables on the command line.

    If you  don't have X11  at all, fix  the definition of  the `EXES`
    variable as described in the top-level Makefile.

    Recent versions of Mac OS X  no longer deliver X11 by default; you
    have  to  install 'XQuartz'  or  'xorg-server'  (the successor  of
    XQuartz).   Those  bundles  are  provided  by  distributions  like
    MacPorts or homebrew.


    Using a different build directory
    ---------------------------------

    If the `configure` script of the  FreeType 2 library is run from a
    separate build directory, it creates  a dummy `Makefile` file that
    sets some variables before including the top-level Makefile of the
    source directory.   This dummy Makefile  can also be used  for the
    'ft2demos' package to be compiled in a different build directory:

       make FT2DEMOS=1 -f /path/to/freetype/build-dir/Makefile

    If necessary, adapt  the `TOP_DIR_2` variable to make  it point to
    the 'ft2demos' source directory.

--- end of README ---