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

Side by Side Diff: third_party/freetype/src/cff/cf2hints.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/cf2glue.h ('k') | third_party/freetype/src/cff/cf2hints.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 /* cf2hints.h */ 3 /* cf2hints.h */
4 /* */ 4 /* */
5 /* Adobe's code for handling CFF hints (body). */ 5 /* Adobe's code for handling CFF hints (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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 CF2_Fixed scaleC; /* matrix c */ 197 CF2_Fixed scaleC; /* matrix c */
198 CF2_Fixed scaleY; /* matrix d */ 198 CF2_Fixed scaleY; /* matrix d */
199 199
200 FT_Vector fractionalTranslation; /* including deviceXScale */ 200 FT_Vector fractionalTranslation; /* including deviceXScale */
201 #if 0 201 #if 0
202 CF2_Fixed hShift; /* character space horizontal shift */ 202 CF2_Fixed hShift; /* character space horizontal shift */
203 /* (for fauxing) */ 203 /* (for fauxing) */
204 #endif 204 #endif
205 205
206 FT_Bool pathIsOpen; /* true after MoveTo */ 206 FT_Bool pathIsOpen; /* true after MoveTo */
207 FT_Bool pathIsClosing; /* true when synthesizing closepath line */
207 FT_Bool darken; /* true if stem darkening */ 208 FT_Bool darken; /* true if stem darkening */
208 FT_Bool moveIsPending; /* true between MoveTo and offset MoveTo */ 209 FT_Bool moveIsPending; /* true between MoveTo and offset MoveTo */
209 210
210 /* references used to call `cf2_hintmap_build', if necessary */ 211 /* references used to call `cf2_hintmap_build', if necessary */
211 CF2_ArrStack hStemHintArray; 212 CF2_ArrStack hStemHintArray;
212 CF2_ArrStack vStemHintArray; 213 CF2_ArrStack vStemHintArray;
213 CF2_HintMask hintMask; /* ptr to the current mask */ 214 CF2_HintMask hintMask; /* ptr to the current mask */
214 CF2_Fixed hintOriginY; /* copy of current origin */ 215 CF2_Fixed hintOriginY; /* copy of current origin */
215 const CF2_BluesRec* blues; 216 const CF2_BluesRec* blues;
216 217
217 CF2_Fixed xOffset; /* character space offsets */ 218 CF2_Fixed xOffset; /* character space offsets */
218 CF2_Fixed yOffset; 219 CF2_Fixed yOffset;
219 220
220 /* character space miter limit threshold */ 221 /* character space miter limit threshold */
221 CF2_Fixed miterLimit; 222 CF2_Fixed miterLimit;
222 /* vertical/horzizontal snap distance in character space */ 223 /* vertical/horzizontal snap distance in character space */
223 CF2_Fixed snapThreshold; 224 CF2_Fixed snapThreshold;
224 225
225 FT_Vector offsetStart0; /* first and second points of first */ 226 FT_Vector offsetStart0; /* first and second points of first */
226 FT_Vector offsetStart1; /* element with offset applied */ 227 FT_Vector offsetStart1; /* element with offset applied */
227 228
228 /* current point, character space, before offset */ 229 /* current point, character space, before offset */
229 FT_Vector currentCS; 230 FT_Vector currentCS;
230 /* current point, device space */ 231 /* current point, device space */
231 FT_Vector currentDS; 232 FT_Vector currentDS;
232 FT_Vector start; /* start point of subpath */ 233 /* start point of subpath, character space */
234 FT_Vector start;
233 235
234 /* the following members constitute the `queue' of one element */ 236 /* the following members constitute the `queue' of one element */
235 FT_Bool elemIsQueued; 237 FT_Bool elemIsQueued;
236 CF2_Int prevElemOp; 238 CF2_Int prevElemOp;
237 239
238 FT_Vector prevElemP0; 240 FT_Vector prevElemP0;
239 FT_Vector prevElemP1; 241 FT_Vector prevElemP1;
240 FT_Vector prevElemP2; 242 FT_Vector prevElemP2;
241 FT_Vector prevElemP3; 243 FT_Vector prevElemP3;
242 244
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 cf2_glyphpath_closeOpenPath( CF2_GlyphPath glyphpath ); 280 cf2_glyphpath_closeOpenPath( CF2_GlyphPath glyphpath );
279 281
280 282
281 FT_END_HEADER 283 FT_END_HEADER
282 284
283 285
284 #endif /* __CF2HINTS_H__ */ 286 #endif /* __CF2HINTS_H__ */
285 287
286 288
287 /* END */ 289 /* END */
OLDNEW
« no previous file with comments | « third_party/freetype/src/cff/cf2glue.h ('k') | third_party/freetype/src/cff/cf2hints.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698