-
Improvement
-
Resolution: Fixed
-
Minor
-
2.7.5, 2.8.3
-
MOODLE_27_STABLE, MOODLE_28_STABLE
-
MOODLE_27_STABLE, MOODLE_28_STABLE
-
Google has begun adding the woff2 fonts to their font libraries (depending on the user agent).
http://www.w3.org/TR/WOFF2/
The font.php file needs to be updated to allow the woff2 format. Chrome makes use of this font exclusively if available.
Backport rationale:
As Moodle 2.7 is 'Long Term Support' (LTS) then it will be used by the community far beyond the normal lifespan of a release. In that time browser technology will progress and has already done so with support of the WOFF2 font format: http://caniuse.com/#search=woff2. At the time of writing, the most used version of Chrome for desktop (39) had 21.61% of the global market share and Chrome for Android (40) had 10.09% of the global market share. Thus a significant number of users could make use of the new format.
The W3C is expected to progress: http://www.w3.org/TR/WOFF2/ to recommended status.
It is clear from: https://moodle.net/stats/ that users hang on to older versions of Moodle far beyond their lifespan and yet browsers improve, thus would want support for the font format in their themes.
- has been marked as being related by
-
MDL-46728 WOFF2 fonts are not supported in themes.
- Closed