servo/components/fonts/tests/support/CSSTest/README
Martin Robinson cd2ab36759
Rename gfx to fonts (#32556)
This crate only takes care of fonts now as graphics related things are
split into other crates. In addition, this exposes data structures at
the top of the crate, hiding the implementation details and making it
simpler to import them.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2024-06-19 20:26:19 +00:00

25 lines
1 KiB
Text

These fonts are a copy of the CSSTest fonts in web-platform-tests, so that we
can use them for unit-testing our font code. Here is the README from
web-platform-tests:
-----
These fonts were created to support the testing of the font features
in CSS, and are required to run some of the tests for those features.
The fonts are modified versions of Gentium Basic, licensed by SIL under
the Open Font License which allows modifications as long as the terms
of the license are met.
The original fonts were used to create the family 'CSSTest Basic'. This
family has four faces and can be used for testing bold / italics.
A subsetted version of this font with only glyphs for basic ASCII
characters is 'CSSTest ASCII'. This was used to make the other
variations. Most of the modications are to the name table and character
maps, for the most part glyphs were not modified.
The fonts are available for download both individually and as a
ZIP package below.
The files test.html and test.xhtml test that the fonts have been
correctly installed.