[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1057960: Font for commands that disambiguates similar looking characters.



Package: installation-guide
Version: 20230508+deb12u1

Commands that users can type into a terminal are marked up as "span
class="command"", but I don't think the CSS defines how to format it
<https://www.debian.org/releases/stable/amd64/install.css>.
Commands are therefore formatted using the same font as the normal
text: "liberation sans" which is the 1st font option for the body in
the CSS. If the user has that font, commands show lowercase "L"s and
uppercase "i"s looking almost exactly the same, e.g. at
<https://www.debian.org/releases/stable/amd64/ch04s03.en.html>.
I'd suggest formatting Commands in the CSS with a font that makes it
easier to spot the difference, since a person may be looking a the
guide on a different computer than the one they're typing the Commands
on and not copying and pasting them. The font for Code is "liberation
mono", which like "DejaVu Sans Mono Book" is sans serif except for l,
I, 1, 0, i, j, and J.


Reply to: