[nasm:nasm-2.15.xx] doc: swap 'hyphen' and 'minus' in PostScript definition

nasm-bot for H. Peter Anvin (Intel) hpa at zytor.com
Thu Jul 2 21:09:03 PDT 2020


Commit-ID:  61be48a383dd951f036631ea35723f2a6a8b96ee
Gitweb:     http://repo.or.cz/w/nasm.git?a=commitdiff;h=61be48a383dd951f036631ea35723f2a6a8b96ee
Author:     H. Peter Anvin (Intel) <hpa at zytor.com>
AuthorDate: Thu, 2 Jul 2020 21:06:29 -0700
Committer:  H. Peter Anvin (Intel) <hpa at zytor.com>
CommitDate: Thu, 2 Jul 2020 21:06:29 -0700

doc: swap 'hyphen' and 'minus' in PostScript definition

It appears that at least with the Adobe Source fonts:

'hyphen' -> U+002D (ASCII)
'minus'  -> U+2212

This is ugly for cut & paste purposes.

Reported-by: C. Masloch <pushbx at ulukai.org>
Signed-off-by: H. Peter Anvin (Intel) <hpa at zytor.com>


---
 doc/genps.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/genps.pl b/doc/genps.pl
index b5a1a8a2..72985cc7 100755
--- a/doc/genps.pl
+++ b/doc/genps.pl
@@ -237,7 +237,7 @@ if (defined($fontmap)) {
  'dieresis', undef, 'ring', 'cedilla', undef, 'hungarumlaut',
  'ogonek', 'caron', 'space', 'exclam', 'quotedbl', 'numbersign',
  'dollar', 'percent', 'ampersand', 'quoteright', 'parenleft',
- 'parenright', 'asterisk', 'plus', 'comma', 'minus', 'period',
+ 'parenright', 'asterisk', 'plus', 'comma', 'hyphen', 'period',
  'slash', 'zero', 'one', 'two', 'three', 'four', 'five', 'six',
  'seven', 'eight', 'nine', 'colon', 'semicolon', 'less', 'equal',
  'greater', 'question', 'at', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H',
@@ -254,7 +254,7 @@ if (defined($fontmap)) {
  'scaron', 'guilsignlright', 'oe', undef, 'zcaron', 'Ydieresis',
  'space', 'exclamdown', 'cent', 'sterling', 'currency', 'yen',
  'brokenbar', 'section', 'dieresis', 'copyright', 'ordfeminine',
- 'guillemotleft', 'logicalnot', 'hyphen', 'registered', 'macron',
+ 'guillemotleft', 'logicalnot', 'minus', 'registered', 'macron',
  'degree', 'plusminus', 'twosuperior', 'threesuperior', 'acute', 'mu',
  'paragraph', 'periodcentered', 'cedilla', 'onesuperior',
  'ordmasculine', 'guillemotright', 'onequarter', 'onehalf',


More information about the Nasm-commits mailing list