Re: [Xml-sg-cmt] WeasyPrint Update

John R Levine <johnl@taugh.com> Wed, 29 June 2022 14:16 UTC

Return-Path: <johnl@taugh.com>
X-Original-To: xml-sg-cmt@ietfa.amsl.com
Delivered-To: xml-sg-cmt@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BB7CFC14CF1E for <xml-sg-cmt@ietfa.amsl.com>; Wed, 29 Jun 2022 07:16:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 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_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=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=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=iecc.com header.b=TM9zRtM3; dkim=pass (2048-bit key) header.d=taugh.com header.b=NZXccRQw
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 yvX26-E8CVSB for <xml-sg-cmt@ietfa.amsl.com>; Wed, 29 Jun 2022 07:16:11 -0700 (PDT)
Received: from gal.iecc.com (gal.iecc.com [IPv6:2001:470:1f07:1126:0:43:6f73:7461]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 9B6F7C15A748 for <xml-sg-cmt@ietf.org>; Wed, 29 Jun 2022 07:16:11 -0700 (PDT)
Received: (qmail 44484 invoked from network); 29 Jun 2022 14:16:09 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:subject:in-reply-to:references:mime-version:content-type; s=adc1.62bc5ea9.k2206; bh=NjjKhxH5SRlY7J673VArtGUqLyoIEoYx/hhouMKOVDc=; b=TM9zRtM3K3zMVCux/SdTxM+qOXYxBALZBD93V+RfdGvJ+EaxPrst0yuS5yiWecDPJ3Q/Z7ZXEXQjJPisBZJvCEYEgv5r6ZD8gnViuUGi2EO4xX3uM67IxgRe5J5XRNcj/H3Zpgx8SEtYM/+hVY5/ZSaiS6JAR4Tv1K4AZSLplxP3ZOlnfDpS62Me4OLtYaWUuo0xOeft3zWHoJLxX14N8ope7XN4BV2mTTATjMUhtRWzkG3tEDMQVTObDBtnxQRJRHQUSozAonFzO1Az2PziT9zFiuvpsI1HaL6l/AAjuhmrC8Ji+6O6pOO/Fgyilzm+FoDj2grT0P9d73iprCFvJA==
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=taugh.com; h=date:message-id:from:to:subject:in-reply-to:references:mime-version:content-type; s=adc1.62bc5ea9.k2206; bh=NjjKhxH5SRlY7J673VArtGUqLyoIEoYx/hhouMKOVDc=; b=NZXccRQwP5d47ZHi57sR/hkyQyRk+SKgoHW7cX2jqdLqXwy1fZcECpa7jD34+G7nA3364/MGo5/1+pySIFCaoMZAorggnHaKssZ/lgSnX9ZS2Yz+LVrXo27OXqVBoRsDtcuMsMGITUXSsgme0zwO1rqQYBwLuOiQjB7yMtkgcXB8kIz5aKeT0lv3F0j+nkheJPWb7WZ6NAvzW9yVwxHZIF8BfKB/AQygKBmkA9kUC2IZo9x7FWYqckwkOhNZydsk9w52pSA7fdcp6TzCJkhc71oyIVwQVxP8fKuXxZ9ZHQ/3xObsJf9NeKpoHvF8iOgZUBcJIRD//5GuHwONUPIc/Q==
Received: from ary.local ([IPv6:2001:470:1f07:1126::78:696d:6170]) by imap.iecc.com ([IPv6:2001:470:1f07:1126::78:696d:6170]) with ESMTPS (TLS1.3 ECDHE-RSA AES-256-GCM AEAD) via TCP6; 29 Jun 2022 14:16:09 -0000
Received: by ary.local (Postfix, from userid 501) id BCD2444A22A6; Wed, 29 Jun 2022 10:16:08 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1]) by ary.local (Postfix) with ESMTP id 8ED8544A2288; Wed, 29 Jun 2022 10:16:08 -0400 (EDT)
Date: Wed, 29 Jun 2022 10:16:08 -0400
Message-ID: <12977ef3-4a3f-6dd3-c048-189c9bd824db@taugh.com>
From: John R Levine <johnl@taugh.com>
To: Robert Sparks <rjsparks@nostrum.com>, xml-sg-cmt@ietf.org
X-X-Sender: johnl@ary.local
In-Reply-To: <546a3330-f75e-6733-ab64-e8853ca3dd49@nostrum.com>
References: <299a8995-589b-8b9d-8526-21f919afb122@staff.ietf.org> <546a3330-f75e-6733-ab64-e8853ca3dd49@nostrum.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"; format="flowed"
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml-sg-cmt/KVSZM5UJsEDcELMPI9seQ4d6gpc>
Subject: Re: [Xml-sg-cmt] WeasyPrint Update
X-BeenThere: xml-sg-cmt@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Working list for the xml and style guide change management team <xml-sg-cmt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xml-sg-cmt>, <mailto:xml-sg-cmt-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/xml-sg-cmt/>
List-Post: <mailto:xml-sg-cmt@ietf.org>
List-Help: <mailto:xml-sg-cmt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xml-sg-cmt>, <mailto:xml-sg-cmt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 Jun 2022 14:16:16 -0000

> I'm not sure we can do a real comparison without running these through the 
> pdfaPilot step, which essentially rewrites the pdf.

It's not likely to change the appearance unless the PDF is depending on 
fonts other than the standard ones or ones included in the PDF which would 
be a bug.  PDF/A mostly fills in defaults and divides some internal data 
structures into smaller chunks.

But I agree the differences we're seeing due to the new rendering 
library seem significant.

Regards,
John Levine, johnl@taugh.com, Taughannock Networks, Trumansburg NY
Please consider the environment before reading this e-mail. https://jl.ly