cfpb / regulations-site

(DEPRECATED) Web interface for viewing U.S. federal regulations and other regulatory information
Other
28 stars 43 forks source link

Use self-hosted fonts from cf.gov #841

Closed chosak closed 6 years ago

chosak commented 6 years ago

This commit deprecates use of the font files in the private "eregsip" repository, instead using font files located at /static/fonts that are provided by cf.gov. Additionally, the ability to add these fonts locally is provided via a new static.in directory, akin to how cfgov-refresh does it. See documentation here:

https://cfpb.github.io/cfgov-refresh/installation/#webfonts

I've updated the README to make a note of this.

chosak commented 6 years ago

@anselmbradford thanks, I don't know a woff from a Waffle House. I'll make those changes.

chosak commented 6 years ago

Fonts updated to use only woff and woff2 format in 0d49600.

chosak commented 6 years ago

@niqjohnson thanks for the review. This should work standalone. Do you have a local static.in/cfgov-fonts/fonts directory? This line should include it in the static assets. Do you happen to have your DJANGO_SETTINGS_MODULE environment variable set to anything?