Files
mediawiki-extensions-Univer…/data/fontrepo/fonts
Santhosh Thottingal c0bbd9efc1 Remove Tamil fonts from fontrepo
* These fonts are with no upstream now and little known among
  Tamil users.
* Tamil is very well supported in all operating systems
  now a days.
* Also reduce the metadata size for fontrepo

Change-Id: I4e7afb6476a4714f8d87bd2a048309b732883b2f
2017-11-13 15:26:59 +05:30
..
2017-04-19 08:42:19 +00:00
2016-07-28 13:47:22 +00:00
2016-05-11 10:31:01 +05:30

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/googlei18n/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.
4. The eot file format is used only by older IE, but it can be generated using sfntly. Make sure to use -mtx flag to get
   enhanced compression.