Commit Graph

98 Commits

Author SHA1 Message Date
Reedy
da1c81d691 Run compile-font-repo.php
Running it on a repo without any changes, results in ext.uls.webfonts.repository.js changes

Change-Id: I28353a1da384eb6e3386d8697e80a2b33daaf455
2020-03-07 08:05:45 +00:00
Santhosh Thottingal
da0aad3e03 Add fonts for Church Slavonic
Adding Ponomar, Fedorovs, Menaion and Monomakh restaurant.

Bug: T156843
Change-Id: I8f7c4861fc667bba3dfd4359f2c59633fa6f83ff
2019-04-01 12:39:33 -07:00
Timo Tijhof
4e067715dc Remove redundant closure aliases
'mw' are '$' are globals, always have been, and aren't going
anywhere. They're every bit as real as their longer versions.
If anything, the longer ones are less "real" or 'stable" because
they're not used internally by RL and easier to accidentally
replace or override. For anecdotes and history, see 91f950d6b0.

Change-Id: I526fb8c961d9477992d88f2780a0ff4cbdc51923
2018-09-07 19:23:17 +00:00
Kartik Mistry
d969c2a804 Remove non-default Saab font for Punjabi
* Not updated from upstream; last release is buggy as per upstream.
* Punjabi language has good font support in all modern operating
  systems.

Bug: T180422
Change-Id: I323953b4c6293df89034f05e0c2e13a96b42dc34
2017-12-05 06:19:13 +00:00
Santhosh Thottingal
dc84413373 Remove Madan font for ne
* Unknown upstream
* Not updated for years
* ne has better support in operating systems
* Non-default font for ne

Bug: T180422

Change-Id: Ife0b81e4db3bc069752d89c53f4690ddcfad7ef3
2017-11-14 15:49:35 +01:00
Santhosh Thottingal
d5f0666025 Remove non-default Gubby font for Kannada and Tulu
Bug: T180422
Change-Id: I78af0a3889e48625ebb38b1b212cb8b454a5639c
2017-11-14 15:23:09 +01:00
Santhosh Thottingal
07087dbb06 Remove ttf format from repo and thereby from fontface css
TTF files are not removed, the entries for them from the repo
is removed. Generated CSS will also skip ttf.

TTF format is not required for any browser now a days.
https://caniuse.com/#feat=woff

Change-Id: I018e74f6a50e63f55adeca480c03124092fba015
2017-11-14 09:23:55 +05:30
Santhosh Thottingal
146426ffe7 Remove fonts for Odia(or) from fontrepo
Remove non-default Utkal font - Its upstream is unknown now.

Change-Id: Iefa9eeaf953d87d4a5c8766fa575d61f9bd96d2b
2017-11-13 15:31:27 +05:30
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
Santhosh Thottingal
28c0ba6bca Remove fonts for Malayalam from font repo
* I maintain these fonts in upstream and there we several releases
  since these fonts were added.
* Malayalam has better support in operating systems compared to 2012
  when these fonts were added.
* Reduce font metadata size for wikipedia pages when webfonts are
  enabled.

Change-Id: Ie5b54cc866b1c67849b094a9701b2c80d876b55f
2017-11-13 09:16:58 +00:00
Santhosh Thottingal
6bddc79773 Remove Lohit family of fonts from fontrepo
* The languages covered by these fonts are now available in all
operating systems.
* These fonts are not updated for years in our repo
* Saves the amount of font repo data we deliver for *every wikipedia
  page* when webfonts is enabled

Change-Id: Ia0f1b6acc4cf8b7a354671bea47b58425ab8c08e
2017-11-13 09:16:22 +00:00
Santhosh Thottingal
4f3461a9aa Remove autonym font and its usage
I no longer maintain the Autonym font.
Also remove the tofu detection.

Bug: T135464
Bug: T135465
Change-Id: I103aab40ea5f5fc403a7ee5b23d1b634cc9c6ee1
2017-11-13 08:03:12 +00:00
Kartik Mistry
eb8eed98e9 Add Sundanese font
Bug: T162221
Change-Id: Iabf1a22838bd4375be9c8ed3aabad9205523ef8e
2017-04-19 08:42:19 +00:00
Fomafix
bd9a734fb3 Prettify JSON in ext.uls.webfonts.repository.js
Use a prettifyed JSON with tabs for indenting. In non-debug mode the
whitespaces get removed by the minimizer.

Change-Id: I17f4ebabccdada3c2ad45a7e0119a4f246de0ebb
2017-04-16 23:06:07 +02:00
Kartik Mistry
d4ea8550fa Update Skeirs II font
This fixes display of Latin text in Gothic script.

Bug: T124785
Change-Id: Iaf2cc6b05591368356c241e7b65ce4a8e33c24e0
2016-07-28 15:32:27 +02:00
Niklas Laxström
b2b75b15eb Drop eot from supported webfont formats
IE9+ which is lowest that MediaWiki still supports is supposed to
support both ttf and woff par some exceptions.

This reduces uncompressed repo size almost 4000 bytes.

Change-Id: If80f4ec898d86d5fd4cf873d0d86245e66da2f0b
2016-05-24 08:06:11 +02:00
Niklas Laxström
e607466313 Use FormatJson in font repo generator script
The benefit of this is that '/' is no longer escaped, making
ext.uls.webfonts.repository.js file 376 bytes smaller. I expect
that the difference in compressed size is neglible.

Change-Id: I77c0b88fa23f2245f09615c354546b6a9ebf650c
2016-05-23 14:33:37 +02:00
Niklas Laxström
e054af704c FontRepoCompiler now adds hash suffix to font paths
This is now new standard way of doing this in MediaWiki.

Since this makes the font repo bit longer, compensated by no
longer providing version information, which also simplifies the code.
Uncompressed increase is 542 bytes.

Depends on https://github.com/wikimedia/jquery.webfonts/pull/45

Bug: T135806
Change-Id: I1921115fc1abc20e6e756044c0a84a9fe4133884
2016-05-23 09:32:57 +02:00
Santhosh Thottingal
a2cfd0287f Add WOFF2 version of fonts
Modern browsers will use woff2, which has smaller size than woff

Updated the README in the font repository explaining how different
file formats are produced.

Bug: T128291
Change-Id: I81c5380fdbf0ff76142b67cf8fce9db20e8164fa
2016-05-11 10:31:01 +05:30
Niklas Laxström
651f8bc1c3 Refactor font repo compiler so it can be reused
Includes changes to the generated repository file
because the script had not been run for last update.

Change-Id: I6b5d1ce980c6e5b42e36c0044729536b6b0ae4dc
2016-04-14 10:12:20 +02:00
Reedy
7c5336df8a Update OpenDyslexic from 2.1.0+git060dc841 to 2.1.0+git03aa683
Change-Id: Ide39c565d03fac70805ada3399c6010e17540fe4
2015-12-05 20:24:34 +05:30
Reedy
d533dc0c13 Fix syntax error in Akkadian font.ini.
~ in a string must be quoted in an ini file

Change-Id: I92548cf5bc35259f6bcb37456967f480eac76bc8
2015-12-05 01:28:51 +00:00
Kartik Mistry
c3f3f496f6 Add Gothic font
Bug: T52901
Change-Id: I85d35d813b0d0515ff86d05cad93fb42558ac195
2015-07-10 23:44:07 +05:30
Kartik Mistry
2eba0d09d7 Update ext.uls.webfonts.repository.js
This was probably wasn't done in commit be3f8f14

Change-Id: I37ccb8ccd1a1b4ea9f523d9f5ad93ea26a709636
2015-06-15 15:41:00 +05:30
Santhosh
3ff6bfa5e6 Revert "Update Malayalam fonts"
This reverts commit d546f6e71f.
Noted line height variations between WOFF and WOFF2.
Reverting till we investigate this
Similar to https://gerrit.wikimedia.org/r/#/c/174081/

Change-Id: I31e1a2dfe643fcd979953acc5cb6f93e872a2a87
2014-11-18 10:46:26 +00:00
Santhosh
9b396918b7 Revert "Add WOFF2 version of all fonts"
This reverts commit 90519fa8db.

Noted line height variations between WOFF and WOFF2. Reverting till we investigate this

Change-Id: I706c6b552f9045a4f36dd947d6339840b6d2665c
2014-11-18 09:43:33 +00:00
Santhosh Thottingal
90519fa8db Add WOFF2 version of all fonts
WOFF2 generated using woff2_compress tool of
https://code.google.com/p/font-compression-reference

Change-Id: I796fcb7ce0ad492842cbc2ddbcde77e3e5c5e185
2014-11-18 07:18:42 +00:00
Santhosh Thottingal
d546f6e71f Update Malayalam fonts
* Use the latest versions from upstream: 6.1.1
* Meera and AnjaliOldLipi upstream URL is now http://smc.org.in
* Fonts downloaded from upstream release location
  download.savannah.gnu.org/releases/smc/fonts/malayalam-fonts-6.1
* Include WOFF2 version of fonts too
* WOFF2 generated using woff2_compress tool of
  https://code.google.com/p/font-compression-reference

Change-Id: I55572c462a42efe0ceabd6b5a7bc00310ea58fd3
2014-11-17 12:23:43 +00:00
Kartik Mistry
b8d2081b80 Update UnifrakturMaguntia to new upstream release
Version: 2014-07-06
Upstream URL: http://unifraktur.sourceforge.net/maguntia.html

Change-Id: I2a757bc8e5833063e30d72fde1b0bf2df3a8e7f3
2014-08-19 09:22:47 +05:30
Reedy
e0bcfb770b Add Comic Neue
http://comicneue.com/

Change-Id: Ic010455ef73c63828123f42c376db3769218e404
2014-08-06 14:55:42 +00:00
Kartik Mistry
5e9550431c Add Hussaini Nastaleeq font for Urdu
* Added Hussaini Nastaleeq font.
* Added custom license text for Hussaini Nastaleeq.
* Updated licenses/README for new license.

Bug: 56939
Change-Id: Icd28de1172783c794ac16aaa60e27056b728fb28
2014-05-12 11:03:36 +05:30
Kartik Mistry
30b31aaf16 Rename Lohit Oriya to Lohit Odia
* Updated font to 2.5.5. Since there wasn't any other changes, I just
   renamed font name here.
 * Upstream: https://fedorahosted.org/lohit/

Change-Id: I553098e54849c19ede45951d208d81f5d681f2e1
2014-03-08 11:33:28 +05:30
Reza
d81e5b762f Replace Xerxes with Artaxerxes
Xerxes is not passing OpentypeSanitizer check per
https://bugzilla.mozilla.org/show_bug.cgi?id=964696 that is why it won't work
as web font on Chrome and Firefox. This is its derivation to fix the issue.

Change-Id: I619e0c3ecb882ee91d46b36bf65a143bd8647d2f
2014-02-01 20:00:24 +05:30
Reza
33713a1d69 Add Iranian Serif, Iranian Sans Bold, remove Amiri from fa
* Adding Iranian Serif and removing Amiri is per this request-url which is added also:
  https://fa.wikipedia.org/wiki/%D9%88%DB%8C%DA%A9%DB%8C%E2%80%8C%D9%BE%D8%AF%DB%8C%D8%A7:%D9%86%D8%B8%D8%B1%D8%AE%D9%88%D8%A7%D9%87%DB%8C/%D8%A7%D9%81%D8%B2%D9%88%D8%AF%D9%86_%DB%8C%DA%A9_%D9%82%D9%84%D9%85_%D9%88_%D8%AD%D8%B0%D9%81_%D9%82%D9%84%D9%85%DB%8C_%D8%AF%DB%8C%DA%AF%D8%B1
  but adding Iranian Sans Bold is for sake of completion like Amiri
* All EOTs and WOFFs are built/rebuilt using latest sfnttool

Change-Id: I3c0220395b22eaeebc355c0b857a7444c6e14662
2014-01-28 14:44:57 +00:00
Santhosh Thottingal
219b222c34 Remove the license string from the font repository
Saves 2KB

Change-Id: Ifc4add09a00b1906fad60185f95d0691915d9c94
2014-01-25 00:00:21 +00:00
Reedy
9d94cfad57 Add RailwaysSans font
Not adding as a font option for English, but make it possible to define
the font in css and get the font downloaded from server

Bug: 58203
Change-Id: I968c4c4c3ba35ca53a9762cef0f7c59b374b1f67
2014-01-07 14:56:55 +05:30
Reza
426e005ca4 Fixing Scheherazade to properly target local font
Change-Id: I790f43d611f33d48c30f56fc95ce5f7d2c1f2f24
2014-01-04 23:08:21 +00:00
Kartik Mistry
7db07f2d94 Update AbyssinicaSIL font to new upstream version
* Upstream version: 1.500
* Upstream URL: http://scripts.sil.org/AbyssinicaSIL

Change-Id: Ia676001360affbb05985bd865506f03f983fdf07
2013-12-23 17:14:23 +05:30
Reedy
b1b2a26a8c Update ext.uls.webfonts.repository.js against current code
Change-Id: Iab27035e87f381bffd4f186cdb735d61ee0993cd
2013-12-15 19:23:55 +00:00
Ebrahim Byagowi
7f7c2c89f2 Add Lateef and Scheherazade fonts for ckb and fa
* Also improves Nazli by adding Nazli bold from its original pack
* Scheherazade-R.woff is taken from Scheherazade font pack
* Except the above, rest WOFFs and EOTs are made by sfntly

Bug: 58381
Bug: 58382
Change-Id: Iede469600ddcaebfce177f5b3d33a9fc81ea33f9
2013-12-12 10:13:04 +00:00
Kartik Mistry
e19309c1b9 Update Autonym font from upstream.
* Fixed autonym for Old Slavonic.
* Fixed Glagolitic glyphs for 'cu'.
* Removed RFN and documentation updates.

Change-Id: I51263f0b6ecfbd43234b115a2d143f6703f0e60a
Version: 20131205
URL: https://github.com/santhoshtr/AutonymFont
2013-12-05 19:15:37 +05:30
Ebrahim Byagowi
e4736e8cd6 Enable Amiri for ckbwiki
Bug: 57767
Change-Id: Ia176d107061047a921cd29a45ec24b330daddf19
2013-11-30 12:28:50 +00:00
Santhosh Thottingal
ed993610f5 Clean up ini files
* Use ; for comments
* Avoid unescaped characters like = signs
* Consistency in request-url values

Change-Id: I1a94e30f1acedd934645b70f65025872e4bc7b8e
2013-11-24 12:17:42 +05:30
Kartik Mistry
d74954fe7f Update TharLon font to new upstream version.
Updated to version 1.003
Upstream: http://code.google.com/p/tharlon-font/

Change-Id: Ic6563bfcbb851f85e4be7cab83507d02353a1c78
2013-11-18 16:02:25 +05:30
Santhosh Thottingal
b04c11aec9 Sort the language code in alphabetic order
Follow up: Ide4379c01ec1666cc837e0418c1481e3ae599441

Change-Id: If58594ef1157e84dcf646ef14e5e09ad741c7efc
2013-11-17 07:36:37 +05:30
Santhosh Thottingal
644f38d5f3 Add Polish also to OpenDyslexic font supported languages
Bug: 57136
Change-Id: Ide4379c01ec1666cc837e0418c1481e3ae599441
2013-11-16 18:15:54 +05:30
Kartik Mistry
aef4909616 Update Autonym font (20131112)
* Fix rendering of Telugu.

Bug: 56841
Change-Id: Ia43e404ed67346b65e9344c4fb7ae655ed303558
2013-11-12 16:30:26 +05:30
Santhosh Thottingal
7e787c0fc5 Avoid bigger fonts being default for languages
* Avoided Amiri being default font for ar
* Avoided CharisSIL, DuolosSIL being default fonts for
cdo, nan respectively

The change is because of the bandwidth efficiency concerns. Also
Arabic being widely supported language, having defaut font is not
must.

Change-Id: I657d08ded26f25342d18483f6c5a0393f625001b
2013-11-07 12:22:51 +00:00
Santhosh Thottingal
1f42e3a982 Update Autonym font to latest version(20131104)
Release: https://github.com/santhoshtr/AutonymFont/releases/tag/20131104
Changes:
* Remove Tamil GSUB rules, use GPOS alone
* Autohint Latin glyphs
* Dont strip hints for eot format
* Glyph simplifications and misc cleanup

Bug: 56552
Bug: 56346

Change-Id: Ib2014e0606983dbf33391e479f96c75fab79075f
2013-11-04 20:28:06 +05:30
Kartik Mistry
15b9226f07 Unify font license abbreviations.
1. Updated license abbreviations in font.ini
2. Removed duplicate license file in Suwannaphum
3. Corrected license for some fonts
4. Added licenses/LICENSES file to note license related issues and
abbreviations

Bug: 53281
Change-Id: Ia3aa6396cf5197c6baaff716d27682dd23b7674e
2013-11-01 18:19:13 +05:30