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

Side by Side Diff: include/freetype/internal/services/svbdf.h

Issue 23555005: Update freetype to the latest version of Android external/freetype (Closed) Base URL: https://chromium.googlesource.com/chromium/src/third_party/freetype.git@master
Patch Set: Created 7 years, 3 months 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 | « include/freetype/internal/pshints.h ('k') | include/freetype/internal/services/svcid.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 /* svbdf.h */ 3 /* svbdf.h */
4 /* */ 4 /* */
5 /* The FreeType BDF services (specification). */ 5 /* The FreeType BDF services (specification). */
6 /* */ 6 /* */
7 /* Copyright 2003 by */ 7 /* Copyright 2003, 2009, 2012 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
(...skipping 20 matching lines...) Expand all
38 const char* prop_name, 38 const char* prop_name,
39 BDF_PropertyRec *aproperty ); 39 BDF_PropertyRec *aproperty );
40 40
41 41
42 FT_DEFINE_SERVICE( BDF ) 42 FT_DEFINE_SERVICE( BDF )
43 { 43 {
44 FT_BDF_GetCharsetIdFunc get_charset_id; 44 FT_BDF_GetCharsetIdFunc get_charset_id;
45 FT_BDF_GetPropertyFunc get_property; 45 FT_BDF_GetPropertyFunc get_property;
46 }; 46 };
47 47
48
48 #ifndef FT_CONFIG_OPTION_PIC 49 #ifndef FT_CONFIG_OPTION_PIC
49 50
50 #define FT_DEFINE_SERVICE_BDFRec(class_, get_charset_id_, get_property_) \ 51 #define FT_DEFINE_SERVICE_BDFRec( class_, \
51 static const FT_Service_BDFRec class_ = \ 52 get_charset_id_, \
53 get_property_ ) \
54 static const FT_Service_BDFRec class_ = \
52 { \ 55 { \
53 get_charset_id_, get_property_ \ 56 get_charset_id_, get_property_ \
54 }; 57 };
55 58
56 #else /* FT_CONFIG_OPTION_PIC */ 59 #else /* FT_CONFIG_OPTION_PIC */
57 60
58 #define FT_DEFINE_SERVICE_BDFRec(class_, get_charset_id_, get_property_) \ 61 #define FT_DEFINE_SERVICE_BDFRec( class_, \
62 get_charset_id_, \
63 get_property_ ) \
59 void \ 64 void \
60 FT_Init_Class_##class_( FT_Service_BDFRec* clazz ) \ 65 FT_Init_Class_ ## class_( FT_Service_BDFRec* clazz ) \
61 { \ 66 { \
62 clazz->get_charset_id = get_charset_id_; \ 67 clazz->get_charset_id = get_charset_id_; \
63 clazz->get_property = get_property_; \ 68 clazz->get_property = get_property_; \
64 } 69 }
65 70
66 #endif /* FT_CONFIG_OPTION_PIC */ 71 #endif /* FT_CONFIG_OPTION_PIC */
67 72
68 /* */ 73 /* */
69 74
70 75
71 FT_END_HEADER 76 FT_END_HEADER
72 77
73 78
74 #endif /* __SVBDF_H__ */ 79 #endif /* __SVBDF_H__ */
75 80
76 81
77 /* END */ 82 /* END */
OLDNEW
« no previous file with comments | « include/freetype/internal/pshints.h ('k') | include/freetype/internal/services/svcid.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698