Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 Tips & FAQ | 1 Tips & FAQ |
| 2 ========== | 2 ========== |
| 3 | 3 |
| 4 <span id="gypdefines"></span> | 4 <span id="gypdefines"></span> |
| 5 | 5 |
| 6 Gyp Options | 6 Gyp Options |
| 7 ----------- | 7 ----------- |
| 8 | 8 |
| 9 When running `sync-and-gyp`, the `GYP_DEFINES` environment variable can | 9 When running `sync-and-gyp`, the `GYP_DEFINES` environment variable can |
| 10 be used to change Skia’s compile-time settings, using a | 10 be used to change Skia’s compile-time settings, using a |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 128 instructions on ARM v7 devices. See src/opts/ | 128 instructions on ARM v7 devices. See src/opts/ |
| 129 | 129 |
| 130 * * * | 130 * * * |
| 131 | 131 |
| 132 <span id="font-hinting"></span> | 132 <span id="font-hinting"></span> |
| 133 | 133 |
| 134 Does Skia support Font hinting? | 134 Does Skia support Font hinting? |
| 135 ------------------------------- | 135 ------------------------------- |
| 136 | 136 |
| 137 Skia has a built-in font cache, but it does not know how to actual render font | 137 Skia has a built-in font cache, but it does not know how to actual render font |
| 138 files like TrueType? into its cache. For that it relies on the platform to | 138 files like TrueType into its cache. For that it relies on the platform to |
| 139 supply an instance of SkScalerContext?. This is Skia's abstract interface for | 139 supply an instance of SkScalerContext. This is Skia's abstract interface for |
| 140 communicating with a font scaler engine. In src/ports you can see support | 140 communicating with a font scaler engine. In src/ports you can see support |
| 141 files for FreeType?, Mac OS X, and Windows GDI font engines. Other font | 141 files for FreeType, Mac OS X, and Windows GDI font engines. Other font |
| 142 engines can easily be supported in a like manner. | 142 engines can easily be supported in a like manner. |
| 143 | 143 |
| 144 | 144 |
| 145 * * * | |
| 146 | |
| 147 <span id="kerning"></span> | |
| 148 | |
| 149 Does Skia shape text (kerning)? | |
| 150 ------------------------------- | |
| 151 | |
| 152 No. Skia provides interfaces to draw glyphs, but does not implement a | |
| 153 text shaper. Skia's client's often use Harfbuzz to generate the glyphs | |
|
caryclark
2015/12/14 17:51:23
How about a link to harfbuzz.org (or http://www.fr
| |
| 154 and their positions, including kerning. | |
| 155 | |
| 156 <div style="margin-bottom:99%"></div> | |
| OLD | NEW |