OLD | NEW |
1 /* Copyright (c) 2010, Google Inc. All rights reserved. | 1 /* Copyright (c) 2010, Google Inc. All rights reserved. |
2 * | 2 * |
3 * Redistribution and use in source and binary forms, with or without | 3 * Redistribution and use in source and binary forms, with or without |
4 * modification, are permitted provided that the following conditions are | 4 * modification, are permitted provided that the following conditions are |
5 * met: | 5 * met: |
6 * | 6 * |
7 * * Redistributions of source code must retain the above copyright | 7 * * Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * * Redistributions in binary form must reproduce the above | 9 * * Redistributions in binary form must reproduce the above |
10 * copyright notice, this list of conditions and the following disclaimer | 10 * copyright notice, this list of conditions and the following disclaimer |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 | 76 |
77 // Each of the use* members below can take one of three values: | 77 // Each of the use* members below can take one of three values: |
78 // 0: off | 78 // 0: off |
79 // 1: on | 79 // 1: on |
80 // NoPreference: no preference expressed | 80 // NoPreference: no preference expressed |
81 char useBitmaps; // use embedded bitmap strike if possible | 81 char useBitmaps; // use embedded bitmap strike if possible |
82 char useAutoHint; // use 'auto' hinting (FreeType specific) | 82 char useAutoHint; // use 'auto' hinting (FreeType specific) |
83 char useHinting; // hint glyphs to the pixel grid | 83 char useHinting; // hint glyphs to the pixel grid |
84 char hintStyle; // level of hinting, 0..3 | 84 char hintStyle; // level of hinting, 0..3 |
85 char useAntiAlias; // antialias glyph shapes | 85 char useAntiAlias; // antialias glyph shapes |
86 char | 86 // use subpixel rendering (partially-filled pixels) |
87 useSubpixelRendering; // use subpixel rendering (partially-filled pixels) | 87 char useSubpixelRendering; |
88 char | 88 // use subpixel positioning (fractional X positions for glyphs) |
89 useSubpixelPositioning; // use subpixel positioning (fractional X positio
ns for glyphs) | 89 char useSubpixelPositioning; |
90 }; | 90 }; |
91 | 91 |
92 } // namespace blink | 92 } // namespace blink |
93 | 93 |
94 #endif // FontRenderStyle_h | 94 #endif // FontRenderStyle_h |
OLD | NEW |