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

Side by Side Diff: site/user/tips.md

Issue 1523023002: Documentation: text shaping (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-12-14 (Monday) 12:24:31 EST Created 5 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698