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
custom
Billie Thompson 6 years ago
parent 6ba302b725
commit 55fa8e61e2
No known key found for this signature in database
GPG Key ID: D5D50C9378BFCAB0
  1. BIN
      app/assets/fonts/montserrat/Montserrat-Regular.eot
  2. BIN
      app/assets/fonts/montserrat/Montserrat-Regular.ttf
  3. BIN
      app/assets/fonts/montserrat/Montserrat-Regular.woff
  4. BIN
      app/assets/fonts/montserrat/Montserrat-Regular.woff2
  5. BIN
      app/assets/fonts/roboto-mono/robotomono-bold-webfont.eot
  6. 1051
      app/assets/fonts/roboto-mono/robotomono-bold-webfont.svg
  7. BIN
      app/assets/fonts/roboto-mono/robotomono-bold-webfont.ttf
  8. BIN
      app/assets/fonts/roboto-mono/robotomono-bold-webfont.woff
  9. BIN
      app/assets/fonts/roboto-mono/robotomono-bold-webfont.woff2
  10. BIN
      app/assets/fonts/roboto-mono/robotomono-bolditalic-webfont.eot
  11. 1051
      app/assets/fonts/roboto-mono/robotomono-bolditalic-webfont.svg
  12. BIN
      app/assets/fonts/roboto-mono/robotomono-bolditalic-webfont.ttf
  13. BIN
      app/assets/fonts/roboto-mono/robotomono-bolditalic-webfont.woff
  14. BIN
      app/assets/fonts/roboto-mono/robotomono-bolditalic-webfont.woff2
  15. BIN
      app/assets/fonts/roboto-mono/robotomono-italic-webfont.eot
  16. 1051
      app/assets/fonts/roboto-mono/robotomono-italic-webfont.svg
  17. BIN
      app/assets/fonts/roboto-mono/robotomono-italic-webfont.ttf
  18. BIN
      app/assets/fonts/roboto-mono/robotomono-italic-webfont.woff
  19. BIN
      app/assets/fonts/roboto-mono/robotomono-italic-webfont.woff2
  20. BIN
      app/assets/fonts/roboto-mono/robotomono-light-webfont.eot
  21. 1051
      app/assets/fonts/roboto-mono/robotomono-light-webfont.svg
  22. BIN
      app/assets/fonts/roboto-mono/robotomono-light-webfont.ttf
  23. BIN
      app/assets/fonts/roboto-mono/robotomono-light-webfont.woff
  24. BIN
      app/assets/fonts/roboto-mono/robotomono-light-webfont.woff2
  25. BIN
      app/assets/fonts/roboto-mono/robotomono-lightitalic-webfont.eot
  26. 1051
      app/assets/fonts/roboto-mono/robotomono-lightitalic-webfont.svg
  27. BIN
      app/assets/fonts/roboto-mono/robotomono-lightitalic-webfont.ttf
  28. BIN
      app/assets/fonts/roboto-mono/robotomono-lightitalic-webfont.woff
  29. BIN
      app/assets/fonts/roboto-mono/robotomono-lightitalic-webfont.woff2
  30. BIN
      app/assets/fonts/roboto-mono/robotomono-medium-webfont.eot
  31. 1051
      app/assets/fonts/roboto-mono/robotomono-medium-webfont.svg
  32. BIN
      app/assets/fonts/roboto-mono/robotomono-medium-webfont.ttf
  33. BIN
      app/assets/fonts/roboto-mono/robotomono-medium-webfont.woff
  34. BIN
      app/assets/fonts/roboto-mono/robotomono-medium-webfont.woff2
  35. BIN
      app/assets/fonts/roboto-mono/robotomono-mediumitalic-webfont.eot
  36. 1051
      app/assets/fonts/roboto-mono/robotomono-mediumitalic-webfont.svg
  37. BIN
      app/assets/fonts/roboto-mono/robotomono-mediumitalic-webfont.ttf
  38. BIN
      app/assets/fonts/roboto-mono/robotomono-mediumitalic-webfont.woff
  39. BIN
      app/assets/fonts/roboto-mono/robotomono-mediumitalic-webfont.woff2
  40. BIN
      app/assets/fonts/roboto-mono/robotomono-regular-webfont.eot
  41. 1051
      app/assets/fonts/roboto-mono/robotomono-regular-webfont.svg
  42. BIN
      app/assets/fonts/roboto-mono/robotomono-regular-webfont.ttf
  43. BIN
      app/assets/fonts/roboto-mono/robotomono-regular-webfont.woff
  44. BIN
      app/assets/fonts/roboto-mono/robotomono-regular-webfont.woff2
  45. BIN
      app/assets/fonts/roboto-mono/robotomono-thin-webfont.eot
  46. 1051
      app/assets/fonts/roboto-mono/robotomono-thin-webfont.svg
  47. BIN
      app/assets/fonts/roboto-mono/robotomono-thin-webfont.ttf
  48. BIN
      app/assets/fonts/roboto-mono/robotomono-thin-webfont.woff
  49. BIN
      app/assets/fonts/roboto-mono/robotomono-thin-webfont.woff2
  50. BIN
      app/assets/fonts/roboto-mono/robotomono-thinitalic-webfont.eot
  51. 1051
      app/assets/fonts/roboto-mono/robotomono-thinitalic-webfont.svg
  52. BIN
      app/assets/fonts/roboto-mono/robotomono-thinitalic-webfont.ttf
  53. BIN
      app/assets/fonts/roboto-mono/robotomono-thinitalic-webfont.woff
  54. BIN
      app/assets/fonts/roboto-mono/robotomono-thinitalic-webfont.woff2
  55. BIN
      app/assets/fonts/roboto/roboto-black-webfont.eot
  56. 16273
      app/assets/fonts/roboto/roboto-black-webfont.svg
  57. BIN
      app/assets/fonts/roboto/roboto-black-webfont.ttf
  58. BIN
      app/assets/fonts/roboto/roboto-black-webfont.woff
  59. BIN
      app/assets/fonts/roboto/roboto-black-webfont.woff2
  60. BIN
      app/assets/fonts/roboto/roboto-blackitalic-webfont.eot
  61. 16273
      app/assets/fonts/roboto/roboto-blackitalic-webfont.svg
  62. BIN
      app/assets/fonts/roboto/roboto-blackitalic-webfont.ttf
  63. BIN
      app/assets/fonts/roboto/roboto-blackitalic-webfont.woff
  64. BIN
      app/assets/fonts/roboto/roboto-blackitalic-webfont.woff2
  65. BIN
      app/assets/fonts/roboto/roboto-bold-webfont.eot
  66. 16273
      app/assets/fonts/roboto/roboto-bold-webfont.svg
  67. BIN
      app/assets/fonts/roboto/roboto-bold-webfont.ttf
  68. BIN
      app/assets/fonts/roboto/roboto-bold-webfont.woff
  69. BIN
      app/assets/fonts/roboto/roboto-bold-webfont.woff2
  70. BIN
      app/assets/fonts/roboto/roboto-bolditalic-webfont.eot
  71. 16273
      app/assets/fonts/roboto/roboto-bolditalic-webfont.svg
  72. BIN
      app/assets/fonts/roboto/roboto-bolditalic-webfont.ttf
  73. BIN
      app/assets/fonts/roboto/roboto-bolditalic-webfont.woff
  74. BIN
      app/assets/fonts/roboto/roboto-bolditalic-webfont.woff2
  75. BIN
      app/assets/fonts/roboto/roboto-italic-webfont.eot
  76. 15513
      app/assets/fonts/roboto/roboto-italic-webfont.svg
  77. BIN
      app/assets/fonts/roboto/roboto-italic-webfont.ttf
  78. BIN
      app/assets/fonts/roboto/roboto-italic-webfont.woff
  79. BIN
      app/assets/fonts/roboto/roboto-italic-webfont.woff2
  80. BIN
      app/assets/fonts/roboto/roboto-light-webfont.eot
  81. 15513
      app/assets/fonts/roboto/roboto-light-webfont.svg
  82. BIN
      app/assets/fonts/roboto/roboto-light-webfont.ttf
  83. BIN
      app/assets/fonts/roboto/roboto-light-webfont.woff
  84. BIN
      app/assets/fonts/roboto/roboto-light-webfont.woff2
  85. BIN
      app/assets/fonts/roboto/roboto-lightitalic-webfont.eot
  86. 15513
      app/assets/fonts/roboto/roboto-lightitalic-webfont.svg
  87. BIN
      app/assets/fonts/roboto/roboto-lightitalic-webfont.ttf
  88. BIN
      app/assets/fonts/roboto/roboto-lightitalic-webfont.woff
  89. BIN
      app/assets/fonts/roboto/roboto-lightitalic-webfont.woff2
  90. BIN
      app/assets/fonts/roboto/roboto-medium-webfont.eot
  91. 16273
      app/assets/fonts/roboto/roboto-medium-webfont.svg
  92. BIN
      app/assets/fonts/roboto/roboto-medium-webfont.ttf
  93. BIN
      app/assets/fonts/roboto/roboto-medium-webfont.woff
  94. BIN
      app/assets/fonts/roboto/roboto-medium-webfont.woff2
  95. BIN
      app/assets/fonts/roboto/roboto-mediumitalic-webfont.eot
  96. 16273
      app/assets/fonts/roboto/roboto-mediumitalic-webfont.svg
  97. BIN
      app/assets/fonts/roboto/roboto-mediumitalic-webfont.ttf
  98. BIN
      app/assets/fonts/roboto/roboto-mediumitalic-webfont.woff
  99. BIN
      app/assets/fonts/roboto/roboto-mediumitalic-webfont.woff2
  100. BIN
      app/assets/fonts/roboto/roboto-regular-webfont.eot
  101. Some files were not shown because too many files have changed in this diff Show More

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 334 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 369 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 366 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 349 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 373 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 331 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 370 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 339 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 362 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 378 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 1.5 MiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 1.5 MiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 1.5 MiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 1.5 MiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 1.5 MiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 1.5 MiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 1.5 MiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 1.5 MiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 1.5 MiB

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save