Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.groff.bug > #1568

FAMILY-dependent apostrophe behaviour with -mom

Path csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Marc Simpson <marc@0branch.com>
Newsgroups gnu.groff.bug
Subject FAMILY-dependent apostrophe behaviour with -mom
Date Sun, 1 Dec 2019 11:08:51 -0800
Lines 47
Approved bug-groff@gnu.org
Message-ID <mailman.73.1575227349.1979.bug-groff@gnu.org> (permalink)
References <CAMbwm8_6uVsLCqCSFM232TmTNCnDtvXnrDb+cyvtqMC_wq2uuA@mail.gmail.com>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
X-Trace usenet.stanford.edu 1575227349 13434 209.51.188.17 (1 Dec 2019 19:09:09 GMT)
X-Complaints-To action@cs.stanford.edu
To bug-groff@gnu.org
Envelope-to bug-groff@gnu.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=0branch-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=64ea4Wyo1V7tY02TPz7Dr6YizWUnaIwzGHFYu6fvv1s=; b=b1TPFre3sYi2t/UNeEcVQifFTcTTYBorah2GKtnswQFwzIC9aUIN5rZ+Vb7eXZ225t NdNIN7XV2MZMAoDoW+3TwqLJNGjNU56M5IMPSOciST6aLkHPtUnZpMcfFuhIhR1uJSR1 9rg53pPoMyQzcnOkr49w9Y/sUGH7Gp9xzwT7ga6mLE5fkUtgPPJX6wJLFqoAavM4ORVw Ccgca1VaAKtZUT9odUYmQvzraKBQi+EjmjO+gsxlsxGgl/A48Ktd6ZFGQqLFyV8pjHMK uI99i7OU0AXeRQ52enr38WeCg/CiuU1pXn3j60DjL22FAP1q9lmneI1q7xKD10Vwz/xk Z4oQ==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=64ea4Wyo1V7tY02TPz7Dr6YizWUnaIwzGHFYu6fvv1s=; b=XG6tmmSKO47IhLf3ZaVBlE7kjb56GMqxMtJjoCwhbN8OaWjknx8F8BW36xfZNWiguY Q0QcgL/2qLutmxViRBdp/iZbd0QMetd0JQ7cDzx3tPCbNCO7BSQ5Rq3xIsXzXHZtRF+a yYMtXYI7+wNP3yXLvjbEmSL1jZKNnN71k9KvemUlbD4lxQZx6S4uTOVjx7XNGBZpPYXJ tdw4LP6p+vluBrvqlHiFGL2DI/SL4nieHjptqnr3RCeHuK0vvzQHumQNPALGLWcmINqH 7nbs3oj4cP5wv8vHtNIl5IzycBq7+OYXvqhUY+guYa/MzNQLqaOHYJtdDDZjhalLBwVq Zkjw==
X-Gm-Message-State APjAAAWx1tEuDI6QL5bhHyLd/2TJBMWAug+5iUVR4Noj06OgQzkYo8dY JUDS5FDqz2WNgbrRbrzoe9Xltugg02WQOeLo8MlWs6uh12k=
X-Google-Smtp-Source APXvYqwBHzmweTYmXysf003337ygnGRYWGoUO0Pn7s8CYfcVke/NSjoJFM6qMfCHUbXxeUYRQveVBi1373zq6HY8V10=
X-Received by 2002:a2e:9592:: with SMTP id w18mr2076378ljh.98.1575227342303; Sun, 01 Dec 2019 11:09:02 -0800 (PST)
X-detected-operating-system by eggs.gnu.org: Genre and OS details not recognized.
X-Received-From 2a00:1450:4864:20::236
X-BeenThere bug-groff@gnu.org
X-Mailman-Version 2.1.23
Precedence list
List-Id "Bug reports for the GNU version of nroff, troff et al" <bug-groff.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-groff>, <mailto:bug-groff-request@gnu.org?subject=unsubscribe>
List-Archive <https://lists.gnu.org/archive/html/bug-groff>
List-Post <mailto:bug-groff@gnu.org>
List-Help <mailto:bug-groff-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-groff>, <mailto:bug-groff-request@gnu.org?subject=subscribe>
X-Mailman-Original-Message-ID <CAMbwm8_6uVsLCqCSFM232TmTNCnDtvXnrDb+cyvtqMC_wq2uuA@mail.gmail.com>
Xref csiph.com gnu.groff.bug:1568

Show key headers only | View raw


Hi all,

I've noticed a difference in the typesetting of apostrophes depending
on selected font family with groff -mom.

Steps to reproduce (GNU groff version 1.22.4, from MacPorts):

- Fetch Peter Schaffter's font installation script from
  https://www.schaffter.ca/mom/bin/install-font.sh.
  - (Peter, if you're here: thanks for 'mom' and this script!)
- Install a macOS system font, e.g. Georgia; I did this interactively,
  creating Georgia +R, +I, +B and +BI.
- Typeset the following (minimal) document:

  --8<------------------------
  .PRINTSTYLE TYPESET
  \#.FAMILY H
  \#.FAMILY Georgia
  .START
  .PP
  Here's an example.
  --8<------------------------

- Note how the apostrophe is typeset as ’ (closing single quotation
  mark) with Times.
- Specify another builtin FAMILY, like H (uncomment line 2); typeset
  and observe the same.
- Now specify that the document is should be typeset in Georgia
  instead (comment out line 2, uncomment line 3).
- Note that the apostrophe is now typeset as ' (a typewriter quote).

Workaround: specify

  .char ' \[cq]

before START.  Note too that this is what .CODE OFF is doing; my
document originally had _inconsistent_ straight and curly apostrophes
as a result of interleaved code blocks.

It's unclear to me why this behaviour differs on the basis of family;
is this a bug, a difference caused by installing a custom font, or
simply user error?  (If the behaviour is intentional, then there's a
related state bug in CODE toggling.)

Thanks,
Marc

Back to gnu.groff.bug | Previous | Next | Find similar


Thread

FAMILY-dependent apostrophe behaviour with -mom Marc Simpson <marc@0branch.com> - 2019-12-01 11:08 -0800

csiph-web