gawati / gawati-portal-ui

Version 2 of the gawati portal
GNU Affero General Public License v3.0
0 stars 0 forks source link

GDPR Compliance: Convert web fonts to local fonts #98

Closed kohsah closed 5 years ago

kohsah commented 6 years ago

Portal-ui uses web-fonts in various places, we need to convert these to local fonts.

Local fonts need to be served from /public from the specific theme folder.

To do : convert all web font requests to local font requrests. Portal-ui uses various google fonts e.g.

https://fonts.googleapis.com/css?family=Montserrat is referred by the css ... this must be changed to a local call by saving the specific google font locally; https://fonts.gstatic.com/s/montserrat/v12/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2 - it needs to be given a more understandable name .. the name of the font itself.

Both build and dev modes need to be tested.

ccsmart commented 6 years ago

This ticket made me look for the licensing terms and led to reading font reviews and recommendations. To sum up, i'd like us to try Fira (http://mozilla.github.io/Fira/) font based on one of those reviews (professionally) and as it seems somehow better to me (unprofesionnally). For comparison: https://fonts.google.com/specimen/Montserrat https://fonts.google.com/specimen/Fira+Sans