Re: [Xml-sg-cmt] WeasyPrint Update

Kesara Rathnayake <kesara@staff.ietf.org> Wed, 29 June 2022 21:48 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 549E8C15C7F4 for <xml-sg-cmt@ietfa.amsl.com>; Wed, 29 Jun 2022 14:48:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.782
X-Spam-Level:
X-Spam-Status: No, score=-3.782 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-1.876, 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 bFQrewdz1aJV for <xml-sg-cmt@ietfa.amsl.com>; Wed, 29 Jun 2022 14:48:15 -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 75BACC15C7F3 for <xml-sg-cmt@ietf.org>; Wed, 29 Jun 2022 14:48:15 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by ietfx.amsl.com (Postfix) with ESMTP id 4E0564053E5D; Wed, 29 Jun 2022 14:48:15 -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 sOJNibHQEZJ0; Wed, 29 Jun 2022 14:48:15 -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 95A2E4053E5C; Wed, 29 Jun 2022 14:48:14 -0700 (PDT)
Message-ID: <a2a9b89a-816f-f149-9eb1-0e282343fa2d@staff.ietf.org>
Date: Thu, 30 Jun 2022 09:48:10 +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
Content-Language: en-NZ
To: John R Levine <johnl@taugh.com>, Robert Sparks <rjsparks@nostrum.com>, xml-sg-cmt@ietf.org
References: <299a8995-589b-8b9d-8526-21f919afb122@staff.ietf.org> <546a3330-f75e-6733-ab64-e8853ca3dd49@nostrum.com> <12977ef3-4a3f-6dd3-c048-189c9bd824db@taugh.com>
From: Kesara Rathnayake <kesara@staff.ietf.org>
Organization: IETF Administration LLC
In-Reply-To: <12977ef3-4a3f-6dd3-c048-189c9bd824db@taugh.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml-sg-cmt/FxE1d8jYfCKyxNL8EV-PNKHbf4Y>
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 21:48:19 -0000

Hi all,

Comparing recent RFCs is a better evaluation because there have been 
changes happening over the years to CSS.

I will look at whether there is some tweaking that can be done so that 
xml2rfc can generate a PDF that is similar to a recent RFC.

Cheers,
Kesara

On 30/06/22 2:16 am, John R Levine wrote:
>> 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
> 

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