Re: [xml2rfc] Unicode box-drawing for a new --table-borders value?

Carsten Bormann <cabo@tzi.org> Sun, 31 January 2021 17:21 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: xml2rfc@ietfa.amsl.com
Delivered-To: xml2rfc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 073D43A1138 for <xml2rfc@ietfa.amsl.com>; Sun, 31 Jan 2021 09:21:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3AwHTNPd8_vJ for <xml2rfc@ietfa.amsl.com>; Sun, 31 Jan 2021 09:21:23 -0800 (PST)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 069DF3A1133 for <xml2rfc@ietf.org>; Sun, 31 Jan 2021 09:21:22 -0800 (PST)
Received: from [192.168.217.152] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4DTHt73SR2zyWP; Sun, 31 Jan 2021 18:21:19 +0100 (CET)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <7ac22d78-bed0-8f9e-6b3e-812474b4feac@taugh.com>
Date: Sun, 31 Jan 2021 18:21:18 +0100
Cc: Anders Rundgren <anders.rundgren.net@gmail.com>, xml2rfc@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <F8BED332-BA00-43A3-B0AB-849F99904CA1@tzi.org>
References: <20210130190821.7504E6D02AD4@ary.qy> <87im7dd0tc.fsf@fifthhorseman.net> <542852db-f30a-01fe-3c16-93b6c8f27d34@gmail.com> <7ac22d78-bed0-8f9e-6b3e-812474b4feac@taugh.com>
To: John R Levine <johnl@taugh.com>
X-Mailer: Apple Mail (2.3654.40.0.2.32)
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/4dvkKgDB1oNISFwgK7DSsUA0DgY>
Subject: Re: [xml2rfc] Unicode box-drawing for a new --table-borders value?
X-BeenThere: xml2rfc@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <xml2rfc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/xml2rfc/>
List-Post: <mailto:xml2rfc@ietf.org>
List-Help: <mailto:xml2rfc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 31 Jan 2021 17:21:26 -0000

On 31. Jan 2021, at 17:41, John R Levine <johnl@taugh.com> wrote:
> 
> Thanks for the pointer.  It doesn't look OK in Chrome on MacOS either.

That seems to be a problem specific to the legacy Courier (as opposed to Courier New and a few other monospaced fonts I tried).
The current stylesheet seems to rely on the browsers' preset for “<pre>”.
Most other fonts that are tagged monospace in macOS Font Book work OK, including the font Chrome’s HTML source inspector uses...

I think what we can learn from this example is that, beyond ASCII, strict grid spacing assumptions about monospace fonts will earn some surprises.

Grüße, Carsten