-rw-r--r-- 1 lukas lukas 73K Mär 23 10:07 matomo.svg -rw-r--r-- 1 lukas lukas 26K Mär 23 10:07 matomo.ttf -rw-r--r-- 1 lukas lukas 26K Mär 23 10:07 matomo.woff -rw-r--r-- 1 lukas lukas 11K Apr 4 10:31 matomo.woff2 -rw-r--r-- 1 lukas lukas 71K Feb 10 18:17 piwik.svg -rw-r--r-- 1 lukas lukas 25K Feb 10 18:17 piwik.ttf -rw-r--r-- 1 lukas lukas 25K Feb 10 18:17 piwik.woff -rw-r--r-- 1 lukas lukas 9,9K Apr 4 10:31 piwik.woff2
I have also changed the order because every browser uses the first font it supports and therefor woff wasn't used before.
The file has been generated with the official google tool: https://github.com/google/woff2
I guess we'll also need to update the server config as in #11091.
Would you mind mentioning the additional steps required for generating the woff2 in https://github.com/matomo-org/matomo/blob/3.x-dev/plugins/Morpheus/fonts/README.md
Wondering if we maybe could add a test to check if the woff2 files are out of sync
Haven't thought about alternatives, but one way might be to just run
woff2_compress in a test and see if the result is the same as what's in git. A test like this would probably be added to ReleaseCheckListTest. May need to add
woff2 to travis.
No worries if you don't have time to add it.
Travis seems to be using Ubuntu Trusty, but the woff2 package is only available in later versions:
Added an issue for automated tests: https://github.com/matomo-org/matomo/issues/13210