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

Side by Side Diff: third_party/freetype/0000-include.patch

Issue 1416993005: Merge to XFA: Update bundled freetype to 2.6.1 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 1 month 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/BUILD.gn ('k') | third_party/freetype/FTL.TXT » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 diff -ru freetype-2.6.1/include/freetype/config/ftmodule.h include/freetype/conf ig/ftmodule.h
2 --- freetype-2.6.1/include/freetype/config/ftmodule.h 2015-11-05 13:52:36.7347 33186 -0800
3 +++ include/freetype/config/ftmodule.h 2015-11-05 13:44:54.445479822 -0800
4 @@ -1,3 +1,20 @@
5 +/***************************************************************************/
6 +/* */
7 +/* ftmodule.h */
8 +/* */
9 +/* FreeType modules public interface (specification). */
10 +/* */
11 +/* Copyright 1996-2001, 2002, 2003 by */
12 +/* David Turner, Robert Wilhelm, and Werner Lemberg. */
13 +/* */
14 +/* This file is part of the FreeType project, and may only be used, */
15 +/* modified, and distributed under the terms of the FreeType project */
16 +/* license, LICENSE.TXT. By continuing to use, modify, or distribute */
17 +/* this file you indicate that you have read the license and */
18 +/* understand and accept it fully. */
19 +/* */
20 +/***************************************************************************/
21 +
22 /*
23 * This file registers the FreeType modules compiled into the library.
24 *
25 @@ -10,15 +27,15 @@
26 *
27 */
28
29 -FT_USE_MODULE( FT_Module_Class, autofit_module_class )
30 +//FT_USE_MODULE( FT_Module_Class, autofit_module_class )
31 FT_USE_MODULE( FT_Driver_ClassRec, tt_driver_class )
32 FT_USE_MODULE( FT_Driver_ClassRec, t1_driver_class )
33 FT_USE_MODULE( FT_Driver_ClassRec, cff_driver_class )
34 FT_USE_MODULE( FT_Driver_ClassRec, t1cid_driver_class )
35 -FT_USE_MODULE( FT_Driver_ClassRec, pfr_driver_class )
36 -FT_USE_MODULE( FT_Driver_ClassRec, t42_driver_class )
37 -FT_USE_MODULE( FT_Driver_ClassRec, winfnt_driver_class )
38 -FT_USE_MODULE( FT_Driver_ClassRec, pcf_driver_class )
39 +//FT_USE_MODULE( FT_Driver_ClassRec, pfr_driver_class )
40 +//FT_USE_MODULE( FT_Driver_ClassRec, t42_driver_class )
41 +//FT_USE_MODULE( FT_Driver_ClassRec, winfnt_driver_class )
42 +//FT_USE_MODULE( FT_Driver_ClassRec, pcf_driver_class )
43 FT_USE_MODULE( FT_Module_Class, psaux_module_class )
44 FT_USE_MODULE( FT_Module_Class, psnames_module_class )
45 FT_USE_MODULE( FT_Module_Class, pshinter_module_class )
46 @@ -27,6 +44,6 @@
47 FT_USE_MODULE( FT_Renderer_Class, ft_smooth_renderer_class )
48 FT_USE_MODULE( FT_Renderer_Class, ft_smooth_lcd_renderer_class )
49 FT_USE_MODULE( FT_Renderer_Class, ft_smooth_lcdv_renderer_class )
50 -FT_USE_MODULE( FT_Driver_ClassRec, bdf_driver_class )
51 +//FT_USE_MODULE( FT_Driver_ClassRec, bdf_driver_class )
52
53 /* EOF */
54 diff -ru freetype-2.6.1/include/freetype/config/ftoption.h include/freetype/conf ig/ftoption.h
55 --- freetype-2.6.1/include/freetype/config/ftoption.h 2015-11-05 13:52:36.7347 33186 -0800
56 +++ include/freetype/config/ftoption.h 2015-11-05 13:44:54.445479822 -0800
57 @@ -92,7 +92,7 @@
58 /* This is done to allow FreeType clients to run unmodified, forcing */
59 /* them to display normal gray-level anti-aliased glyphs. */
60 /* */
61 -/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
62 +#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
63
64
65 /*************************************************************************/
66 @@ -163,7 +163,7 @@
67 /* Define this macro if you want to enable this `feature'. See also */
68 /* the macro FT_CONFIG_OPTION_SYSTEM_ZLIB below. */
69 /* */
70 -#define FT_CONFIG_OPTION_USE_ZLIB
71 +//#define FT_CONFIG_OPTION_USE_ZLIB
72
73
74 /*************************************************************************/
75 @@ -336,7 +336,7 @@
76 /* */
77 /* Note that the `FOND' resource isn't checked. */
78 /* */
79 -#define FT_CONFIG_OPTION_MAC_FONTS
80 +#undef FT_CONFIG_OPTION_MAC_FONTS
81
82
83 /*************************************************************************/
84 @@ -512,7 +512,7 @@
85 /* embedded bitmaps in all formats using the SFNT module (namely */
86 /* TrueType & OpenType). */
87 /* */
88 -#define TT_CONFIG_OPTION_EMBEDDED_BITMAPS
89 +#undef TT_CONFIG_OPTION_EMBEDDED_BITMAPS
90
91
92 /*************************************************************************/
93 @@ -681,7 +681,7 @@
94 /* and avar tables). This has many similarities to Type 1 Multiple */
95 /* Masters support. */
96 /* */
97 -#define TT_CONFIG_OPTION_GX_VAR_SUPPORT
98 +#undef TT_CONFIG_OPTION_GX_VAR_SUPPORT
99
100
101 /*************************************************************************/
102 @@ -689,7 +689,7 @@
103 /* Define TT_CONFIG_OPTION_BDF if you want to include support for */
104 /* an embedded `BDF ' table within SFNT-based bitmap formats. */
105 /* */
106 -#define TT_CONFIG_OPTION_BDF
107 +#undef TT_CONFIG_OPTION_BDF
108
109
110 /*************************************************************************/
111 @@ -725,7 +725,7 @@
112 /* */
113 /* The Chinese font MingTiEG-Medium (CNS 11643 character set) needs 256. */
114 /* */
115 -#define T1_MAX_CHARSTRINGS_OPERANDS 256
116 +#define T1_MAX_CHARSTRINGS_OPERANDS 512
117
118
119 /*************************************************************************/
120 Only in freetype-2.6.1/include/freetype: ftchapters.h
OLDNEW
« no previous file with comments | « third_party/BUILD.gn ('k') | third_party/freetype/FTL.TXT » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698