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>
This commit is contained in:
Martin Robinson 2024-06-19 22:26:19 +02:00 committed by GitHub
parent 9f8118abc7
commit cd2ab36759
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
159 changed files with 224 additions and 266 deletions

View file

@ -0,0 +1,25 @@
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.