shithub: freetype+ttf2subf

ref: 44ef8cae0706ff5b79583dfddee3ed5875b2a7e3
dir: /builds/unix/ft2unix.h/

View raw version
/***************************************************************************/
/*                                                                         */
/*  ft2build.h                                                             */
/*                                                                         */
/*    Build macros of the FreeType 2 library.                              */
/*                                                                         */
/*  Copyright 1996-2001 by                                                 */
/*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
/*                                                                         */
/*  This file is part of the FreeType project, and may only be used,       */
/*  modified, and distributed under the terms of the FreeType project      */
/*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
/*  this file you indicate that you have read the license and              */
/*  understand and accept it fully.                                        */
/*                                                                         */
/***************************************************************************/


  /*************************************************************************/
  /*                                                                       */
  /* This is a Unix-specific version of <ft2build.h> that should be used   */
  /* exclusively *after* installation of the library.                      */
  /*                                                                       */
  /* It assumes that "/usr/local/include/freetype2" (or wathever is        */
  /* returned by the "freetype-config --cflags" command) is in your        */
  /* compilation include path.                                             */
  /*                                                                       */
  /* We don't need to do anything special in this release.  However, for   */
  /* FreeType 2.1, the following installation changes will be performed:   */
  /*                                                                       */
  /*   - The contents of "freetype-2.1/include/freetype" will be installed */
  /*     to "/usr/local/include/freetype2" instead of                      */
  /*     "/usr/local/include/freetype2/freetype".                          */
  /*                                                                       */
  /*   - This file will #include <freetype2/config/ftheader.h>, instead    */
  /*     of <freetype/config/ftheader.h>.                                  */
  /*                                                                       */
  /*   - The contents of "ftheader.h" will be processed with `sed' to      */
  /*     replace all "<freetype/xxx>" with "<freetype2/xxx>".              */
  /*                                                                       */
  /*   - Adding "/usr/local/include/freetype2" to your compilation include */
  /*     path will not be necessary anymore.  The command                  */
  /*     "freetype-config --cflags" will return an empty string.           */
  /*                                                                       */
  /*   - Client applications which adhere to the new inclusion scheme      */
  /*     WILL NOT NEED TO BE MODIFIED to compile with FT 2.1!              */
  /*                                                                       */
  /*************************************************************************/


#ifndef __FT2_BUILD_UNIX_H__
#define __FT2_BUILD_UNIX_H__

  /* "/usr/local/include/freetype2" must be in your current inclusion path */
#include <freetype/config/ftheader.h>

#endif /* __FT2_BUILD_UNIX_H__ */


/* END */