forked from minhngoc25a/freetype2
* include/freetype/freetype.h (FT_IS_NAMED_INSTANCE): New macro.
This commit is contained in:
parent
ee3f36f6b3
commit
ff655437e3
|
@ -1,3 +1,7 @@
|
||||||
|
2016-07-14 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
|
* include/freetype/freetype.h (FT_IS_NAMED_INSTANCE): New macro.
|
||||||
|
|
||||||
2016-07-14 Werner Lemberg <wl@gnu.org>
|
2016-07-14 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
[sfnt] Fix `face_index' value in `FT_Face' for named instances.
|
[sfnt] Fix `face_index' value in `FT_Face' for named instances.
|
||||||
|
|
|
@ -9,6 +9,12 @@ CHANGES BETWEEN 2.6.5 and 2.7
|
||||||
documented.
|
documented.
|
||||||
|
|
||||||
|
|
||||||
|
II. MISCELLANEOUS
|
||||||
|
|
||||||
|
- A new macro `FT_IS_NAMED_INSTANCE' to test whether a given face
|
||||||
|
is a named instance.
|
||||||
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
|
|
||||||
CHANGES BETWEEN 2.6.4 and 2.6.5
|
CHANGES BETWEEN 2.6.4 and 2.6.5
|
||||||
|
|
|
@ -1358,6 +1358,20 @@ FT_BEGIN_HEADER
|
||||||
( (face)->face_flags & FT_FACE_FLAG_MULTIPLE_MASTERS )
|
( (face)->face_flags & FT_FACE_FLAG_MULTIPLE_MASTERS )
|
||||||
|
|
||||||
|
|
||||||
|
/*************************************************************************
|
||||||
|
*
|
||||||
|
* @macro:
|
||||||
|
* FT_IS_NAMED_INSTANCE( face )
|
||||||
|
*
|
||||||
|
* @description:
|
||||||
|
* A macro that returns true whenever a face object is a named instance
|
||||||
|
* of a GX variation font.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
#define FT_IS_NAMED_INSTANCE( face ) \
|
||||||
|
( (face)->face_index & 0x7FFF0000L )
|
||||||
|
|
||||||
|
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
*
|
*
|
||||||
* @macro:
|
* @macro:
|
||||||
|
|
Loading…
Reference in New Issue