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

Side by Side Diff: sky/specs/fonts.md

Issue 933373002: Specs: write up what we've discussed about fonts, just so that it's written down somewhere (this is… (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 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
« 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
(Empty)
1 Fonts
2 =====
3
4 Mojo has a font service, which takes a URL and hands back glyphs.
5
6 Sky has an API that takes a URL, a name, and hands back a promise
7 which, when resolved, indicates that Sky has now associated that font
8 name with the relevant glyphs (by calling the Mojo service).
9
10 The text part of Sky's drawing API accepts a list of font names, and
11 uses those to draw the relevant glyphs, falling back through the
12 provided fonts, then all the loaded fonts, until a glyph is found.
13
14 By default, three fonts are loaded, with the names 'serif',
15 'sans-serif', and 'monospace'. They have good Unicode coverage.
16
17 TODO(ianh): Actually define these APIs and so on.
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