[Xml-sg-cmt] WeasyPrint Update

Kesara Rathnayake <kesara@staff.ietf.org> Wed, 29 June 2022 01:28 UTC

Return-Path: <kesara@staff.ietf.org>
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 3C009C14F607 for <xml-sg-cmt@ietfa.amsl.com>; Tue, 28 Jun 2022 18:28:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.906
X-Spam-Level:
X-Spam-Status: No, score=-6.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, 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=ham autolearn_force=no
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 qrWoCPXmd4BE for <xml-sg-cmt@ietfa.amsl.com>; Tue, 28 Jun 2022 18:28:23 -0700 (PDT)
Received: from ietfx.amsl.com (ietfx.amsl.com [50.223.129.196]) (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 6A84FC15D878 for <xml-sg-cmt@ietf.org>; Tue, 28 Jun 2022 18:28:23 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by ietfx.amsl.com (Postfix) with ESMTP id 5C0F44053E5D for <xml-sg-cmt@ietf.org>; Tue, 28 Jun 2022 18:28:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
Received: from ietfx.amsl.com ([50.223.129.196]) by localhost (ietfx.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rAU7uyk6HyIN for <xml-sg-cmt@ietf.org>; Tue, 28 Jun 2022 18:28:23 -0700 (PDT)
Received: from [192.168.1.87] (122-58-89-179-vdsl.sparkbb.co.nz [122.58.89.179]) by ietfx.amsl.com (Postfix) with ESMTPSA id ED8324053E5C for <xml-sg-cmt@ietf.org>; Tue, 28 Jun 2022 18:28:22 -0700 (PDT)
Message-ID: <299a8995-589b-8b9d-8526-21f919afb122@staff.ietf.org>
Date: Wed, 29 Jun 2022 13:28:19 +1200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.0
To: "xml-sg-cmt@ietf.org" <xml-sg-cmt@ietf.org>
Content-Language: en-NZ
From: Kesara Rathnayake <kesara@staff.ietf.org>
Organization: IETF Administration LLC
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml-sg-cmt/U9QdkYjwo1V0hrRo_cPkvR2oX6E>
Subject: [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 01:28:27 -0000

Hi all,

I have draft PR [1] for the WeasyPrint update.
This updates WeasyPrint from 52.5 to 55.0.
Since WeasyPrint 53.0, they have moved the PDF generation from cairo to 
pypdf [2].
I have generated PDFs from RFC 8650 to RFC 9260 [3].

There are some differences from my random checks.

Let me know your thoughts.

Note that these PDFs haven't gone through the pdfaPilot step to convert 
to PDF/A-3 with the XML source file embedded.

[1] https://github.com/ietf-tools/xml2rfc/pull/802
[2] https://github.com/CourtBouillon/pydyf
[3] https://devbox.amsl.com/weasyprint55/

Cheers,
Kesara
-- 
Kesara Rathnayake
Senior Software Development Engineer - IETF LLC
kesara@staff.ietf.org