Font handling in 2.2.5 is higly eccentric verging on
bugdom: Some fonts are hardcoded into the templates,
some can be changed by adjusting the mainfontface
variable, some fonts are not set at all but left to the
browser to determine.
The result can be typographic chaos if the user's
browser is set to use a serif font - article text is
serif, much of the stuff around it isn't.
I'd suggest having three font variables, all of them
optional. (Why optional? Some people think as a matter
of principle the browser should be allowed to choose
FontBase: would be the basic default font for the whole
FontSmall: Would be the font for the the things
currently hardcoded as small sans-serif.
FontTitle: the font for titles in articles, fancyboxes,
and the main and organization blocks.
Ideally all font calls would use relative sizes, and
there would be at least a FontBaseSize variable to set
the base size; maybe variables for the relative sizes too?
Log in to post a comment.