Commit Graph

72 Commits

Author SHA1 Message Date
Kartik Mistry
482a7488bf Update UnifrakturMaguntia font to latest version
Bug: 49510
Change-Id: I4227d31696a4d956cc5ea2ddf5df36eb0e8fe7d0
2013-07-15 11:33:12 +05:30
Kartik Mistry
9ae40d5910 Add free and open licensed font for Urdu script
Font homepage is not available, but Debian confirms that font is
licensed to GPL-2.

Also see: http://groups.yahoo.com/group/urdu_computing/message/1081

Bug: 46693
Change-Id: I249f5a36a620ef00235f674cba92a1615a4a785f
2013-07-15 10:50:05 +05:30
Kartik Mistry
aaa1c515e7 Add Canadian Syllabic font
Bug: 42421

Change-Id: I3d791c3752cf73c33b74ee6f531b7fb605419560
2013-07-15 09:47:34 +05:30
Siebrand
489b949aa9 Revert "Disable default web font for language code "ml""
No longer needed given bug 51019.

This reverts commit 13dcfc9abc.

Change-Id: Iae57333f4e0a22a371e83491a73e4685e9c044ff
2013-07-09 09:13:53 +00:00
Siebrand Mazeland
13dcfc9abc Disable default web font for language code "ml"
Bug: 49894
Change-Id: I33c08203f19688ffdf00e7ca3da23a9dd1fb05aa
2013-07-09 09:01:58 +02:00
Siebrand
f72d552eb1 Merge "Remove default web font for Persian language" 2013-07-08 06:54:30 +00:00
Ebrahim Byagowi
b18c2b9f28 Remove default web font for Persian language
Bug: 49957
Change-Id: Ic77739a9748266eecbede8eeea28ab312ccb8b93
2013-07-08 06:50:51 +00:00
jenkins-bot
6d530cbf33 Merge "Add a license for the Akkadian font" 2013-07-06 12:26:40 +00:00
Kartik Mistry
fc84f728f2 Iranian Sans is missing source in font.ini
Until we've official page for font available, keeping Fedora page is
 better. It also says that official site will be available soon based
 upon Google Groups discussion about font license.

 Bug: 50648

Change-Id: Iae9be3788d6d05c86c66984faa8057d147b0561b
2013-07-05 16:14:23 +03:00
Kartik Mistry
bb153e59bc Possible license issue with Utkal font
* Font license is unclear, but 'strings utkal.ttf' gives enough
  information about license which is GPL.

Bug: 50650
Change-Id: I57dde88749858fd4e5d44007a83ab627feecbdcb
2013-07-04 10:41:03 +05:30
Kartik Mistry
8ac72e31fe Add missing license and url for Madan
Bug: 50649
Change-Id: Ifc74a8b87435f4258157d22a8b18ad37de6da7d5
2013-07-03 15:05:47 +05:30
Amir E. Aharoni
94524979c4 Add a license for the Akkadian font
Bug: 50647
Change-Id: I732a12d2fd414419bcf25862c3e8b104426fbfa8
2013-07-03 11:48:59 +03:00
Santhosh Thottingal
8e27852651 Fonts for nan(Min-nan) - Charis SIL and Doulos SIL
Added Doulos SIL
Mapped Charis SIL to nan

Bug: 47190
Change-Id: I2778f2e432bd9012fc985d8f10708a6ac7153ab3
2013-06-20 15:50:05 +05:30
Santhosh Thottingal
0815b87fe1 Update LinuxLiberine fonts
All fonts are autohinted from upstream
Version: 5.3.0

Bug: 49511
Change-Id: I1ad0c0e4fa2570ae9190be8f3ee8c5d5e21413a8
2013-06-20 11:31:18 +05:30
Santhosh Thottingal
47d4854aba Update Lohit fonts from upstream
All upgraded to 2.5.3 version from upstream
https://fedorahosted.org/lohit/

Bug: 49567
Change-Id: I407fbb84c8466302888d4f3c2390884aee860282
2013-06-20 10:36:05 +05:30
Siebrand Mazeland
7ad76c6b64 Coding style updates
Fix issues pointed out by PHP Code Sniffer.

Change-Id: I31279cda12101bb0ad66f104c9cd0e11019d46f1
2013-06-17 16:48:41 +02:00
Siebrand Mazeland
4a1035dcbf Remove last bits of MediaWiki 1.19 compatibility
Compatibility with MediaWiki 1.19 had already been dropped and this hadn't
been removed yet.

Change-Id: I63788ef1d4a6eb87e4280ea2625579a7874eaff8
2013-06-17 16:44:00 +02:00
Siebrand Mazeland
583ce45a53 Remove unused variable
Change-Id: If8da6e911f98c833817a46ca047a52ac83de44bd
2013-06-17 16:25:12 +02:00
Santhosh Thottingal
6a34b6159d Update Lohit Tamil fonts to 2.5.3 version
Change-Id: Id447cdf5c07b0b02ae0b3b29a6bf2380c9896a7e
2013-06-13 15:58:25 +05:30
Santhosh Thottingal
e726f01615 Use system as default font for Tamil
Tamil has wide support in major operating systems

Change-Id: I30adb4aa607b0e4261efdce34457e5b07a0c61ca
2013-06-13 15:11:04 +05:30
Santhosh Thottingal
d11576b27e Add Linux Libertine font
It is Wikipedia wordmark font

Change-Id: Ib280869d8a8686268c7f67aefb29a76752e9e4f4
2013-06-13 12:51:07 +05:30
Santhosh Thottingal
a8c9b923d0 Add UnifrakturMaguntia font
Not mapped to any language, but available by explicit
style definition. style="font-family:'UnifrakturMaguntia';"

Bug: 49499
Change-Id: I346f81ecc145b261f3bc8386c47cce779ac11e33
2013-06-13 09:38:15 +05:30
Santhosh Thottingal
a73c24f54c Add fonts for Syriac Armaic languages
Fonts added: EastSyriacAdiabene, Estarngelo Edessa and SertoUrhoy
Languages: syc, arc
Bug: 47229

Change-Id: Id4f434c544d71a5b9a95ae73c7fd502cdd083019
2013-05-22 08:10:23 +00:00
Amir E. Aharoni
c9a5ec7f19 Add backward compatibility for fetchLanguageNames
Bug: 46737
Change-Id: Ife7c2834c2b2c4f2619b4a5d8e0b0aa1db595984
2013-04-30 16:01:47 +03:00
Niklas Laxström
da255cdc77 Fix Undefined offset notice
Also removed some dead code that never ran, there is no variable named
"$buckets" so it'll never have an offset.

Bug: 45327
Change-Id: I1f70ef0ec4f2434f9f072e718140ff8050b81ba3
2013-04-26 14:29:08 +00:00
Santhosh Thottingal
305e883eb1 Add Divehi font
Using the font from GNU FreeFont(subset)

Bug: 42812

Change-Id: I55c5045ac764d9a40e7ee9b7e9881414816863f4
2013-04-01 13:41:08 +00:00
Amir E. Aharoni
95253cfd47 Adding the Alef font for Hebrew
Change-Id: Ie0936a690613e31204a967cb693b1ef615fad3f0
2013-03-21 18:43:14 +02:00
Santhosh Thottingal
629947ea8b Add Tuladha Jejeg font for Javanese
for jv as non default font, for jv-java as default font

Change-Id: I86a60a510f2d2b070a4aaa7549c1e0c6936a4a01
2013-03-13 22:10:59 +05:30
Amir E. Aharoni
dfbae630a5 Add 'ar' as a language supported by the Amiri font
It is used as the default in the Arabic Wikipedia, so it should be
used in jquery.webfonts, too.

Change-Id: I862e313add75e494fce9e85172b3b9ce869f3716
2013-02-08 17:35:38 +05:30
Santhosh Thottingal
076b9af4cf (bug 44021) WebFonts font drop-down menu has "Opendyslexic" instead of "OpenDyslexic"
Change-Id: Ibcdf2a915085a1b0560db609a8971d837fb2b8c9
2013-01-16 09:24:33 +05:30
Santhosh Thottingal
45194da68c Add Kannada Gubbi font to repo, replace Kedage
Tcy also use the same font, but not default font.

Change-Id: I791e7d69b4c59867f208f2b3cdfa5305972130df
2012-11-26 09:58:36 +05:30
Santhosh Thottingal
710e72c2c7 Fix Bug 42100 - Add more languages for OpenDyslexic font
nl fy li id tl gl bk nb added

Change-Id: Ie97aabe1e28bd92a7142f21a0b4dcda94ec3019f
2012-11-21 16:50:27 +05:30
Santhosh Thottingal
cf8fcf80ee Add font variants for Amiri
Change-Id: I657cd8cd7ff7921cc8973b89356e31a9eb49cf00
2012-11-14 15:25:17 +05:30
Santhosh Thottingal
54f229d72b Update the font.ini with variant information
Change-Id: I9e50fb2be81f8597247458edd8e45073fb924d3e
2012-11-14 15:25:01 +05:30
Santhosh Thottingal
42e3a65131 Support font variants
Generate the font listing in javascript with variant support

An example of generated script:

"Opendyslexic": {
	"version": "0.6",
	"license": "Creative Commons Attribution 3.0 Unported License",
	"ttf": "Opendyslexic\/opendyslexic.ttf",
	"eot": "Opendyslexic\/opendyslexic.eot",
	"woff": "Opendyslexic\/opendyslexic.woff",
	"variants": {
		"bold": "Opendyslexic Bold",
		"italic": "Opendyslexic Italic"
	}
},
"Opendyslexic Bold": {
	"version": "0.6",
	"license": "Creative Commons Attribution 3.0 Unported License",
	"fontweight": "bold",
	"ttf": "Opendyslexic\/opendyslexic-bold.ttf",
	"eot": "Opendyslexic\/opendyslexic-bold.eot",
	"woff": "Opendyslexic\/opendyslexic-bold.woff"
},
"Opendyslexic Italic": {
	"version": "0.6",
	"license": "Creative Commons Attribution 3.0 Unported License",
	"fontstyle": "italic",
	"ttf": "Opendyslexic\/opendyslexic-italic.ttf",
	"eot": "Opendyslexic\/opendyslexic-italic.eot",
	"woff": "Opendyslexic\/opendyslexic-italic.woff"
},

Corresponding ini file:

[Opendyslexic]
languages=en,af,pt,es,sw,de,fi,sq,fr,hu,ca,da,fo,ga,is,ms,sv,wa,lb,gd,oc,tr,mi,it,et,cy
version=0.6
license=Creative Commons Attribution 3.0 Unported License
licensefile=http://dyslexicfonts.com/license.php
url=https://github.com/antijingoist/open-dyslexic
ttf=opendyslexic.ttf
eot=opendyslexic.eot
woff=opendyslexic.woff
bold=Opendyslexic Bold
italic=Opendyslexic Italic

[Opendyslexic Bold]
ttf=opendyslexic-bold.ttf
eot=opendyslexic-bold.eot
woff=opendyslexic-bold.woff
fontweight=bold

[Opendyslexic Italic]
ttf=opendyslexic-italic.ttf
eot=opendyslexic-italic.eot
woff=opendyslexic-italic.woff
fontstyle=italic

Change-Id: I55afcd89fe5be5ecf35b4f2fc47ba508fbcfc41e
2012-11-14 15:21:23 +05:30
Siebrand Mazeland
7be6eeaa2e Fix possible variable pollution
Change-Id: I93b3329d4ff2d8affac379d10baec892c46481f0
2012-11-12 07:45:12 +01:00
Niklas Laxström
8529ed7377 Guard for web execution
Change-Id: I4cac7035a9b80865c3ff5a709f5d7d7c5e5cada4
2012-10-26 19:35:00 +00:00
Amir E. Aharoni
ebfc81d058 Make "system" the default font for Hebrew
"Miriam" was used for initial experimentation. It shouldn't be
the default, becase people complain repeatedly, and rightly, that
it's too small and hard to read.

Change-Id: Ie791ed66acdf71a20275884c39208602bddb06cc
2012-10-21 17:29:22 +02:00
Santhosh Thottingal
b04a9bcced Fix some TODO items in font repository
* upstream URLs

Change-Id: I4f2333c5aacab32e27347f056a1197d45b8b0baa
2012-10-14 14:59:45 +05:30
Santhosh Thottingal
d9215c0585 Fix Bug 40539 Add Opendyslexic font
Added it as non-default font for following languages
en,af,pt,es,sw,de,fi,sq,fr,hu,ca,da,fo,ga,is,ms,sv,wa,lb,gd,oc,tr,mi,it,et,cy

Change-Id: Ia4b18cf0429dc9e07c89b84cdae16a8325806618
2012-10-05 10:36:53 +05:30
Santhosh Thottingal
68f63e003c Explicitly mark the default fonts for many languages
Change-Id: Ib01e0dbf1bbd2bff6ff8e3aabd6a5ddbdcea6e6b
2012-09-26 21:26:08 -07:00
Siebrand Mazeland
e1a4f7f0cb After training the PHPStorm code formatter.
See https://github.com/siebrand/MediaWiki-PHPStorm

Issue remains with anonymous functions in JavaScript.

Change-Id: I2b520f8df127452acf02deb659277a6465e6ca59
2012-09-17 17:10:59 -07:00
Santhosh Thottingal
5ce0dac72d JsHint fixes - Move the invocation into the parens that contain the function.
Change-Id: I83d4808a9daeb6e0d52f77c718f9e384454d8ecc
2012-09-07 13:46:12 +05:30
Reedy
0f0732f865 Fixup a few minor documentation issues
Added some newlines

Left a FIXME in LanguageNameIndexer.php

Losslessly compressed display.png

Change-Id: I884b423d3812ddb964a6a70f75a6331a73371165
2012-08-19 01:19:46 +01:00
Siebrand Mazeland
72d2519c4d Fix some issues pointed out by IDE.
* Update .gitignore to ignore .idea.
* Removed unused local variables.
* use local context and Message class instead of deprecated wfMsg* methods.
* Remove redundant px in CSS where possible.
* Combine CSS statements where possible.
* Replace b by strong.

Change-Id: I9d5ed7b7ce585a1c101044254bcbdfc33d42afc1
2012-08-15 17:32:49 +02:00
Niklas Laxström
3f4b5e4540 Mediawiki WebFonts repository for jquery.webfonts
Added license and upstream information and a
script to compile repoconfig automatically
from metadata.

also contains integration code

Change-Id: Ib39668249dd568a1f6017f0c08a3b9d1e2067ae4
2012-08-14 19:01:46 +05:30
Niklas Laxström
23763bd247 Added autonyms directly to langdb.yaml
* Can add languages not in MW
* Can get rid of foo / bar names which include different scripts
* Can get rid of directionality marks
* PHP scripts to generate the jquery.uls.data.js is now independent of
  mediawiki and moved the scripts to lib/jquery.uls/data
* No pretty printing for the jquery.uls.data.js and added a 'do not edit' comment.
* Related changes in RL module definition and example html

Change-Id: I9a360dbdec4e9312aa5c76f801424ff95a8550d6
2012-08-14 10:19:38 +00:00
Siebrand
e2af6470fb Merge "Add header to jquery.uls.data to say it's generated programatically" 2012-08-12 16:12:41 +00:00
Reedy
b696e24a99 Don't use json_encode directly
Also pass "true" to "isHtml", which reflects to prettify

Change-Id: Ifdefe4dc2bcccb06f4b13774b60c16a6c7066b1a
2012-08-12 17:01:18 +01:00
Reedy
254e6da88f Add header to jquery.uls.data to say it's generated programatically
Also add the same comment to the ulsdata2json.php script

Change-Id: I61f795ea6e4545e7b668f171f759a231cc995437
2012-08-12 16:57:04 +01:00