OLD | NEW |
1 /***************************************************************************/ | 1 /***************************************************************************/ |
2 /* */ | 2 /* */ |
3 /* cf2read.c */ | 3 /* cf2read.c */ |
4 /* */ | 4 /* */ |
5 /* Adobe's code for stream handling (body). */ | 5 /* Adobe's code for stream handling (body). */ |
6 /* */ | 6 /* */ |
7 /* Copyright 2007-2013 Adobe Systems Incorporated. */ | 7 /* Copyright 2007-2013 Adobe Systems Incorporated. */ |
8 /* */ | 8 /* */ |
9 /* This software, and all works of authorship, whether in source or */ | 9 /* This software, and all works of authorship, whether in source or */ |
10 /* object code form as indicated by the copyright notice(s) included */ | 10 /* object code form as indicated by the copyright notice(s) included */ |
(...skipping 19 matching lines...) Expand all Loading... |
30 /* */ | 30 /* */ |
31 /* By using, modifying, or distributing the Work you indicate that you */ | 31 /* By using, modifying, or distributing the Work you indicate that you */ |
32 /* have read and understood the terms and conditions of the */ | 32 /* have read and understood the terms and conditions of the */ |
33 /* FreeType Project License as well as those provided in this section, */ | 33 /* FreeType Project License as well as those provided in this section, */ |
34 /* and you accept them fully. */ | 34 /* and you accept them fully. */ |
35 /* */ | 35 /* */ |
36 /***************************************************************************/ | 36 /***************************************************************************/ |
37 | 37 |
38 | 38 |
39 #include "cf2ft.h" | 39 #include "cf2ft.h" |
40 #include "../../include/freetype/internal/ftdebug.h" | 40 #include FT_INTERNAL_DEBUG_H |
41 | 41 |
42 #include "cf2glue.h" | 42 #include "cf2glue.h" |
43 | 43 |
44 #include "cf2error.h" | 44 #include "cf2error.h" |
45 | 45 |
46 | 46 |
47 /* Define CF2_IO_FAIL as 1 to enable random errors and random */ | 47 /* Define CF2_IO_FAIL as 1 to enable random errors and random */ |
48 /* value errors in I/O. */ | 48 /* value errors in I/O. */ |
49 #define CF2_IO_FAIL 0 | 49 #define CF2_IO_FAIL 0 |
50 | 50 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 | 103 |
104 /* note: end condition can occur without error */ | 104 /* note: end condition can occur without error */ |
105 FT_LOCAL_DEF( FT_Bool ) | 105 FT_LOCAL_DEF( FT_Bool ) |
106 cf2_buf_isEnd( CF2_Buffer buf ) | 106 cf2_buf_isEnd( CF2_Buffer buf ) |
107 { | 107 { |
108 return (FT_Bool)( buf->ptr >= buf->end ); | 108 return (FT_Bool)( buf->ptr >= buf->end ); |
109 } | 109 } |
110 | 110 |
111 | 111 |
112 /* END */ | 112 /* END */ |
OLD | NEW |