[Tools-discuss] Re: xml2rfc: boldface in Noto Sans
Martin Thomson <mt@lowentropy.net> Mon, 22 September 2025 08:08 UTC
Return-Path: <mt@lowentropy.net>
X-Original-To: tools-discuss@mail2.ietf.org
Delivered-To: tools-discuss@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 4B5FC66A006B for <tools-discuss@mail2.ietf.org>; Mon, 22 Sep 2025 01:08:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.797
X-Spam-Level:
X-Spam-Status: No, score=-2.797 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=lowentropy.net header.b="YIDj9Ajw"; dkim=pass (2048-bit key) header.d=messagingengine.com header.b="gcwFADsC"
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SI57Pr0MPPhL for <tools-discuss@mail2.ietf.org>; Mon, 22 Sep 2025 01:08:06 -0700 (PDT)
Received: from fout-b2-smtp.messagingengine.com (fout-b2-smtp.messagingengine.com [202.12.124.145]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id A08AA66A0064 for <tools-discuss@ietf.org>; Mon, 22 Sep 2025 01:08:06 -0700 (PDT)
Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfout.stl.internal (Postfix) with ESMTP id A529C1D000B4 for <tools-discuss@ietf.org>; Mon, 22 Sep 2025 04:08:00 -0400 (EDT)
Received: from phl-imap-15 ([10.202.2.104]) by phl-compute-06.internal (MEProxy); Mon, 22 Sep 2025 04:08:00 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lowentropy.net; h=cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1758528480; x=1758614880; bh=WFrk480nBzEY7TEDNcQerlQUaY5VB2admSsfhd5uITQ=; b= YIDj9AjwNBVZ1KUXYAC7lBP1wcW4e20+/umTWieJIhV4fCWebDOvl2pf+w4Zzcnj C0xmFpNNBIa5hKoQNU9AFWqadfuV6QCyatP2Pb4nOyHAhhwJ85qr/woVG1sR3wDq f7YpJWuyTUh82s9rSNRGd3EVWT+WrVSe1GTQqIaE87WUyqlmNA/1TTP5Eltmzj2c dgjhz4Yuan7G9wjMVZg79G+z/4ssfN5MEkmiedQJv8ZAHVuutfZ9Soze3CDLrAiP 3brP6QoVho9crprPVp9aO8VoBwWQceL1q3isPejnI0rEvaVsVmPcEygTLByi3m27 kgd7XgFYsbVpgX1Ae0fOTQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1758528480; x=1758614880; bh=W Frk480nBzEY7TEDNcQerlQUaY5VB2admSsfhd5uITQ=; b=gcwFADsCdcxR9On0Q 9TMdfDuRsh9AveOjoqpWa/Isf/RF63zZIQyOOb8rargpn6OYN6da7BIV+F+pq58N nQkcAuQIq4kuW3QC2NsPkJJsj4cCHS1sAFfkFnxyS0ay9eium8/ja3WOjEdc3clK xp7pXGXx3e43bxCSnHRLYv1xoRWieCdYsCgGNJbOnQ51YZb0Q4MJEOIJsizsbvub bP3q02VfJScJUa077jqSYpZGF5Ke9MvG6oJ7YquFyWvKYZoDR+hMlulM3UHEkcA1 Ttxe5diarKU4HSnyZddDcMiA7KlMxtYpTQ6OWkVaHipxZHu7KXxGsxAxy6dgU5NU uuvIQ==
X-ME-Sender: <xms:4APRaGCchnWc6L3qS4F57UHVOZb2Vy7GD9viGinjkIl7Cc18mEMRQw> <xme:4APRaAjxRKvqpw-3mX4uA9Ylm3-kIpcWqtv4hihi_qZzVO3NByZdw3QzaIUGg6Lcu CiN7kxLYAa9MWHRXdo>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggdehjeeffecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecuogfuuhhsphgvtghtffhomhgrihhnucdlgeelmdenucfjug hrpefoggffhffvkfgjfhfutgfgsehtqhertdertdejnecuhfhrohhmpedfofgrrhhtihhn ucfvhhhomhhsohhnfdcuoehmtheslhhofigvnhhtrhhophihrdhnvghtqeenucggtffrrg htthgvrhhnpeetjeetgfefteevtdeikeffgeehgedtvedvtddvudelfffgkefftdfgvdeg uedvfeenucffohhmrghinhepghhoohhglhgvrghpihhsrdgtohhmpdhivghtfhdrohhrgh dpthiiihdrohhrghdpghhithhhuhgsrdhiohenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpehmtheslhhofigvnhhtrhhophihrdhnvghtpdhnsg gprhgtphhtthhopedupdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehtohholhhs qdguihhstghushhssehivghtfhdrohhrgh
X-ME-Proxy: <xmx:4APRaCczqocGAL9tRRFOCGmDWphPG9ixeQ6qmlFw1OlZq_l2pSIUnQ> <xmx:4APRaOM8gyNHM39Yl5dJzxS0G3sK0qUmCbHwQJBsi5m5x-yDD9cVlQ> <xmx:4APRaM5fTmua5E4ic9QlWTjXlKWDISXTNcLwKATAM8YzMXQsu6UptQ> <xmx:4APRaCLUfrHW2MgntsJCRsJC5gIi-ci2Fg4CrI4tq975l8fuHBF0tQ> <xmx:4APRaKJq-Mc8oPcnKytl6zd_NtSLYLvhC4e_Q1NAnYNxImjjoGqfIDwW>
Feedback-ID: ic129442d:Fastmail
Received: by mailuser.phl.internal (Postfix, from userid 501) id 4296678026F; Mon, 22 Sep 2025 04:08:00 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
MIME-Version: 1.0
X-ThreadId: AZ61eoH5hNjo
Date: Mon, 22 Sep 2025 18:07:41 +1000
From: Martin Thomson <mt@lowentropy.net>
To: tools-discuss@ietf.org
Message-Id: <1ae751ef-2018-444b-a2fa-b2cb0c4249d1@betaapp.fastmail.com>
In-Reply-To: <EC4BEFC9-8916-4957-B42D-1581A598F45F@tzi.org>
References: <EC4BEFC9-8916-4957-B42D-1581A598F45F@tzi.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Message-ID-Hash: N2M2NJL33OCAYJX3EGWZRFI375UVKBR5
X-Message-ID-Hash: N2M2NJL33OCAYJX3EGWZRFI375UVKBR5
X-MailFrom: mt@lowentropy.net
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-tools-discuss.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Tools-discuss] Re: xml2rfc: boldface in Noto Sans
List-Id: IETF Tools Discussion <tools-discuss.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tools-discuss/S4fgfR1fM21k64MEAJfjxjOzvE0>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tools-discuss>
List-Help: <mailto:tools-discuss-request@ietf.org?subject=help>
List-Owner: <mailto:tools-discuss-owner@ietf.org>
List-Post: <mailto:tools-discuss@ietf.org>
List-Subscribe: <mailto:tools-discuss-join@ietf.org>
List-Unsubscribe: <mailto:tools-discuss-leave@ietf.org>
I'm not seeing a problem here. But that is not because there is no problem. The bold text is a little bit hard to make out, but only because two digits next to each other with different bolding is subtle in any of the four presentations I checked. That's because I (apparently) have the fonts cached on the relevant domains. Carsten doesn't. The problem is that https://fonts.googleapis.com/css?family=Noto+Sans only returns weight 400 fonts. Bold uses weight 700. It probably changed recently on Google's end. This is a bug on xml2rfc that should be easy enough to fix. While at it, it would be good if the fonts were moved to be hosted on ietf.org or rfc-editor.org, rather than requiring a separate connection. These are somewhat chunky fonts, but the added cost, especially with strong caching, is probably modest enough. On Mon, Sep 22, 2025, at 17:58, Carsten Bormann wrote: > I was trying to make some point more apparent by using <strong> markup. > > It turns out that <strong> markup is nearly invisible in the > xml2rfc-generated HTML: > > https://www.ietf.org/archive/id/draft-ietf-core-yang-sid-pen-01.html#name-example > > (New game: Find the boldface :-) > > This is fine in plaintext (where we have “*” fallback) and in PDF > (which uses Noto-serif), please see Section 2 of: > > https://tzi.org/~cabo/draft-ietf-core-yang-sid-pen.pdf > > (This is the same document — I have to generate the PDF separately > because the I-D submission interface still doesn’t.) > > Note that the variant, somewhat harder to read formatting shown by the > i-d-template CI also can show boldface: > > https://core-wg.github.io/sid-pen/draft-ietf-core-yang-sid-pen.html#name-example > > Is this something that should be fixed? > Or does the RFC editor maybe use CSS different from that used by plain xml2rfc? > > Grüße, Carsten > > ----------------------------------------------- > Tools-discuss mailing list -- tools-discuss@ietf.org > To unsubscribe send an email to tools-discuss-leave@ietf.org > https://mailarchive.ietf.org/arch/browse/tools-discuss/
- [Tools-discuss] xml2rfc: boldface in Noto Sans Carsten Bormann
- [Tools-discuss] Re: xml2rfc: boldface in Noto Sans Martin Thomson
- [Tools-discuss] Re: xml2rfc: boldface in Noto Sans Rob Sayre
- [Tools-discuss] Re: xml2rfc: boldface in Noto Sans Martin Thomson
- [Tools-discuss] Re: xml2rfc: boldface in Noto Sans Kesara Rathnayake
- [Tools-discuss] Re: xml2rfc: boldface in Noto Sans Rob Sayre
- [Tools-discuss] Re: xml2rfc: boldface in Noto Sans Kesara Rathnayake
- [Tools-discuss] Re: xml2rfc: boldface in Noto Sans Julian Reschke
- [Tools-discuss] Re: xml2rfc: boldface in Noto Sans Rob Sayre
- [Tools-discuss] Re: xml2rfc: boldface in Noto Sans Jean Mahoney
- [Tools-discuss] Re: xml2rfc: boldface in Noto Sans Kesara Rathnayake
- [Tools-discuss] Re: xml2rfc: boldface in Noto Sans Robert Sparks
- [Tools-discuss] Re: xml2rfc: boldface in Noto Sans Martin Thomson
- [Tools-discuss] Re: xml2rfc: boldface in Noto Sans Rob Sayre