freetype-devel
[Top][All Lists]
Advanced

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

[ft-devel] Slightly modified header inclusion scheme


From: Werner LEMBERG
Subject: [ft-devel] Slightly modified header inclusion scheme
Date: Mon, 22 Jun 2015 06:50:56 +0200 (CEST)

I've fixed Savannah bug #45097

  https://savannah.nongnu.org/bugs/?45097

As a consequence, we have a slighly modified header inclusion scheme.
>From the CHANGES file:

    - The header file layout has been slightly changed (again).  After
      installation,   the  file   `ft2build.h'  is   now  located   in
      `<prefix>/include'.  Additionally, the  header directory include
      path  has changed  from  `<prefix>/include/freetype2' to  simply
      `<prefix>/include'.

      Doing so  reduces the  possibility of  header file  name clashes
      (e.g., FTGL's  `FTGlyph.h' with  FreeType's `ftglyph.h'  on case
      insensitive file systems like Mac OS X or Windows).

      Applications  that  use   (a)  `freetype-config'  or  FreeType's
      `freetype2.pc' file for pkg-config  to get the include directory
      for  the  compiler,  and  (b)  the  documented  way  for  header
      inclusion like

        #include <ft2build.h>
        #include FT_FREETYPE_H
        ...

      don't need any change to the source code.

Please test!


    Werner



reply via email to

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