[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 05/05: devlatin1: Map \(oq to ' on output.
From: |
G. Branden Robinson |
Subject: |
[groff] 05/05: devlatin1: Map \(oq to ' on output. |
Date: |
Thu, 27 Jun 2019 13:38:39 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit 2e2d302aa7bce88bad9b05f24db22b4727957f69
Author: G. Branden Robinson <address@hidden>
Date: Fri Jun 28 03:26:57 2019 +1000
devlatin1: Map \(oq to ' on output.
font/devlatin1/R.proto: Render the output glyph \[oq] {opening quote} as
0x27 (apostrophe) instead of 0x60 (grave accent). A grave accent is
just flat wrong for the Latin-1 character set, a.k.a. ISO 8859-1. The
defining document ECMA-94 {June 1986} is freely available for perusal.
The ECMA-94 Latin character sets do not define any glyphs for
directional {"typographer's"} quotation marks, but the apostrophe is
depicted as a neutral (vertical) glyph, whereas the grave accent 0x60
and acute accent 0xB4 are mirror-symmetric diacritical marks.
Note that this change has no effect on _input_ conventions for roff
source documents. You can still get directional single quotes on UTF-8,
PostScript, PDF, and other output devices supporting them by typing
sequences like `this' in the input {character remapping with ".char"
requests and similar notwithstanding}.
Patch and idea from Ingo Schwarze, who originally proposed it for ASCII
as well, and included Latin-1 for parallelism. The groff developers
could reach no consensus about the wisdom of such a change for ASCII
(which was designed to support ambiguity for some code points, requiring
the development of supplementary interpretation conventions between
parties). ECMA-94/ISO-8559 is more strongly prescriptive.
See https://savannah.gnu.org/bugs/?55616 and the groff mailing list
archives for 31 January to 23 February 2019 at
https://lists.gnu.org/archive/html/groff for lengthy discussion.
---
ChangeLog | 39 +++++++++++++++++++++++++++++++++++++++
NEWS | 20 +++++++++++++++++++-
font/devlatin1/R.proto | 2 +-
3 files changed, 59 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 44b2cff..d44bb27 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,44 @@
2019-06-28 G. Branden Robinson <address@hidden>
+ devlatin1: Map \(oq to ' on output.
+
+ * font/devlatin1/R.proto: Render the output glyph \[oq]
+ {opening quote} as 0x27 (apostrophe) instead of 0x60 (grave
+ accent). A grave accent is just flat wrong for the Latin-1
+ character set, a.k.a. ISO 8859-1. The defining document ECMA-94
+ {June 1986} is freely available for perusal. The ECMA-94 Latin
+ character sets do not define any glyphs for directional
+ {"typographer's"} quotation marks, but the apostrophe is
+ depicted as a neutral (vertical) glyph, whereas the grave accent
+ 0x60 and acute accent 0xB4 are mirror-symmetric diacritical
+ marks.
+
+ Note that this change has no effect on _input_ conventions for
+ roff source documents. You can still get directional single
+ quotes on UTF-8, PostScript, PDF, and other output devices
+ supporting them by typing sequences like `this' in the input
+ {character remapping with ".char" requests and similar
+ notwithstanding}.
+
+ Patch and idea from Ingo Schwarze, who originally proposed it
+ for ASCII as well, and included Latin-1 for parallelism.
+ The groff developers could reach no consensus about the wisdom
+ of such a change for ASCII (which was designed to support
+ ambiguity for some code points, requiring the development of
+ supplementary interpretation conventions between parties).
+ ECMA-94/ISO-8559 is more strongly prescriptive.
+
+ See https://savannah.gnu.org/bugs/?55616 and the groff mailing
+ list archives for 31 January to 23 February 2019 at
+ https://lists.gnu.org/archive/html/groff for lengthy discussion.
+
+ * src/roff/groff/tests/on-latin1-device-oq-is-0x27.sh: Check for
+ correct output glyph.
+
+ * src/roff/groff/groff.am: Add test.
+
+2019-06-28 G. Branden Robinson <address@hidden>
+
* tmac/unicode.tmac: Execute in compatibility mode since the
script uses a GNU extension (.char).
diff --git a/NEWS b/NEWS
index 1adb2a1..636804e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
- Copyright (C) 1992-2018 Free Software Foundation, Inc.
+ Copyright (C) 1992-2019 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -7,6 +7,24 @@
This file describes recent user-visible changes in groff. Bug fixes are not
described. There are more details in the man and info pages.
+VERSION 1.22.5
+==============
+
+Troff
+-----
+o On the Latin-1 output device ("groff -T latin1") the output glyph \[oq]
+ (opening quote) is now rendered as code point 0x27 (apostrophe) instead of
+ 0x60 (grave accent). The ECMA-94 Latin character sets do not define any
+ glyphs for directional ("typographer's") quotation marks, but the
+ apostrophe is depicted as a neutral (vertical) glyph, whereas the grave
+ accent 0x60 and acute accent 0xB4 are mirror-symmetric diacritical marks.
+
+ Note that this change has no effect on _input_ conventions for roff source
+ documents. You can still get directional single quotes on UTF-8,
+ PostScript, PDF, and other output devices supporting them by typing
+ sequences like `this' in the input (character remapping with ".char"
+ requests and similar notwithstanding).
+
VERSION 1.22.4
==============
diff --git a/font/devlatin1/R.proto b/font/devlatin1/R.proto
index ff33356..a8d093a 100644
--- a/font/devlatin1/R.proto
+++ b/font/devlatin1/R.proto
@@ -48,6 +48,7 @@ Do "
' 24 0 0047
fm "
aq "
+oq "
cq "
( 24 0 0050
) 24 0 0051
@@ -142,7 +143,6 @@ _ 24 0 0137
ru "
ul "
` 24 0 0140
-oq "
ga "
a 24 0 0141
b 24 0 0142
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 05/05: devlatin1: Map \(oq to ' on output.,
G. Branden Robinson <=