Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(445)

Side by Side Diff: third_party/freetype/src/cff/cf2read.c

Issue 815103002: Update freetype to 2.5.4. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Adjust GYP and GN Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/freetype/src/cff/cf2read.h ('k') | third_party/freetype/src/cff/cf2stack.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 */
OLDNEW
« no previous file with comments | « third_party/freetype/src/cff/cf2read.h ('k') | third_party/freetype/src/cff/cf2stack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698