Rename `FT_XFREE86_H' to `FT_FONT_FORMATS_H'.

* include/config/ftheader.h: Implement it.
* src/base/ftfntfmt.c, docs/CHANGES: Updated.
This commit is contained in:
Werner Lemberg 2015-03-11 07:45:05 +01:00
parent f4d1c11faa
commit dd7028c46e
4 changed files with 18 additions and 5 deletions

View File

@ -1,3 +1,10 @@
2015-03-11 Werner Lemberg <wl@gnu.org>
[base] Rename `FT_XFREE86_H' to `FT_FONT_FORMATS_H'.
* include/config/ftheader.h: Implement it.
* src/base/ftfntfmt.c, docs/CHANGES: Updated.
2015-03-11 Werner Lemberg <wl@gnu.org>
[base] Rename `FT_Get_X11_Font_Format' to `FT_Get_Font_Format'.

View File

@ -43,6 +43,10 @@ CHANGES BETWEEN 2.5.5 and 2.6
function. For backwards compatibility, the old function name is
still available.
Additionally, the header file macro for this function has been
renamed to `FT_FONT_FORMATS_H' (the old name `FT_XFREE86_H' is
retained for backwards compatibility).
======================================================================

View File

@ -710,14 +710,16 @@
/*************************************************************************
*
* @macro:
* FT_XFREE86_H
* FT_FONT_FORMATS_H
*
* @description:
* A macro used in #include statements to name the file containing the
* FreeType~2 API which provides functions specific to the XFree86 and
* X.Org X11 servers.
* FreeType~2 API which provides functions specific to font formats.
*/
#define FT_XFREE86_H <ftfntfmt.h>
#define FT_FONT_FORMATS_H <ftfntfmt.h>
/* deprecated */
#define FT_XFREE86_H FT_FONT_FORMATS_H
/*************************************************************************

View File

@ -17,7 +17,7 @@
#include <ft2build.h>
#include FT_XFREE86_H
#include FT_FONT_FORMATS_H
#include FT_INTERNAL_OBJECTS_H
#include FT_SERVICE_XFREE86_NAME_H