Return-Path: <kesara@staff.ietf.org>
X-Original-To: tools-discuss@ietfa.amsl.com
Delivered-To: tools-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by ietfa.amsl.com (Postfix) with ESMTP id 2605DC1840DC
	for <tools-discuss@ietfa.amsl.com>; Tue,  2 Jul 2024 20:29:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.906
X-Spam-Level: 
X-Spam-Status: No, score=-1.906 tagged_above=-999 required=5
	tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001,
	URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001]
	autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key)
	header.d=staff-ietf-org.20230601.gappssmtp.com
Received: from mail.ietf.org ([50.223.129.194])
	by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 2BT5lfmj9wdc for <tools-discuss@ietfa.amsl.com>;
	Tue,  2 Jul 2024 20:29:42 -0700 (PDT)
Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com
 [IPv6:2a00:1450:4864:20::62a])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest
 SHA256)
	(No client certificate requested)
	by ietfa.amsl.com (Postfix) with ESMTPS id 4666DC14F748
	for <tools-discuss@ietf.org>; Tue,  2 Jul 2024 20:29:42 -0700 (PDT)
Received: by mail-ej1-x62a.google.com with SMTP id
 a640c23a62f3a-a751ed17b1eso29640166b.1
        for <tools-discuss@ietf.org>; Tue, 02 Jul 2024 20:29:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=staff-ietf-org.20230601.gappssmtp.com; s=20230601; t=1719977380;
 x=1720582180; darn=ietf.org;
        h=content-transfer-encoding:cc:to:subject:message-id:date:from
         :in-reply-to:references:mime-version:from:to:cc:subject:date
         :message-id:reply-to;
        bh=UNmK88RpuWpxHd3oFVpnLrqnVXbbpCLaJ0zcGbMGCvA=;
        b=Lw+581ZPm2RpngFoV2h1OsStq5vhyk6C3gs22+qQG0cynml3QdvOJqdohPjwBUpgeV
         sS6gkfEa0fzkIZSO0A0fHLEPhWBYKLjaRnVKHU7cfW0EhPPeZO3Tj72ePAPGh/EnuEjR
         a5tyfiV7Il3WIPyJtvyBVnT7KxLUgW1E16Ebw3ZFQykMFS2cnS0HbxXsRdm0d+Ui5XBN
         ZPwZ0wM9UoMqb3xxHkB6S+dgsMICf6FwiaUbJeTY4MEFStYYJ70BF1EMSgQIUQ5Gr3vR
         2iKwgTHJlvdjDbkIbZrgIZBhBrc73JYcKWRxUgdvgzVuVIPW4gsBEDbjnjqDqlZxB485
         xwww==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1719977380; x=1720582180;
        h=content-transfer-encoding:cc:to:subject:message-id:date:from
         :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
         :subject:date:message-id:reply-to;
        bh=UNmK88RpuWpxHd3oFVpnLrqnVXbbpCLaJ0zcGbMGCvA=;
        b=lIv0GcMwhOs6t0pAAuCUaXVY+1D3otDhDD1GjFeVsXYzsiFuvmxxzkuFsvdv0UCUuo
         IeDBFziYJYbL8LVhDCqXuf03ZQk66lKk+/FzxoZwdiaA7c40ZAFdIuFWrbY9Rh4P7qc7
         pt/hXJOkA5ZDfKXxWv1uBEFfCyyynHZxYft0ykL1Rn5g8boFT2FCghNGASRsBA/1aj+6
         s46O947N1YEvIO+tx1OF2yGh8eTPWoER6OQQW3OqRBYp3ulbWtYXsmY+wCb97LfGRYc7
         9dADdJbuJazRLzzPBiH7RJBMa1ZYn62qmDlpbDZ6Mm6WgxTQq5NUPZQinq8DdjXuZjDB
         QShQ==
X-Forwarded-Encrypted: i=1;
 AJvYcCVQMk63QBDahI3zu+mzF/tZ+eGnY1zxZtUmfmHu6PXTrhL7YyHSrAzjPqku891tys6xkPnBPPwK8HUXcL8BVpiFPXGXFWiG
X-Gm-Message-State: AOJu0Ywcca+SaoGnPY4KuyC6jIzphKT2m8cqYHvV/lcdlk6fmgs1WfXy
	GNyKbO3sguFvNL4p1ZkMWhXSDcGSDbK+/gKt6LXSC/EarmcUZ3XvTL9LvIZAkPahv4teu4OAaHK
	tqf44XmXp6fNwLEjfSjSYD7BiYbs32nQoaXxJfP9e
X-Google-Smtp-Source: 
 AGHT+IEOeW7vFACpvduaJisuxThbq7sMsmhB522MFiiCLo+pWCFAxhalIj7NXqiS/sf6FcrZSd+XowaFjCg6h8TgEXU=
X-Received: by 2002:a17:906:fb8e:b0:a72:634d:d843 with SMTP id
 a640c23a62f3a-a77a24b8e83mr26083266b.34.1719977379753; Tue, 02 Jul 2024
 20:29:39 -0700 (PDT)
MIME-Version: 1.0
References: 
 <CAD2=Z875ia8NDqqbU1XKV=jbTsP4pyc7O570pq6z3Z0ntVH94g@mail.gmail.com>
 <9ba901ba-7ec1-458d-809f-5499b1106416@betaapp.fastmail.com>
In-Reply-To: <9ba901ba-7ec1-458d-809f-5499b1106416@betaapp.fastmail.com>
From: Kesara Rathnayake <kesara@staff.ietf.org>
Date: Wed, 3 Jul 2024 15:29:27 +1200
Message-ID: 
 <CAD2=Z854xyby9AjPpAieTnpRwqNceHkaPpFYrHEhHtFpOepsxg@mail.gmail.com>
To: Martin Thomson <mt@lowentropy.net>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Message-ID-Hash: 4L4IHEA3T7IC26TLWLYJFLGPJQ7CHOIQ
X-Message-ID-Hash: 4L4IHEA3T7IC26TLWLYJFLGPJQ7CHOIQ
X-MailFrom: kesara@staff.ietf.org
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
CC: XML2RFC Interest Group <xml2rfc@ietf.org>,
 tools-discuss <tools-discuss@ietf.org>, rfc-markdown@ietf.org
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: =?utf-8?q?=5BTools-discuss=5D_Re=3A_New_xml2rfc_release=3A_v3=2E22=2E0?=
List-Id: IETF Tools Discussion <tools-discuss.ietf.org>
Archived-At: 
 <https://mailarchive.ietf.org/arch/msg/tools-discuss/kEERUqu95__for9YiYvT1NKRqDQ>
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>

Hi Martin,

Improving the ability to install required fonts using pip extras is an
aspirational goal.
WeasyPrint relies on Pango and Pango requires fonts to be installed at
the OS level.

Cheers,
Kesara

On Wed, 3 Jul 2024 at 13:35, Martin Thomson <mt@lowentropy.net> wrote:
>
> Hi Kesara,
>
> I'm sure this was considered, but my expectation would be that this is a =
dependency of xml2rfc (i.e., installed with pip) rather than a manual step.=
  Was that not possible?  My browser downloads fonts from the web, so it mu=
st be possible to acquire fonts from sources other than the OS font store.
>
> I'm looking at this from the perspective of having to bootstrap a docker =
image with the necessary font information and it is non-trivial to do that =
in a relatively spare OS installation.
>
> Cheers,
> Martin
>
> On Wed, Jul 3, 2024, at 06:13, Kesara Rathnayake wrote:
> > =C2=A1Hola!
> >
> > See https://github.com/ietf-tools/xml2rfc/releases/tag/v3.22.0 for
> > release details.
> >
> > Notable updates:
> > The necessary fonts for PDF generation can now be found in the
> > xml2rfc-fonts repository [1].
> >
> > Font Installation Instructions:
> >  * Download the latest fonts [2] from xml2rfc-fonts.
> >  * In the "Assets" section, download either the tar.gz or the zip archi=
ve.
> >  * Extract the contents of the downloaded xml2rfc-fonts archive.
> >  * Install the fonts found in the `noto` and `roboto_mono` directories
> > to your operating system.
> >
> > [1] https://github.com/ietf-tools/xml2rfc-fonts/
> > [2] https://github.com/ietf-tools/xml2rfc-fonts/releases/latest
> >
> > Cheers,
> > Kesara
> >
> > --
> > Kesara Rathnayake
> > Senior Software Development Engineer - IETF Administration LLC
> > kesara@staff.ietf.org
> >
> > -----------------------------------------------
> > 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/



--=20
Kesara Rathnayake
Senior Software Development Engineer - IETF Administration LLC
kesara@staff.ietf.org

