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

Side by Side Diff: third_party/freetype/src/cff/cf2font.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/src/cff/cf2fixed.h ('k') | third_party/freetype/src/cff/cf2font.c » ('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 /* cf2font.h */ 3 /* cf2font.h */
4 /* */ 4 /* */
5 /* Adobe's code for font instances (specification). */ 5 /* Adobe's code for font instances (specification). */
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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 CFF_Decoder* decoder; 78 CFF_Decoder* decoder;
79 CFF_SubFont lastSubfont; /* FreeType parsed data; */ 79 CFF_SubFont lastSubfont; /* FreeType parsed data; */
80 /* top font or subfont */ 80 /* top font or subfont */
81 81
82 /* these flags can vary from one call to the next */ 82 /* these flags can vary from one call to the next */
83 FT_Bool hinted; 83 FT_Bool hinted;
84 FT_Bool darkened; /* true if stemDarkened or synthetic bold */ 84 FT_Bool darkened; /* true if stemDarkened or synthetic bold */
85 /* i.e. darkenX != 0 || darkenY != 0 */ 85 /* i.e. darkenX != 0 || darkenY != 0 */
86 FT_Bool stemDarkened; 86 FT_Bool stemDarkened;
87 87
88 FT_Int darkenParams[8]; /* 1000 unit character space */
89
88 /* variables that depend on both FontDict and Transform */ 90 /* variables that depend on both FontDict and Transform */
89 CF2_Fixed stdVW; /* in character space; depends on dict entry */ 91 CF2_Fixed stdVW; /* in character space; depends on dict entry */
90 CF2_Fixed stdHW; /* in character space; depends on dict entry */ 92 CF2_Fixed stdHW; /* in character space; depends on dict entry */
91 CF2_Fixed darkenX; /* character space units */ 93 CF2_Fixed darkenX; /* character space units */
92 CF2_Fixed darkenY; /* depends on transform */ 94 CF2_Fixed darkenY; /* depends on transform */
93 /* and private dict (StdVW) */ 95 /* and private dict (StdVW) */
94 FT_Bool reverseWinding; /* darken assuming */ 96 FT_Bool reverseWinding; /* darken assuming */
95 /* counterclockwise winding */ 97 /* counterclockwise winding */
96 98
97 CF2_BluesRec blues; /* computed zone data */ 99 CF2_BluesRec blues; /* computed zone data */
98 }; 100 };
99 101
100 102
101 FT_LOCAL( FT_Error ) 103 FT_LOCAL( FT_Error )
102 cf2_getGlyphOutline( CF2_Font font, 104 cf2_getGlyphOutline( CF2_Font font,
103 CF2_Buffer charstring, 105 CF2_Buffer charstring,
104 const CF2_Matrix* transform, 106 const CF2_Matrix* transform,
105 CF2_F16Dot16* glyphWidth ); 107 CF2_F16Dot16* glyphWidth );
106 108
107 109
108 FT_END_HEADER 110 FT_END_HEADER
109 111
110 112
111 #endif /* __CF2FONT_H__ */ 113 #endif /* __CF2FONT_H__ */
112 114
113 115
114 /* END */ 116 /* END */
OLDNEW
« no previous file with comments | « third_party/freetype/src/cff/cf2fixed.h ('k') | third_party/freetype/src/cff/cf2font.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698