OLD | NEW |
1 /***************************************************************************/ | 1 /***************************************************************************/ |
2 /* */ | 2 /* */ |
3 /* ftpatent.c */ | 3 /* ftpatent.c */ |
4 /* */ | 4 /* */ |
5 /* FreeType API for checking patented TrueType bytecode instructions */ | 5 /* FreeType API for checking patented TrueType bytecode instructions */ |
6 /* (body). */ | 6 /* (body). */ |
7 /* */ | 7 /* */ |
8 /* Copyright 2007, 2008, 2010 by David Turner. */ | 8 /* Copyright 2007, 2008, 2010 by David Turner. */ |
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 |
18 #include "../../include/ft2build.h" | 18 #include <ft2build.h> |
19 #include "../../include/freetype/freetype.h" | 19 #include FT_FREETYPE_H |
20 #include "../../include/freetype/tttags.h" | 20 #include FT_TRUETYPE_TAGS_H |
21 #include "../../include/freetype/internal/ftobjs.h" | 21 #include FT_INTERNAL_OBJECTS_H |
22 #include "../../include/freetype/internal/ftstream.h" | 22 #include FT_INTERNAL_STREAM_H |
23 #include "../../include/freetype/internal/services/svsfnt.h" | 23 #include FT_SERVICE_SFNT_H |
24 #include "../../include/freetype/internal/services/svttglyf.h" | 24 #include FT_SERVICE_TRUETYPE_GLYF_H |
25 | 25 |
26 | 26 |
27 static FT_Bool | 27 static FT_Bool |
28 _tt_check_patents_in_range( FT_Stream stream, | 28 _tt_check_patents_in_range( FT_Stream stream, |
29 FT_ULong size ) | 29 FT_ULong size ) |
30 { | 30 { |
31 FT_Bool result = FALSE; | 31 FT_Bool result = FALSE; |
32 FT_Error error; | 32 FT_Error error; |
33 FT_Bytes p, end; | 33 FT_Bytes p, end; |
34 | 34 |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 } | 277 } |
278 #else | 278 #else |
279 FT_UNUSED( face ); | 279 FT_UNUSED( face ); |
280 FT_UNUSED( value ); | 280 FT_UNUSED( value ); |
281 #endif | 281 #endif |
282 | 282 |
283 return result; | 283 return result; |
284 } | 284 } |
285 | 285 |
286 /* END */ | 286 /* END */ |
OLD | NEW |