Platform specific mis-formatting

Reading …

… using Chrome 9.0.597.107 on Ubuntu 10.04 LTS, I am noticing that many of the underscores are missing (e.g. I see ‘link to’ rather than ‘link_to’ and ‘url for’ rather than ‘url_for’).

Everything looks good on Windows 7 with Chrome and Ubuntu with Firefox.

If I had to guess, I’d guess that it’s a problem with the font used for code samples where on Ubuntu the characters that descend below the baseline are sometimes mangled (e.g. ‘resource :geocoder’ in section 2.5 is mangled while ‘belongs_to :magazine’ in section 2.7 is not).

When an underscore is mangled, it gets thinned to the point of invisibility.

Sorry, I have no idea how to fix this, but I have forwarded this issue to the Chrome people as well.

You're right.

I don't see that in edge guides. I kind of remember there was a CSS fix from memory, but should investigate. If there was a fix it should be cherry-picked to 3-0-stable if it wasn't.

I'm seeing this issue on Snow Leopard 10.6.6 with Safari 5.0.3 (6533.19.4).

Do you see the issue also in edge guides? For example, do you miss the underscore in the first code block of