[Bug 246656] Unicode asterisks in ctime(3) may not render correctly

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri May 22 09:24:01 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246656

            Bug ID: 246656
           Summary: Unicode asterisks in ctime(3) may not render correctly
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Manual Pages
          Assignee: bugs at FreeBSD.org
          Reporter: danfe at FreeBSD.org
                CC: doc at FreeBSD.org

When tm structure is described in the ctime(3), it's supposed to be rendered as
C code, with asterisks for char pointer (tm_zone) and comments (/* ... */). 
However, they may not be displayed correctly, depending if the user's font has
the glyph for U+2217 (∗) ASTERISK OPERATOR (hex e2 88 97).  For example, Luxi,
DroidSans, DejaVuSans monospaced fonts have it, but e.g. Consolas does not (it
renders nothing).  With traditional "fixed" font, dotted square is drawn.  On
the FreeBSD virtual console with default settings, a square is drawn.

Would it be possible to use the simple ASCII asterisks instead, like everywhere
else in that page?  As I read in the commit history of this file, although it
is under contrib, it has diverged sufficiently from upstream (including a full
whitespace commit and large portions rewritten), so perhaps we can also replace
these Unicode asterisks with ASCII ones so it renders correctly everywhere.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-doc mailing list