提交 efc921ad 编写于 作者: H Hixie

Specs: write up what we've discussed about fonts, just so that it's written...

Specs: write up what we've discussed about fonts, just so that it's written down somewhere (this is just a sketch for now)

Review URL: https://codereview.chromium.org/933373002
上级 8eed3093
Fonts
=====
Mojo has a font service, which takes a URL and hands back glyphs.
Sky has an API that takes a URL, a name, and hands back a promise
which, when resolved, indicates that Sky has now associated that font
name with the relevant glyphs (by calling the Mojo service).
The text part of Sky's drawing API accepts a list of font names, and
uses those to draw the relevant glyphs, falling back through the
provided fonts, then all the loaded fonts, until a glyph is found.
By default, three fonts are loaded, with the names 'serif',
'sans-serif', and 'monospace'. They have good Unicode coverage.
TODO(ianh): Actually define these APIs and so on.
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册