Commit Graph

10 Commits

Author SHA1 Message Date
Santhosh Thottingal
c0ab42efa8 Include WOFF2 while creating repository data
Change-Id: I28bed21025565e33e690a689e51eb63b8c4d6be4
2014-11-17 16:24:53 +05:30
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
33ca6d47ee Check if compile.php target directories exist, exit if not
If it's not run from the correct directory, a spew of warnings appear

Add done message and also one if not running on the CLI

Change-Id: Iec508acf4216aba7d084bb57156b87bfb117ff4a
2013-10-31 03:32:09 +00:00
Siebrand Mazeland
102f257427 Fix CodeSniffer errors and warnings
More fixes will be submitted upstream.

Change-Id: Ib22997f8756537b063fd6eed3f1f74f3eda315d7
2013-08-05 05:55:03 +02:00
Siebrand Mazeland
b3677810c4 Add newline at end of file.
Change-Id: I96f7633e3a0251e0ba836ca0c1b5265cdc3958e1
2013-08-02 14:15:31 +02:00
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
Niklas Laxström
8529ed7377 Guard for web execution
Change-Id: I4cac7035a9b80865c3ff5a709f5d7d7c5e5cada4
2012-10-26 19:35:00 +00:00
Santhosh Thottingal
68f63e003c Explicitly mark the default fonts for many languages
Change-Id: Ib01e0dbf1bbd2bff6ff8e3aabd6a5ddbdcea6e6b
2012-09-26 21:26:08 -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
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