Summary: | Unicode asterisks in ctime(3) may not render correctly | ||
---|---|---|---|
Product: | Documentation | Reporter: | Alexey Dokuchaev <danfe> |
Component: | Manual Pages | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | CC: | cem, doc |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Alexey Dokuchaev
2020-05-22 09:24:00 UTC
It also seems odd to me that mdoc is rendering '\(**' as unicode asterisks at all. (Well, I am surprised Unicode has a 2nd asterisk character as well; it seems useless.) Hmm, roff(7): Special Characters Special characters are used to encode special glyphs ... Sequences begin with the escape character ‘\’ followed by either an open-parenthesis ‘(’ for two-character sequences... Examples: \(em Two-letter em dash escape. ... \(cc Special Characters with two-letter names, see mandoc_char(7). I guess that explains \(**. mandoc_char(7): Mathematical: Input Rendered Description ... \(** ∗ asterisk Ok, so \(** is just wrong here. C comments are not some mathematical formula. A commit references this bug: Author: cem Date: Fri May 22 15:30:14 UTC 2020 New revision: 361385 URL: https://svnweb.freebsd.org/changeset/base/361385 Log: ctime.3: Use ASCII asterisks for C, not special unicode math glyphs PR: 246656 Reported by: danfe Changes: head/contrib/tzcode/stdtime/ctime.3 |