openspending / cameroon.openspending.org

Website for "Cameroon Budget Inquirer"
http://cameroon.openspending.org/
7 stars 10 forks source link

Problem with font, characters with accents have a different size #39

Closed pzwsk closed 10 years ago

pzwsk commented 10 years ago

See front page for instance http://cameroon.openspending.org/fr/

vitorbaptista commented 10 years ago

The problem is that the fonts aren't loading correctly, so the browser is falling back to some default which, depending on the OS/browser, might not have accents (it doesn't in my machine with Ubuntu+Chrome or Firefox).

I can fix the fonts quite easily. You can compare the site with Open Sans (which was the intent):

cameroon-opensans

With it with the default font in Ubuntu:

camerron-default-font

IMO, Open Sans looks much nicer, but as I suspect no one noticed this problem with the fonts before, and developed the site with whatever default font was at their machine, the font sizes are configured for that. Everything is too small on Open Sans. To use it, we'll have to figure out nicer font sizes, and fix any layout issues coming from that.

vitorbaptista commented 10 years ago

Done.