[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #58930] take baby steps toward Unicode
From: |
G. Branden Robinson |
Subject: |
[bug #58930] take baby steps toward Unicode |
Date: |
Thu, 13 Oct 2022 14:05:40 -0400 (EDT) |
Follow-up Comment #21, bug #58930 (project groff):
Dave, what do you think of this?
diff --git a/tmac/fallbacks.tmac b/tmac/fallbacks.tmac
index 428aaa2b7..02ac998a2 100644
--- a/tmac/fallbacks.tmac
+++ b/tmac/fallbacks.tmac
@@ -142,6 +142,49 @@
.fchar \[oe] oe
.fchar \[:Y] \z\[ad]Y
.
+.fchar \[u2000] \h'1n' \" en quad
+.fchar \[u2001] \h'1m' \" em quad
+.fchar \[u2002] \h'1n' \" en space
+.fchar \[u2003] \h'1m' \" em space
+.fchar \[u2004] \h'(1/3u)m' \" three-per-em space
+.fchar \[u2005] \h'(1/4u)m' \" four-per-em space
+.fchar \[u2006] \h'(1/6u)m' \" six-per-em space
+.fchar \[u2007] \0 \" figure space
+.fchar \[u2008] \^ \" puncutation space
+.fchar \[u2009] \| \" thin space
+.fchar \[u200A] \^ \" hair space
+.fchar \[u200B] \h'0' \" zero-width space
+.fchar \[u2010] -\: \" hyphen
+.fchar \[u2011] - \" non-breaking hyphen (won't break w/o .hcode or \:)
+.ie t .fchar \[u2012] \v'-.3m'\l'\0\[ru]'\v'+.3m' \" figure dash
+.el .fchar \[u2012] \-
+.fchar \[u2013] \[en] \" en dash
+.fchar \[u2014] \[em] \" em dash
+.fchar \[u2015] \[em] \" horizontal bar (quotation dash)
+.fchar \[u2016] || \" double vertical line (matrix norm)
+.if t .fchar \[u2017] \Z'\[ul]'\v'+.1m'\[ul]\v'-.1m' \" double low line
+.fchar \[u2018] ` \" left single quotation mark
+.fchar \[u2019] ' \" right single quotation mark
+.fchar \[u201C] \[lq] \" left single quotation mark
+.fchar \[u201D] \[rq] \" right single quotation mark
+.fchar \[u2020] \[dg] \" dagger
+.fchar \[u2021] \[dd] \" double dagger
+.fchar \[u2022] \[bu] \" bullet
+.fchar \[u2024] . \" one dot leader
+.fchar \[u2025] .\|. \" two dot leader
+.fchar \[u2026] .\|.\|. \" horizontal ellipsis
+.fchar \[u2027] \[pc] \" hyphenation point
+.fchar \[u2030] \[%0] \" per mille sign
+.fchar \[u2032] \[fm] \" prime
+.fchar \[u2033] \[sd] \" double prime
+.fchar \[u2039] \[fo] \" left single chevron
+.fchar \[u203A] \[fc] \" right single chevron
+.fchar \[u203D] \z?! \" interrobang
+.fchar \[u203E] \[rn] \" overline
+.fchar \[u2044] \[f/] \" fraction slash
+.fchar \[u2052] % \" commercial minus sign
+.fchar \[u2053] \[ti] \" swung dash
+.
.cp \n[*groff_fallbacks_tmac_C]
.do rr *groff_fallbacks_tmac_C
.
diff --git a/tmac/ps.tmac b/tmac/ps.tmac
index 0f512b42a..9e59c571b 100644
--- a/tmac/ps.tmac
+++ b/tmac/ps.tmac
@@ -28,9 +28,6 @@
.
.cflags 8 \[an]
.
-\# non-breaking hyphen
-.fchar \[u2011] -
-.
.char \[radicalex] \h'-\w'\[sr]'u'\[radicalex]\h'\w'\[sr]'u'
.fchar \[sqrtex] \[radicalex]
.char \[mo] \h'.08m'\[mo]\h'-.08m'
This doesn't help with kerning one little bit, I acknowledge. But that is a
much thornier problem, and this one seems responsive to the "Unicode baby
steps" topic of this ticket.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58930>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #58930] take baby steps toward Unicode, Dave, 2022/10/08
- [bug #58930] take baby steps toward Unicode, G. Branden Robinson, 2022/10/08
- [bug #58930] take baby steps toward Unicode, Dave, 2022/10/08
- [bug #58930] take baby steps toward Unicode,
G. Branden Robinson <=
- [bug #58930] take baby steps toward Unicode, Dave, 2022/10/14
- [bug #58930] take baby steps toward Unicode, Dave, 2022/10/14
- [bug #58930] take baby steps toward Unicode, G. Branden Robinson, 2022/10/23
- [bug #58930] take baby steps toward Unicode, G. Branden Robinson, 2022/10/23
- [bug #58930] take baby steps toward Unicode, Dave, 2022/10/25
- [bug #58930] take baby steps toward Unicode, Dave, 2022/10/25
- [bug #58930] take baby steps toward Unicode, Dave, 2022/10/31