NetBSD-Bugs archive

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

misc/61054: NetBSD Guide ASCII art doesn't line up correctly



>Number:         61054
>Category:       misc
>Synopsis:       NetBSD Guide ASCII art doesn't line up correctly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 24 05:10:01 +0000 2026
>Originator:     Robert Whitlock
>Release:        N/A
>Organization:
>Environment:
Safari
>Description:
The ASCII art diagram at https://www.netbsd.org/docs/guide/en/chap-inetd.html#chap-inetd-whats-inetd doesn't render correctly. The characters aren't in their intended positions, probably because its author expected a fixed width font, however the web site renders it with a variable width font.
>How-To-Repeat:
Go to the web site above in a web browser that renders the text with a variable width font. I expect most any bitmapped (not terminal text mode) browser would satisfy this requirement.
>Fix:
Put the text in an HTML pre tag with CSS property font-family: monospace. There's probably another way to achieve the same effect.

Examining the source code shows that the ASCII art diagram is in a <div class="literallayout"> block but I don't seem to be able to find any definition for that class, in CSS or otherwise. Perhaps the fix is to restore the definition of class literallayout.




Home | Main Index | Thread Index | Old Index