mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
22 lines
729 B
Plaintext
22 lines
729 B
Plaintext
Sanitiser for OpenType
|
|
----------------------
|
|
|
|
(Idea from Alex Russell)
|
|
|
|
The CSS font-face property[1] is great for web typography. Having to use images
|
|
in order to get the correct typeface is a great sadness; one should be able to
|
|
use vectors.
|
|
|
|
However, the TrueType renderers on many platforms have never been part of the
|
|
attack surface before and putting them on the front line is a scary proposition.
|
|
Esp on platforms like Windows where it's a closed-source blob running with high
|
|
privilege.
|
|
|
|
Thus, the OpenType Sanitiser (OTS) is designed to parse and serialise OpenType
|
|
files, validating them and sanitising them as it goes.
|
|
|
|
|
|
See INSTALL for build instructions.
|
|
|
|
[1] http://www.w3.org/TR/CSS2/fonts.html#font-descriptions
|