From 55fa8e61e2c43658de8d4352530c36cdcffc977f Mon Sep 17 00:00:00 2001 From: Billie Thompson Date: Thu, 26 Jan 2017 14:06:40 +0000 Subject: 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 --- .../fonts/roboto-mono/robotomono-bold-webfont.eot | Bin 0 -> 57167 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100755 app/assets/fonts/roboto-mono/robotomono-bold-webfont.eot (limited to 'app/assets/fonts/roboto-mono/robotomono-bold-webfont.eot') diff --git a/app/assets/fonts/roboto-mono/robotomono-bold-webfont.eot b/app/assets/fonts/roboto-mono/robotomono-bold-webfont.eot new file mode 100755 index 000000000..f320adde6 Binary files /dev/null and b/app/assets/fonts/roboto-mono/robotomono-bold-webfont.eot differ -- cgit