OLD | NEW |
1 /***************************************************************************/ | 1 /***************************************************************************/ |
2 /* */ | 2 /* */ |
3 /* ftfstype.c */ | 3 /* ftfstype.c */ |
4 /* */ | 4 /* */ |
5 /* FreeType utility file to access FSType data (body). */ | 5 /* FreeType utility file to access FSType data (body). */ |
6 /* */ | 6 /* */ |
7 /* Copyright 2008, 2009, 2014 by */ | 7 /* Copyright 2008-2015 by */ |
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ | 8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
9 /* */ | 9 /* */ |
10 /* This file is part of the FreeType project, and may only be used, */ | 10 /* This file is part of the FreeType project, and may only be used, */ |
11 /* modified, and distributed under the terms of the FreeType project */ | 11 /* modified, and distributed under the terms of the FreeType project */ |
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ | 12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ |
13 /* this file you indicate that you have read the license and */ | 13 /* this file you indicate that you have read the license and */ |
14 /* understand and accept it fully. */ | 14 /* understand and accept it fully. */ |
15 /* */ | 15 /* */ |
16 /***************************************************************************/ | 16 /***************************************************************************/ |
17 | 17 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 | 53 |
54 if ( ( os2 = (TT_OS2*)FT_Get_Sfnt_Table( face, FT_SFNT_OS2 ) ) != NULL && | 54 if ( ( os2 = (TT_OS2*)FT_Get_Sfnt_Table( face, FT_SFNT_OS2 ) ) != NULL && |
55 os2->version != 0xFFFFU ) | 55 os2->version != 0xFFFFU ) |
56 return os2->fsType; | 56 return os2->fsType; |
57 | 57 |
58 return 0; | 58 return 0; |
59 } | 59 } |
60 | 60 |
61 | 61 |
62 /* END */ | 62 /* END */ |
OLD | NEW |