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

Unified Diff: site/user/tips.md

Issue 1939123002: Documentation: Skia+Harfbuzz example (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-05-02 (Monday) 11:40:01 EDT Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: site/user/tips.md
diff --git a/site/user/tips.md b/site/user/tips.md
index 25686dff9a7d8a48062669a6b6ff991216083b43..f23458bf139afc57c6222712be115749dcfbcef0 100644
--- a/site/user/tips.md
+++ b/site/user/tips.md
@@ -167,6 +167,13 @@ text shaper. Skia's client's often use
[HarfBuzz](http://www.freedesktop.org/wiki/Software/HarfBuzz/) to
generate the glyphs and their positions, including kerning.
+[Here is an example of how to use Skia and HarfBuzz
+together](https://github.com/aam/skiaex). In the example, a
+`SkTypeface` and a `hb_face_t` are created using the same `mmap()`ed
+`.ttf` font file. The HarfBuzz face is used to shape unicode text into
+a sequence of glyphs and positions, which Skia can then draw using
+whichever SkFontHost it is compiled with.
bungeman-skia 2016/05/03 15:55:24 Except for some deprecated globals we're trying to
hal.canary 2016/05/03 16:14:00 done
+
* * *
<span id="text-shadow"></span>
« 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