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
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
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
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
* 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
Added license and upstream information and a
script to compile repoconfig automatically
from metadata.
also contains integration code
Change-Id: Ib39668249dd568a1f6017f0c08a3b9d1e2067ae4