aboutsummaryrefslogtreecommitdiff
path: root/source/blog/2015-06-12-the-tip-of-the-iceberg.md (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix font issues: moving back to Droid Sans Mono for codeZhiming Wang2015-06-161-0/+2
| | | | | | | | | | | | | | | | | I just noticed that code font is crazy without Consolas installed (I recently reinstalled my OS and got rid of Office for Mac 2011 — that's probably why). The line numbers are all off (since the line heights are carefully pre-calculated, and fallback fonts of different leadings won't help). Therefore, I'm moving to the quite nice looking and controllable Droid Sans Mono. Isn't as satisfactory as Consolas on the web, but certainly better than Monaco. Note: I originally copied my list Consolas, Monaco, 'Andale Mono', monospace (I added Courier since I like it a lot as the primitive monospace font) from MDN Wiki, but now it looks like a bad choice when I don't have Consolas any more. By the way, MDN Wiki renders line numbers using JS, so at least they are able to calculate the line heights. I'm serving everything statically, so this is a problem.
* 20150612 The tip of the icebergZhiming Wang2015-06-121-0/+22