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

Side by Side Diff: third_party/freetype/src/raster/ftmisc.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/raster/Jamfile ('k') | third_party/freetype/src/raster/ftraster.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 /* ftmisc.h */ 3 /* ftmisc.h */
4 /* */ 4 /* */
5 /* Miscellaneous macros for stand-alone rasterizer (specification */ 5 /* Miscellaneous macros for stand-alone rasterizer (specification */
6 /* only). */ 6 /* only). */
7 /* */ 7 /* */
8 /* Copyright 2005, 2009, 2010 by */ 8 /* Copyright 2005, 2009, 2010 by */
9 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
10 /* */ 10 /* */
(...skipping 11 matching lines...) Expand all
22 /* This file is *not* portable! You have to adapt */ 22 /* This file is *not* portable! You have to adapt */
23 /* its definitions to your platform. */ 23 /* its definitions to your platform. */
24 /* */ 24 /* */
25 /***************************************************/ 25 /***************************************************/
26 26
27 #ifndef __FTMISC_H__ 27 #ifndef __FTMISC_H__
28 #define __FTMISC_H__ 28 #define __FTMISC_H__
29 29
30 30
31 /* memset */ 31 /* memset */
32 #include "../../include/freetype/config/ftstdlib.h" 32 #include FT_CONFIG_STANDARD_LIBRARY_H
33 33
34 #define FT_BEGIN_HEADER 34 #define FT_BEGIN_HEADER
35 #define FT_END_HEADER 35 #define FT_END_HEADER
36 36
37 #define FT_LOCAL_DEF( x ) static x 37 #define FT_LOCAL_DEF( x ) static x
38 38
39 39
40 /* from include/freetype2/fttypes.h */ 40 /* from include/freetype2/fttypes.h */
41 41
42 typedef unsigned char FT_Byte; 42 typedef unsigned char FT_Byte;
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 d = (FT_Long)( c > 0 ? (FT_Int64)a * b / c 133 d = (FT_Long)( c > 0 ? (FT_Int64)a * b / c
134 : 0x7FFFFFFFL ); 134 : 0x7FFFFFFFL );
135 135
136 return ( s > 0 ) ? d : -d; 136 return ( s > 0 ) ? d : -d;
137 } 137 }
138 138
139 #endif /* __FTMISC_H__ */ 139 #endif /* __FTMISC_H__ */
140 140
141 141
142 /* END */ 142 /* END */
OLDNEW
« no previous file with comments | « third_party/freetype/src/raster/Jamfile ('k') | third_party/freetype/src/raster/ftraster.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698