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

Side by Side Diff: third_party/freetype/include/ftbzip2.h

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/include/ftbitmap.h ('k') | third_party/freetype/include/ftcache.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 /* ftbzip2.h */ 3 /* ftbzip2.h */
4 /* */ 4 /* */
5 /* Bzip2-compressed stream support. */ 5 /* Bzip2-compressed stream support. */
6 /* */ 6 /* */
7 /* Copyright 2010 by */ 7 /* Copyright 2010 by */
8 /* Joel Klinghed. */ 8 /* Joel Klinghed. */
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 18
19 #ifndef __FTBZIP2_H__ 19 #ifndef __FTBZIP2_H__
20 #define __FTBZIP2_H__ 20 #define __FTBZIP2_H__
21 21
22 #include "../ft2build.h" 22 #include <ft2build.h>
23 #include "freetype.h" 23 #include FT_FREETYPE_H
24 24
25 #ifdef FREETYPE_H 25 #ifdef FREETYPE_H
26 #error "freetype.h of FreeType 1 has been loaded!" 26 #error "freetype.h of FreeType 1 has been loaded!"
27 #error "Please fix the directory search order for header files" 27 #error "Please fix the directory search order for header files"
28 #error "so that freetype.h of FreeType 2 is found first." 28 #error "so that freetype.h of FreeType 2 is found first."
29 #endif 29 #endif
30 30
31 31
32 FT_BEGIN_HEADER 32 FT_BEGIN_HEADER
33 33
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 * compressed file, the library will try to open a bzip2 compressed stream 84 * compressed file, the library will try to open a bzip2 compressed stream
85 * from it and re-open the face with it. 85 * from it and re-open the face with it.
86 * 86 *
87 * This function may return `FT_Err_Unimplemented_Feature' if your build 87 * This function may return `FT_Err_Unimplemented_Feature' if your build
88 * of FreeType was not compiled with bzip2 support. 88 * of FreeType was not compiled with bzip2 support.
89 */ 89 */
90 FT_EXPORT( FT_Error ) 90 FT_EXPORT( FT_Error )
91 FT_Stream_OpenBzip2( FT_Stream stream, 91 FT_Stream_OpenBzip2( FT_Stream stream,
92 FT_Stream source ); 92 FT_Stream source );
93 93
94 /* */ 94 /* */
95 95
96 96
97 FT_END_HEADER 97 FT_END_HEADER
98 98
99 #endif /* __FTBZIP2_H__ */ 99 #endif /* __FTBZIP2_H__ */
100 100
101 101
102 /* END */ 102 /* END */
OLDNEW
« no previous file with comments | « third_party/freetype/include/ftbitmap.h ('k') | third_party/freetype/include/ftcache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698