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

Side by Side Diff: third_party/freetype2/include/ftoption.h

Issue 163433013: Enable subpixel rendering in custom freetype2 library. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge again Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « third_party/freetype2/freetype2.patch ('k') | webkit/tools/layout_tests/test_expectations.txt » ('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 /* ftoption.h */ 3 /* ftoption.h */
4 /* */ 4 /* */
5 /* User-selectable configuration macros (specification only). */ 5 /* User-selectable configuration macros (specification only). */
6 /* */ 6 /* */
7 /* Copyright 1996-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 by */ 7 /* Copyright 1996-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 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, */
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 /* */ 85 /* */
86 /* This macro has no impact on the FreeType API, only on its */ 86 /* This macro has no impact on the FreeType API, only on its */
87 /* _implementation_. For example, using FT_RENDER_MODE_LCD when calling */ 87 /* _implementation_. For example, using FT_RENDER_MODE_LCD when calling */
88 /* FT_Render_Glyph still generates a bitmap that is 3 times larger than */ 88 /* FT_Render_Glyph still generates a bitmap that is 3 times larger than */
89 /* the original size; the difference will be that each triplet of */ 89 /* the original size; the difference will be that each triplet of */
90 /* subpixels has R=G=B. */ 90 /* subpixels has R=G=B. */
91 /* */ 91 /* */
92 /* This is done to allow FreeType clients to run unmodified, forcing */ 92 /* This is done to allow FreeType clients to run unmodified, forcing */
93 /* them to display normal gray-level anti-aliased glyphs. */ 93 /* them to display normal gray-level anti-aliased glyphs. */
94 /* */ 94 /* */
95 /* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */ 95 #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
96 96
97 97
98 /*************************************************************************/ 98 /*************************************************************************/
99 /* */ 99 /* */
100 /* Many compilers provide a non-ANSI 64-bit data type that can be used */ 100 /* Many compilers provide a non-ANSI 64-bit data type that can be used */
101 /* by FreeType to speed up some computations. However, this will create */ 101 /* by FreeType to speed up some computations. However, this will create */
102 /* some problems when compiling the library in strict ANSI mode. */ 102 /* some problems when compiling the library in strict ANSI mode. */
103 /* */ 103 /* */
104 /* For this reason, the use of 64-bit integers is normally disabled when */ 104 /* For this reason, the use of 64-bit integers is normally disabled when */
105 /* the __STDC__ macro is defined. You can however disable this by */ 105 /* the __STDC__ macro is defined. You can however disable this by */
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
699 #define TT_USE_BYTECODE_INTERPRETER 699 #define TT_USE_BYTECODE_INTERPRETER
700 #endif 700 #endif
701 701
702 FT_END_HEADER 702 FT_END_HEADER
703 703
704 704
705 #endif /* __FTOPTION_H__ */ 705 #endif /* __FTOPTION_H__ */
706 706
707 707
708 /* END */ 708 /* END */
OLDNEW
« no previous file with comments | « third_party/freetype2/freetype2.patch ('k') | webkit/tools/layout_tests/test_expectations.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698