Commit Graph

31 Commits

Author SHA1 Message Date
Niklas Laxström
7fa5c4efeb Update jquery.webfonts to 17e61547
Change-Id: Ib73c2504e2c90c3bfcada30ec59aeec40116a504
2016-05-31 10:54:34 +02:00
Kartik Mistry
2de3f70e71 Update jquery.webfonts to f0dae72
Changes:
* Fix undefined.toLowerCase is not a function in jquery.webfonts.js

Change-Id: Id5c6f02a8537b897de7dc7542c10bc620817ea39
2016-02-26 16:08:49 +05:30
Santhosh Thottingal
3c65ec183c Update jquery.webfonts
Use latest upstream version. Commit: 482d0a8df22f

* Adds support for WOFF2 webfont format

Change-Id: Ic5e966eb14dc70017f9b15787b9ca1cb9043f23b
2014-11-17 16:20:00 +05:30
Santhosh Thottingal
ed6c2cf3c8 Remove a console debug statement added in I579c3ccb6e0c1ad
Change-Id: Ifbbc9b8b3a643d38fd8874e23c1087e5ee431e80
2014-04-16 10:53:42 +05:30
Santhosh Thottingal
db750d1a1e Update jquery.webfonts to 372aad1
Introduce overridable font family option
Font stacks given in overridableFontFamilies will be overridden
as as exception to the general policy of not altering elements with
explicit font family styles

Change-Id: I579c3ccb6e0c1ad39d434651a4689e8c595e5a84
2014-04-14 17:35:34 +05:30
Amir E. Aharoni
24a47aa034 Update jquery.webfonts from upstream
Changes:
* Fixed the condition for queueing elements for webfonts application.

Bug: 62530
Change-Id: I0100b653682ecf9a07256528aa40a5d8765489db
2014-03-17 06:15:31 +00:00
Kartik Mistry
d8c6e59da8 Update jquery.webfonts from upstream
Upstream: https://github.com/wikimedia/jquery.webfonts
 Changes:
 * Bug 56081: Reset webfonts where we found inline css style upon reset.
   This will fix broken live preview of content font bug.

Change-Id: I60a75611db8cc299b6cc9ba14c5aff6719cb3239
2014-03-14 10:18:40 +05:30
Santhosh Thottingal
1113786330 Detect tofu before applying any default fonts
To detect whether the client can render a given string,
use a tofu detection algorithm.

If the user has an explicit font preference, do not override it.

If the user has no preference and there is a default font for a
language, see if that language can be rendered at the user's browser
using tofu detection.

If tofu is detected, apply the font.

If the element has 'autonym' class, apply Autonym font only when
that language has tofu.

Change-Id: Ib9ee9497e6bcfa7eb86f7d264e0980d8880d6b70
2014-01-20 22:20:58 +05:30
Santhosh Thottingal
7867b41ca4 Update jquery.webfonts from upstream
Upstream: https://github.com/wikimedia/jquery.webfonts/

Changes:
* Respect explicit font styles of child elements when switching
languages
* Fix duplicate font-weight property

Change-Id: Ic45357b2613e6f33c392f9a78cc389f31c99e036
2013-10-22 17:17:52 +00:00
Santhosh Thottingal
35ac3b972a Fix monospace font usage for input fields for latin scripts
Updating jquery.webfonts from upstream

Bug: 53734
Change-Id: I58c9c3fb74774e26e0f680cec0b0f9b2d3b2c11c
2013-10-21 16:01:35 +00:00
Ori Livneh
27224935c6 Cherry-pick dcbed4f from jquery.webfonts upstream
dcbed4f: Remove magic date from version query string
<https://github.com/wikimedia/jquery.webfonts/commit/dcbed4f>

Change-Id: I8cbce12916b67601db93dcbca63d9985b6b49717
2013-10-17 09:39:15 -07:00
Santhosh Thottingal
3fbbf05c26 Optionally exclude elements from applying webfonts
* Updates jquery.webfonts from upstream
* Introduces wgULSNoWebfontsSelectors configuration variable. It
  takes an array of jquery selector to which webfonts will not be
  applied if defined.

Change-Id: I0dc263f84620af4077f52e18eeb0f986ff0f13b9
2013-09-19 10:17:54 -07:00
Santhosh Thottingal
35f7172a11 Update jquery.webfonts from upstream
Bug: 49151
Change-Id: I9dd87f44c0465801ac225a1bdc6268e85f89911e
2013-08-26 11:44:37 +05:30
Santhosh Thottingal
17956d5af8 Update jquery.webfonts from upstream
Upstream: https://github.com/wikimedia/jquery.webfonts
Changes:
* Fixes Bug 53203
* More documentation and code cleanup

Bug: 53203
Change-Id: Ieb48ba532cc1d9880d2fde1b185af7cbed1a3eff
2013-08-23 13:52:35 +05:30
Amir E. Aharoni
8035fae75b Update from upstream
Unbreak previous update.
Done in pair programming with Niklas.

Change-Id: I8ccd5284363f38deac6df522c879867abf583c1a
2013-07-10 20:58:41 +03:00
Amir E. Aharoni
ed7589c3b8 Update jquery.webfonts from upstream
Bug: 50836
Change-Id: I6c1f79b2392d458214c897cf8542ed9a89c550f8
2013-07-10 18:26:22 +03:00
Santhosh Thottingal
4d1969161c Avoid setting inline style for the element when reset applied
Followup: Ic3baa18b01a972f08e51e84217e82d0939e674c0 and
	Iff522e0016d8284dc785580e6eb3dd2967c58289
Bug: 39992

Change-Id: Ifd8c4629f5512f6d54fc0a19d3b8d2bec4db23c0
2013-06-01 18:13:34 +05:30
Santhosh Thottingal
b9462e709f Update jquery.webfonts from upstream
Change-Id: Ic3baa18b01a972f08e51e84217e82d0939e674c0
2013-05-29 15:22:36 +05:30
Amir E. Aharoni
c1fadbd2e1 Update from upstream
Unbreaks escaping.

Change-Id: If7774237ba7993f366c6999c9fcefcd56d9221d2
2013-04-30 15:52:08 +03:00
Amir E. Aharoni
d0b8f24417 Update webfonts and uls libs from upstream
Change-Id: I338950789e94e1638069ca97cf29cea2d78cf3b8
2013-04-28 23:50:22 +03:00
Siebrand Mazeland
a98ff90d49 Update jquery.ime and jquery.webfonts from upstream
Change-Id: I7963adc763c53df87cfb8452fde514554a332e6c
2013-01-17 18:30:36 +00:00
Amir E. Aharoni
630f9d141a Update from upstream
Change-Id: I58496182f755e152cea0ce8b34277a413385a6e5
2012-11-21 20:59:47 +02:00
Santhosh Thottingal
bd8aa89c2b Update jquery.webfonts from upstream
Has proper font variant support

Change-Id: I5af7243106b140ed87e729b3fd6563d57e21ca7d
2012-11-14 15:19:36 +05:30
Amir E. Aharoni
0f8512a627 (bug 39560) Bring fix from upstream
Change-Id: I22bb979475511ec6354ff61411248e134c4a14a8
2012-10-30 07:05:49 +02:00
Amir E. Aharoni
9576538e21 Update from GitHub
Change-Id: I3af46eea6dd81f09710157db1f3a239c623cef6b
2012-10-11 12:21:33 +02:00
Santhosh Thottingal
62a8d4f8fd Update version from upstream
* Adds exclude option

Change-Id: Iaa220abf0bc11c26b13a481e1fbf3b307a0e9d0b
2012-09-05 13:46:58 +05:30
Santhosh Thottingal
92ed1f656d Updated version from upstream
Introduces refresh method
Introduces fontSelector hook

Change-Id: I255c213a87cd588f6dd17b1ec48ac3c294413a81
2012-08-21 10:10:27 +05:30
Amir E. Aharoni
6c3378990e Fix apply() to work with an empty string.
Change-Id: Ib7f7c9d9a0d99b3768cea4f7c77f8477c3421bae
2012-08-20 15:54:30 +03:00
Amir E. Aharoni
5bb5ca0118 Add webfonts reset functionality to the checkbox
Change-Id: I983d261fa018416c36ad2123b94850986beeca70
2012-08-17 11:57:02 +03: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
Santhosh Thottingal
fd00333e56 Add jquery.webfonts
Upstream : https://github.com/santhoshtr/jquery.webfonts

Change-Id: I8cf90b8ea538505faedb4c5880357205e68a4288
2012-08-13 20:01:25 +05:30