feat: replace Noto Sans with Josefin Sans as primary font#1
feat: replace Noto Sans with Josefin Sans as primary font#1Bahati308 merged 3 commits intoOpenDataEnsemble:mainfrom
Conversation
- Import Josefin Sans from Google Fonts - Update font family tokens to use Josefin Sans - Apply Josefin Sans to all body text elements - Preserve monospace fonts for code blocks
r0ssing
left a comment
There was a problem hiding this comment.
Nice! I really like the distinctive new look!
One thing we could consider: it might be better to serve fonts directly from our server rather than via the Google Fonts API. Loading from Google means that each visitor’s browser sends a request to Google that includes their IP address, browser/device info, the font requested, and the URL of our site, so Google can infer that someone visited our website. Self-hosting the fonts avoids sending this data.
|
Aaah! Thanks @r0ssing and I think I have understood your point,
|
|
That would be a great solution! |
|
Hi @r0ssing, I've implemented the self-hosting approach. Here's what I did:
The fonts are now self-hosted and the visual appearance remains exactly the same. No more external requests to Google Fonts, so visitor data is no longer sent to Google. The implementation uses WOFF2 format for optimal performance and file size. All font weights are properly configured to match the previous setup. Thanks for the suggestion! This is definitely a better approach for privacy. 🎉 |
|
Looks great! Thanks a lot for this! |
Josefin Sans vs Noto Sans
Josefin Sans advantages:
Noto Sans characteristics:
Changes made:
Screenshots:
Before:

After:

Bottom line: Josefin Sans gives our site a more unique, modern look while staying readable. Noto Sans is more universal but less distinctive.
If there are any suggestions of font styles we can use or keeping the current style, I am open to suggestions!
cc @Bahati308 @r0ssing @Ndacyayisenga-droid