Fixing the Font for Github Gists
I’ve switched to the Github Gist service for my code examples. It’s a great service: easy to use, the code is versioned and you can download it easily.
However the default fonts make your eyes bleed, at least on my Windows machine. It suffers from heavy aliasing, so that you have trouble reading it. Clear Type doesn’t seam to work. Here’s an example-rendering:
Luckily it’s easy to fix it by specifying another font in your CSS. I’ve changed the font selection to prefer the beautiful Consolas font
And it looks much, much better.
I haven’t tested it yet on other platforms, but at least it better on Windows. When you know a good monospaced-font for your favorite platform tell me, I’ll include it in my CSS.
- Managing 1:N and N:N Object Relations
- Glee
I love the Droid fonts (which are used on Android, but also available in Ubuntu or as a TTF), so “Droid Sans Mono” would be nice.
See here for a sample: http://damieng.com/blog/2007/11/14/droid-sans-mono-great-coding-font
The newest version can be downloaded directly from git: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=tree;f=data/fonts
Indeed, nice font. I’ll integrate it soon.
“Droid Sans Mono” is now included in the CSS. Enjoy good looking fonts.