diff options
author | Billie Thompson <billie@purplebooth.co.uk> | 2017-01-26 14:06:40 +0000 |
---|---|---|
committer | Billie Thompson <billie@purplebooth.co.uk> | 2017-01-26 20:09:03 +0000 |
commit | 55fa8e61e2c43658de8d4352530c36cdcffc977f (patch) | |
tree | 08b6a6f2024fbde294c309765ece796ed80e2c3d /app/assets/fonts/montserrat | |
parent | 6ba302b725c53645bc20591c63fa21aa465dbcf0 (diff) |
Move the fonts from Google Fonts to local assets
Currently we have two problems that are resolved by this change. The first is that we have a dependency on Google Fonts, which means that should it ever go down, or it have issues we would also have issues. This will resolve this by moving the dependencies we load from there to the local server. The second issue is that Google Fonts is currently returning the `local()` css font source. This causes a problem where the users browser fails to fallback to a missing glyph, resulting in many unusual characters displaying the failure glyph. This will resolve this by creating a font-family definition that does not use the `local()` source. I did not update the error pages with local fonts, they still use the remote google fonts api, so they're a self contained page that does not use the asset pipeline. This resolves tootsuite/mastodon#531 and tootsuite/mastodon#12
Diffstat (limited to 'app/assets/fonts/montserrat')
-rw-r--r-- | app/assets/fonts/montserrat/Montserrat-Regular.eot | bin | 0 -> 75826 bytes |
-rw-r--r-- | app/assets/fonts/montserrat/Montserrat-Regular.ttf | bin | 0 -> 191860 bytes |
-rw-r--r-- | app/assets/fonts/montserrat/Montserrat-Regular.woff | bin | 0 -> 81244 bytes |
-rw-r--r-- | app/assets/fonts/montserrat/Montserrat-Regular.woff2 | bin | 0 -> 61840 bytes |
4 files changed, 0 insertions, 0 deletions
diff --git a/app/assets/fonts/montserrat/Montserrat-Regular.eot b/app/assets/fonts/montserrat/Montserrat-Regular.eot new file mode 100644 index 000000000..2421c73cc --- /dev/null +++ b/app/assets/fonts/montserrat/Montserrat-Regular.eot Binary files differdiff --git a/app/assets/fonts/montserrat/Montserrat-Regular.ttf b/app/assets/fonts/montserrat/Montserrat-Regular.ttf new file mode 100644 index 000000000..29ca85d4a --- /dev/null +++ b/app/assets/fonts/montserrat/Montserrat-Regular.ttf Binary files differdiff --git a/app/assets/fonts/montserrat/Montserrat-Regular.woff b/app/assets/fonts/montserrat/Montserrat-Regular.woff new file mode 100644 index 000000000..af3b5ec44 --- /dev/null +++ b/app/assets/fonts/montserrat/Montserrat-Regular.woff Binary files differdiff --git a/app/assets/fonts/montserrat/Montserrat-Regular.woff2 b/app/assets/fonts/montserrat/Montserrat-Regular.woff2 new file mode 100644 index 000000000..3d75434dd --- /dev/null +++ b/app/assets/fonts/montserrat/Montserrat-Regular.woff2 Binary files differ |