Files
mediawiki-extensions-Univer…/data/fontrepo/fonts
Niklas Laxström f02dd2f72c Use Linux newlines for consistency
Fixes: I86870360f00e5fda48bc1fbc2da47f807318e137
Change-Id: I3db4dcb6b1a413abf1fa5177f19a3e996873bf73
2023-09-14 09:23:22 +00:00
..
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03:00
2023-09-13 14:15:33 +03: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. Use sfnt2woff to generate woff files
$ ls *.ttf | xargs -n1 ../../../../node_modules/sfnt2woff/cli.js
3. Use https://github.com/google/woff2 to generate woff2 files
$ ls *.ttf | xargs -n1 /path/to/woff2/woff2_compress