diff options
author | Werner Lemberg <wl@gnu.org> | 2014-12-03 10:18:34 +0100 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2014-12-03 10:18:34 +0100 |
commit | 16188ebfac8f179bfeb32a6a3147b4264516bc79 (patch) | |
tree | abc21b4f3580646580eba18e50ec43e3ae350d41 /src/base/ftfstype.c | |
parent | 16dc5d0b04fa1a67397e936fe7fcf700a732c102 (diff) | |
download | freetype2-16188ebfac8f179bfeb32a6a3147b4264516bc79.tar.gz |
FT_Sfnt_Tag: s/ft_sfnt_xxx/FT_SFNT_XXX/ for orthogonality.
All public FreeType enumeration and flag values are uppercase...
* include/tttables.h (FT_Sfnt_Tag): Implement it. For backwards
compatilibity, retain the old values as macros.
* src/base/ftfstype.c (FT_Get_FSType_Flags), src/sfnt/sfdriver.c
(get_sfnt_table): Updated.
Diffstat (limited to 'src/base/ftfstype.c')
-rw-r--r-- | src/base/ftfstype.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base/ftfstype.c b/src/base/ftfstype.c index d0ef7b7c1..6b49ef837 100644 --- a/src/base/ftfstype.c +++ b/src/base/ftfstype.c @@ -4,7 +4,7 @@ /* */ /* FreeType utility file to access FSType data (body). */ /* */ -/* Copyright 2008, 2009 by */ +/* Copyright 2008, 2009, 2014 by */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* */ /* This file is part of the FreeType project, and may only be used, */ @@ -51,7 +51,7 @@ /* look at FSType before fsType for Type42 */ - if ( ( os2 = (TT_OS2*)FT_Get_Sfnt_Table( face, ft_sfnt_os2 ) ) != NULL && + if ( ( os2 = (TT_OS2*)FT_Get_Sfnt_Table( face, FT_SFNT_OS2 ) ) != NULL && os2->version != 0xFFFFU ) return os2->fsType; |