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

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

Issue 815103002: Update freetype to 2.5.4. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Clean Up 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
OLDNEW
1 /***************************************************************************/ 1 /***************************************************************************/
2 /* */ 2 /* */
3 /* ftbdf.h */ 3 /* ftbdf.h */
4 /* */ 4 /* */
5 /* FreeType API for accessing BDF-specific strings (specification). */ 5 /* FreeType API for accessing BDF-specific strings (specification). */
6 /* */ 6 /* */
7 /* Copyright 2002, 2003, 2004, 2006, 2009 by */ 7 /* Copyright 2002-2004, 2006, 2009, 2014 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
18 18
19 #ifndef __FTBDF_H__ 19 #ifndef __FTBDF_H__
20 #define __FTBDF_H__ 20 #define __FTBDF_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 12 matching lines...) Expand all
46 /* <Description> */ 46 /* <Description> */
47 /* This section contains the declaration of functions specific to BDF */ 47 /* This section contains the declaration of functions specific to BDF */
48 /* and PCF fonts. */ 48 /* and PCF fonts. */
49 /* */ 49 /* */
50 /*************************************************************************/ 50 /*************************************************************************/
51 51
52 52
53 /********************************************************************** 53 /**********************************************************************
54 * 54 *
55 * @enum: 55 * @enum:
56 * FT_PropertyType 56 * BDF_PropertyType
57 * 57 *
58 * @description: 58 * @description:
59 * A list of BDF property types. 59 * A list of BDF property types.
60 * 60 *
61 * @values: 61 * @values:
62 * BDF_PROPERTY_TYPE_NONE :: 62 * BDF_PROPERTY_TYPE_NONE ::
63 * Value~0 is used to indicate a missing property. 63 * Value~0 is used to indicate a missing property.
64 * 64 *
65 * BDF_PROPERTY_TYPE_ATOM :: 65 * BDF_PROPERTY_TYPE_ATOM ::
66 * Property is a string atom. 66 * Property is a string atom.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 * BDF_PropertyRec 99 * BDF_PropertyRec
100 * 100 *
101 * @description: 101 * @description:
102 * This structure models a given BDF/PCF property. 102 * This structure models a given BDF/PCF property.
103 * 103 *
104 * @fields: 104 * @fields:
105 * type :: 105 * type ::
106 * The property type. 106 * The property type.
107 * 107 *
108 * u.atom :: 108 * u.atom ::
109 * The atom string, if type is @BDF_PROPERTY_TYPE_ATOM. 109 * The atom string, if type is @BDF_PROPERTY_TYPE_ATOM. May be
110 * NULL, indicating an empty string.
110 * 111 *
111 * u.integer :: 112 * u.integer ::
112 * A signed integer, if type is @BDF_PROPERTY_TYPE_INTEGER. 113 * A signed integer, if type is @BDF_PROPERTY_TYPE_INTEGER.
113 * 114 *
114 * u.cardinal :: 115 * u.cardinal ::
115 * An unsigned integer, if type is @BDF_PROPERTY_TYPE_CARDINAL. 116 * An unsigned integer, if type is @BDF_PROPERTY_TYPE_CARDINAL.
116 */ 117 */
117 typedef struct BDF_PropertyRec_ 118 typedef struct BDF_PropertyRec_
118 { 119 {
119 BDF_PropertyType type; 120 BDF_PropertyType type;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 * for BDF fonts only. 193 * for BDF fonts only.
193 * 194 *
194 * In case of error, `aproperty->type' is always set to 195 * In case of error, `aproperty->type' is always set to
195 * @BDF_PROPERTY_TYPE_NONE. 196 * @BDF_PROPERTY_TYPE_NONE.
196 */ 197 */
197 FT_EXPORT( FT_Error ) 198 FT_EXPORT( FT_Error )
198 FT_Get_BDF_Property( FT_Face face, 199 FT_Get_BDF_Property( FT_Face face,
199 const char* prop_name, 200 const char* prop_name,
200 BDF_PropertyRec *aproperty ); 201 BDF_PropertyRec *aproperty );
201 202
202 /* */ 203 /* */
203 204
204 FT_END_HEADER 205 FT_END_HEADER
205 206
206 #endif /* __FTBDF_H__ */ 207 #endif /* __FTBDF_H__ */
207 208
208 209
209 /* END */ 210 /* END */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698