Files
mediawiki-extensions-Univer…/data/fontrepo/fonts
Reedy c7caa09b0b Remove comment about eot file format
No eot fonts in the repo, and I presume we don't support those versions of IE anymore either...

Change-Id: I6a2d45592933cc9d1dfa0d0d0a0618a32aaee693
2020-09-15 13:09:11 +01:00
..
2019-04-01 12:39:33 -07:00
2018-03-03 19:27:21 +00:00
2018-03-03 19:27:21 +00:00
2019-04-01 12:39:33 -07:00
2018-03-03 19:27:21 +00:00
2019-04-01 12:39:33 -07:00
2018-03-03 19:27:21 +00:00
2018-03-03 19:27:21 +00:00
2018-03-03 19:27:21 +00:00
2017-04-19 08:42:19 +00:00
2018-03-03 19:27:21 +00:00
2018-03-03 19:27:21 +00:00
2019-04-01 12:39:33 -07:00
2018-03-03 19:27:21 +00:00
2016-07-28 13:47:22 +00:00
2020-09-15 13:09:11 +01:00

This is font repository for Universal Language Selector. These fonts are used
by jquery.webfonts to deliver on demand or based on users preferences. There is
a script named "compile-font-repo.php" to generate the font repository in
JavaScript syntax. It reads this font.ini files.

Each folder contains a font.ini file, which is the description about the font.
The fields in the font.ini is described below. Use ';' to add any comments.

languages
---------
list of language(s) to use for font. * in language code suggests it is default
font for language.

version
-------
Font version.

license
-------
License in SPDX format. see licenses/README file for format and details.

licensefile
-----------
Name of license file from licenses folder.

request-url
-----------
URL of bug or request where font addition request was made. For more than 2
languages, use URLs separated by comma in,

request-url=url1, url2

url
---
Upstream location of font to download.

formats
-------
If there are style variants, font.ini should contain file names for each
variants(bold, italic etc). Otherwise, based on the extension of files, the
font compilation script can pick it up.

Preparing font formats
-----------------------

1. From the upstream releases, take the TTF versions.
2. To generate woff format, get: https://github.com/rillig/sfntly
3. Use https://github.com/google/woff2 to generate woff2 from ttf. This will
   produce a compressed woff2 file. Modern browsers support this format.