4 ms·
So if you want to use cmr, cmi, and friends, on your web site, what's the best way to do it? I see that you seem to have put them in a few different formats in
by kragen 14y ago
So if you want to use cmr, cmi, and friends, on your web site, what's the best way to do it? I see that you seem to have put them in a few different formats in /fonts/ and even stuck a base64 version into the stylesheet itself. I'd be delighted to hear more about the pains you had to take and why!
- JoelSutherland 14y agoI started with the OTF files here: http://canopus.iacp.dvo.ru/~panov/cm-unicode/ http://canopus.iacp.dvo.ru/~panov/cm-unicode/ Then I messed around a bunch with the advanced options on the Font Squirrel @font-face generator: http://www.fontsquirrel.com/fontface/generator http://www.fontsquirrel.com/fontface/generator I don't remember the exact settings I used, but it needed a decent amount of tweaking to end up looking acceptable. The base64 encoding doesn't contribute to anything other than website performance. It saves an additional request in modern browsers. The other linked fonts are for IE/Older browsers.
- kragen 14y agoCool, thanks! What kind of aesthetic problems did you have? Poor hinting, lousy kerning?