Re: [rfc-i] Text in SVG diagrams

Julian Reschke <julian.reschke@gmx.de> Thu, 14 October 2021 19:52 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 981AD3A17BC; Thu, 14 Oct 2021 12:52:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.452
X-Spam-Level:
X-Spam-Status: No, score=-2.452 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] 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 6-WxK4qxx23j; Thu, 14 Oct 2021 12:52:26 -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 4B72A3A0DD6; Thu, 14 Oct 2021 12:52:26 -0700 (PDT)
Received: from rfcpa.amsl.com (localhost [IPv6:::1]) by rfc-editor.org (Postfix) with ESMTP id EEEE5120A4A; Thu, 14 Oct 2021 12:52:25 -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 5726F120A4A for <rfc-interest@rfc-editor.org>; Thu, 14 Oct 2021 12:52:25 -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 rf0ER-V2ZX4r for <rfc-interest@rfc-editor.org>; Thu, 14 Oct 2021 12:52:21 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by rfc-editor.org (Postfix) with ESMTPS id 21D5CF3817 for <rfc-interest@rfc-editor.org>; Thu, 14 Oct 2021 12:52:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1634241131; bh=vWt7hdGbGYNF186OO4w8cGjKwnsBkC4+azEIccy9wQg=; h=X-UI-Sender-Class:Subject:From:To:References:Cc:Date:In-Reply-To; b=ILwLXJORav3x0Q2SwWfikZZk2+mxwsv7DiOWO3x/MS94tc5o69z2fepOpVECLIcMx kEPcyd0SSNsf+l0B0XLyo10LORPW2IyudLDYEex7EyTr4Oxh+WLlIbUbv1OIbJrUHF zR/AyK1tr9ifNiOPbYfAs++M17nNAkFDQKLgkOw0=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.115.0] ([212.184.87.82]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MzhjF-1mxKck1XM1-00vhwr; Thu, 14 Oct 2021 21:52:11 +0200
From: Julian Reschke <julian.reschke@gmx.de>
To: "Joel M. Halpern" <jmh@joelhalpern.com>, 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> <883e2a04-82c3-f2f5-200a-86ff97f33aec@gmx.de> <693f3307-5c53-94c9-dccb-b189094dd2fb@joelhalpern.com> <cda4140e-788c-536c-3ad8-74d2c648988f@gmx.de>
Cc: Martin Thomson <martin.thomson@gmail.com>
Message-ID: <30c10f68-cc0f-77d7-98b7-4b8c4bc235a9@gmx.de>
Date: Thu, 14 Oct 2021 21:52:08 +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: <cda4140e-788c-536c-3ad8-74d2c648988f@gmx.de>
Content-Type: multipart/mixed; boundary="------------D7AFBD903B25C104D06BD3F5"
X-Provags-ID: V03:K1:xeVYi1D4Xu1CObw6Pzkl5/nbxxY2GQtDZubKbA9LC+NqQpGw5aA pR4TKdHBV/bN6S8E0SNp1xyE7PlKLlQ8GfWp7pjdYaVGC+naORfWy78oeo88GLmKudi0TlI VagXNCtYWo+0NxCRkSzfVBI8s0DAmjNboW/KPnw+xnRdRAKvyFR/NZ8LzCLtwGUiuPpQoaI oN91/1D4GRzFoALV5OxDw==
X-UI-Out-Filterresults: notjunk:1;V03:K0:2w2vVBbU2fw=:AyBdMkUU6OH0EzNBBn0qez 7Qbf58wdTTZv5bEy/1EhDE0hHv178GQKfY/PM+5oOnsL6q4UzQipuBXBGke6dIRBXYtolz0tC 9O3AbIzTJhj4oef+VI4A+fd+VGVkMEFFpQhherK1nCeSiXgsecsZGIokjnH+55Auv/+h6jbcD qcHUCmG1Ql6+vJlqsYlijTxW1q+xVPh9fkvPeebhhrmsOEr+P6BnfPiF3ywo0mUwILEYUwZY8 Uk73AJwYImDxXIEi1XJzRFi9Ukig2BajXraAW+LbVDF+h+lgL5DbNhAb3JeogT3bis7g/LeWW ccSQw8ljpbkLkEX2GSpSy1Z+pfXYWx97AS0sgrbjhwUDeVDWXXryjX1boNPoQrpe0rzPnDjpt PM6uVX/E2/+P6GkuM9rMfXdVm8SoulZhniKOzjlq6HQDvSOgMGJ/x2RoLaqCDcSpWl0IYQFYv 3XwL5Iz2TZo1z0BTOTGwtHfiwAqhmKQFMQt2/TS0G9ssSqJQ8dNyTPFkq5LbEOYfeFIBoG9j4 J1nYX096bqwD8pZg38oGce/TIYyoOBX0ayeAJjstIvaTUOpZmrdmWQjiNotHdmfaM88aVU4qw uyZfEsvfIspYpcuRNhx3TpU1C/qeLpMrG0T5O3sQjAtvfhpYOxOAlS9RdPsj/ERX5uPjth1sA QRpl0Ss2FvIBbyNiFCTrxMUVxSNeuFLZV5T3S6UpFDBe1T5/AwxPm0bOFRaXIdVf77O+DXwjf ccqkmd+18hla0FwFW8sjhjLVuayhzY1yauE+PBLbTxF+R2ihRvZ65In/eQKAZS96C680YYa7P XywbXrmN3TXokisGMZxYsKOOZ2OrsGVhbkEgL5cM6rxomHmc99EhUCOLSdR0a7LIafp6c07/x 4Xxym13tdQ3k05s6tdX0RUqAZCFfxTRHZ2rJlN0HVc0DMlxtiMYjvXbcpXwYYarXAILm8Prdn USuKNtll71fua+pndLDgh1tT7WzKgSnQQL51od5ll1EIIecbY2IMR8EEcETihKv8cPMMsDyiU oMTEfniyzZjoQYs7ZWRuBLGS3G5lp99gW4c4Fh4Tr0DWNCHfeEEUg2rfVgbSY+Hida1LRcF6n MIsEy2tQzn7MsM=
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>
Errors-To: rfc-interest-bounces@rfc-editor.org
Sender: rfc-interest <rfc-interest-bounces@rfc-editor.org>

Am 07.10.2021 um 15:06 schrieb Julian Reschke:
> Am 07.10.2021 um 15:00 schrieb Joel M. Halpern:
>> Given the range of ways things can be represented in SVG, and the
>> demonstrated range of ways tools work, I would be amazed if a
>> converter was simple.
>>
>> Yours,
>> Joel
>
> You're saying this so that I write a PoC, right?
>
> Best regards, Julian

So the problem is that goat positions every non-line-art character
separately.

The attached script will try to recombine SVG text elements that are
"next" to each other (as produced by Goat, not in general!)

The attachment x.svg is the post-processed output for
<https://www.rfc-editor.org/rfc/rfc8899.html#section-5-3.1.1>.

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