Re: [rfc-i] Text in SVG diagrams

Julian Reschke <julian.reschke@gmx.de> Thu, 07 October 2021 07:23 UTC

Return-Path: <rfc-interest-bounces@rfc-editor.org>
X-Original-To: ietfarch-rfc-interest-archive@ietfa.amsl.com
Delivered-To: ietfarch-rfc-interest-archive@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A1AE53A0A74; Thu, 7 Oct 2021 00:23:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.451
X-Spam-Level:
X-Spam-Status: No, score=-2.451 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, MAILING_LIST_MULTI=-1, NICE_REPLY_A=-0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (body has been altered)" header.d=gmx.net
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9Vfj2FSQiwLr; Thu, 7 Oct 2021 00:23:07 -0700 (PDT)
Received: from rfc-editor.org (rfc-editor.org [4.31.198.49]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 376D13A0A73; Thu, 7 Oct 2021 00:23:07 -0700 (PDT)
Received: from rfcpa.amsl.com (localhost [IPv6:::1]) by rfc-editor.org (Postfix) with ESMTP id A5FE7E54CB; Thu, 7 Oct 2021 00:23:06 -0700 (PDT)
X-Original-To: rfc-interest@rfc-editor.org
Delivered-To: rfc-interest@rfc-editor.org
Received: from localhost (localhost [127.0.0.1]) by rfc-editor.org (Postfix) with ESMTP id 65716E54CB for <rfc-interest@rfc-editor.org>; Thu, 7 Oct 2021 00:23:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at rfc-editor.org
Authentication-Results: rfcpa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gmx.net
Received: from rfc-editor.org ([127.0.0.1]) by localhost (rfcpa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vLKUwx1Lmz8K for <rfc-interest@rfc-editor.org>; Thu, 7 Oct 2021 00:23:03 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) by rfc-editor.org (Postfix) with ESMTPS id F1A67E54CA for <rfc-interest@rfc-editor.org>; Thu, 7 Oct 2021 00:23:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1633591381; bh=hxsG9df9cmSimSWAxxxbPoTVXvwUfBgH29CFBzDsvHs=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=Qt7fdzIC5CtdfyWZJMPEWwDueYb0fCsIzueolkzPJLOX0hmeZ8DdF39qB0z1lyMeQ PpWog1NJD/LpBysny9aGYY1t0C5cnmM0hppqVRJsWrTQk3znbVcLfjeyHh9yfyF2DP WcO36BTVkrFDmLrFFEghO1JeCjDfgyrJDXJSeyAI=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.178.20] ([91.61.50.17]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MirjS-1n1xrM3OLs-00eqMR for <rfc-interest@rfc-editor.org>; Thu, 07 Oct 2021 09:23:00 +0200
To: rfc-interest@rfc-editor.org
References: <bbf9c212-818f-43bf-a1a1-ad606dcacd06@www.fastmail.com> <276e49d8-4c36-f6e7-2704-3f04514cd25f@gmail.com> <463ce937-0bc5-4e35-9329-0976c4a4950b@www.fastmail.com> <bace46f7-4d52-8544-a479-d31fa1c718be@it.aoyama.ac.jp>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <883e2a04-82c3-f2f5-200a-86ff97f33aec@gmx.de>
Date: Thu, 07 Oct 2021 09:22:58 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0
MIME-Version: 1.0
In-Reply-To: <bace46f7-4d52-8544-a479-d31fa1c718be@it.aoyama.ac.jp>
X-Provags-ID: V03:K1:R0c8SWuTA2ck15bI6MvxbU2da4el+72UfI91MvinBEk2Va4l+Jv gp7gqpokJvZQheg4UP2UCVrqTjXd5sZR5H3T9EdGzOZtcV0haqjmFRExzHq2BDvXf+vEYKX jBvRUJjHHApWeRqtm4NCsYYmRdy4hOBzG2j6f7jmfWtqjP8oWFtL+dDP12x6Mhr+izO6fM0 SSSzOuzkTAiuM+2axTNzw==
X-UI-Out-Filterresults: notjunk:1;V03:K0:+TFe8yEYF9E=:R1aSaEXGgqw2VUyZtf59+q OfzUcOB9NKDXp91rpJRxsDTGrhOrUvZgi6XwvUmp90d2ofTdsAQMgARMyZiDCCnCO94VcLBX8 AcdA3WEWykT7IodQS/Lo2shCUTwD7SqtmBH8qR79SxMkvc4vp7PBi4Clih8i0kJ5WHbxKfUEl AYgTz9rD44yjNR8JZDrMA8lr/UP/CkkdF3L/+C3cPzoz0ITifdrgaTSQTdw4xNKq/0DNSbM5q grJVVP2b4fS6BrWpjWT+ElrwRwM/rGUA/m1Xe4cFBkfi+VavZudRirh7u25qFBbN80FE2aLrI U3E1DWUy9M7bEbBZiygsHs1xz33ZnX5GqaR06iNf/F1ESV2ezipUh8vvOp3FGBgtAAn8Avkke VHfFWBdCslUK9ueYs78Xn9SetAejMrgPLxZyJiOgQo5co99BNBWSCaTkRad/TwsxXQuQE7gRE C8gvJBm7kQq4AXwU/v8wHHFE7uSFPzV3e+Mf+1V5BzR+n+x6/9z0aIojB596Dyxlf1bL6n/iN KZoQnfVZTq5uZvXip/MHxfcC8d5hKiRMQycZ1Z7UbYEX34yiets0uWJIwho9/1vn9a03j36ZA 90RoV3d6+d3Kn/vZYKq8setDwlnqBbgH3kDpWQomg7jIPMu7Ox3mRpuEz1QERwiRmrhuYiNT5 KSqsSpAFXxYzZsvUxd+732HWtfEp+x6CM2ERxuibhVjeb4iniBmi+UvVwdmQSUNwEfmJ3DOwP pdi2aSLHRSKB5SS3yolRh3HFhg30EJTO+Nf71uW0O5eE7vtg1deKzXgw4c1ifXCtVFsY5oihT bQ9FqtE0ufVz3Qr1T0LzYt+esi1LBmk5zTsRTbpSOBH4COj5TCzUN9OnAnq/YDJ/n+gd3hoin 7uETP2mTQkiVjjtUZs9C+gDj/e5LezZzAXZbD7cKUQGlzRSMglwFA1urVc1gk3Nq0kot7uH// /pM4uCFfCXm5DfiIIA47ngKaz19RwKJt2CGXNeXo63VT5HJDwomW+xLrvR4tgWhWzRarWR6O9 0YNp77p/BjDBVN5amP4N7i8SRQSrv0Cn2REdZWAzffOFPaFEHk/beYB6SgDRTIE29za5CjR35 le3ZIfT0y4N66s=
Subject: Re: [rfc-i] Text in SVG diagrams
X-BeenThere: rfc-interest@rfc-editor.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: "A list for discussion of the RFC series and RFC Editor functions." <rfc-interest.rfc-editor.org>
List-Unsubscribe: <https://www.rfc-editor.org/mailman/options/rfc-interest>, <mailto:rfc-interest-request@rfc-editor.org?subject=unsubscribe>
List-Archive: <http://www.rfc-editor.org/pipermail/rfc-interest/>
List-Post: <mailto:rfc-interest@rfc-editor.org>
List-Help: <mailto:rfc-interest-request@rfc-editor.org?subject=help>
List-Subscribe: <https://www.rfc-editor.org/mailman/listinfo/rfc-interest>, <mailto:rfc-interest-request@rfc-editor.org?subject=subscribe>
Content-Transfer-Encoding: base64
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: rfc-interest-bounces@rfc-editor.org
Sender: rfc-interest <rfc-interest-bounces@rfc-editor.org>

Am 07.10.2021 um 08:37 schrieb Martin J. Dürst:
> On 2021-10-07 12:48, Martin Thomson wrote:
>> On Thu, Oct 7, 2021, at 14:37, Brian E Carpenter wrote:
>>> It all depends on the drawing tool used.
>>
>> I'm aware of that.  I just think that if we use SVG we should take
>> steps to avoid this sort of thing happening again.
>
> Very much so. Some drawing tools have a strong tendency to blow up
> things. A simple rectangle can end up as something very complex.
> Apparently, this also happens to text. I seem to remember there once was
> a Website that lobbied against this, and for simpler SVG. Can't find it
> anymore. But we should clearly try to avoid such stuff.

Absolutely.

In this case it seems the drawing tool tried to position each character
separately.

Ideas:

- RFC Editor should do a sanity check on text handling
- find out what produced these SVGs (otherwise beautiful!) and see
whether it can be configured differently

...and if that's not possible: write a simple post-processor that fixes
the SVG (or embed that functionality into xml2rfc).

Best regards, Julian
_______________________________________________
rfc-interest mailing list
rfc-interest@rfc-editor.org
https://www.rfc-editor.org/mailman/listinfo/rfc-interest