Re: [rfc-i] Text in SVG diagrams

Brian E Carpenter <brian.e.carpenter@gmail.com> Thu, 07 October 2021 03:37 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 D64B53A0BC6; Wed, 6 Oct 2021 20:37:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.45
X-Spam-Level:
X-Spam-Status: No, score=-2.45 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, 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 (2048-bit key) reason="fail (body has been altered)" header.d=gmail.com
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 Zz4Dim03nsWl; Wed, 6 Oct 2021 20:37:35 -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 233CA3A0B41; Wed, 6 Oct 2021 20:37:32 -0700 (PDT)
Received: from rfcpa.amsl.com (localhost [IPv6:::1]) by rfc-editor.org (Postfix) with ESMTP id 71F12163334; Wed, 6 Oct 2021 20:37:30 -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 19D1A163334 for <rfc-interest@rfc-editor.org>; Wed, 6 Oct 2021 20:37:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at rfc-editor.org
Authentication-Results: rfcpa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 QQzIA12VVKMD for <rfc-interest@rfc-editor.org>; Wed, 6 Oct 2021 20:37:24 -0700 (PDT)
Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) by rfc-editor.org (Postfix) with ESMTPS id 34C1D4C3C5 for <rfc-interest@rfc-editor.org>; Wed, 6 Oct 2021 20:37:24 -0700 (PDT)
Received: by mail-pg1-x535.google.com with SMTP id s11so4334038pgr.11 for <rfc-interest@rfc-editor.org>; Wed, 06 Oct 2021 20:37:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=GsiDpYOc72UdfgVluIqEz07x80fudUqWcSO+jXc4xZk=; b=akDdnRfWuSpQdcXY50yMOovveIUlSF/6jTCPVfCKMk5+dzafOJ6wyXA4YlSOPm8Jxw pA4sdOxmxPRscf8Bi95U3Bk5fHZu6MecFy9Zc+baCs68aSZga8ot9TElotzQX+N1mpx8 hOzCgr4SjJ0VD5MEv10YrE8C14weZt77VD6i0Dj0zWOG+qSlHUx2lvb1PKCpLDr9ae+X 98GdT5yNqX7dleMgATp7xUOn1VGifNUeyq8TLokf9A5z9YwiD9YiA/ytHe1ETPfAMinY qHbCYO9LgQO8RGayLfakKXX6aZCKlKxrWex/BgYuLuwrY2CABjn8Ezx+LpZy3GU6cgsm tUuw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=GsiDpYOc72UdfgVluIqEz07x80fudUqWcSO+jXc4xZk=; b=Nh7TO+AWLxQ+hHPcyMgRB4wXMwWMm3LuLcuLIJ5Uqc1trdpyyQV5CQ2Ge+B37HydTP /2FJ08gYBzNr4WVQ2vM9T8QI83+Li7Q2AZmVf1X2gsEKVSu0jqBShY07mdBUrH+SoQgz t9PrcbfU8jxS0bjZYiTIoZZ5JMGci65K6pKucwT6gZiBNJdz5TvU7Z+ZHuGil3kyI5LY OmaUPuEeA442Nm903yBxW7QkSIHUb4xqFhhrpmHtiP/8cn9nPKA8Q505ajNwpe0I0nma +1URMgKThfIXD6bbMm6f5axWcyI8TXYu1Q4yt1Dj3cJgcmSLx6GP4i1qohh0Px6qh4qi W3Qw==
X-Gm-Message-State: AOAM5310ZMbs5wFHx/iBIiscZC1NAe5CwI/kGsdNPfH1D8GdbOD5e6DO c/vyeLdXfclIdx2671S0+XYuImo9qiXLjA==
X-Google-Smtp-Source: ABdhPJzQnqpLjew/Xhx5jl+wCxAM1DNNVYeVsJCmg6qDhs2gnCrlrH74fq7ExSC2Qz93mswj/KKAHA==
X-Received: by 2002:aa7:82d0:0:b0:413:5e93:2f7a with SMTP id f16-20020aa782d0000000b004135e932f7amr2031342pfn.16.1633577842561; Wed, 06 Oct 2021 20:37:22 -0700 (PDT)
Received: from ?IPv6:2406:e003:11aa:d701:db7:d041:a2d:ce65? ([2406:e003:11aa:d701:db7:d041:a2d:ce65]) by smtp.gmail.com with ESMTPSA id u2sm6458081pji.30.2021.10.06.20.37.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Oct 2021 20:37:21 -0700 (PDT)
To: Martin Thomson <mt@lowentropy.net>, rfc-interest@rfc-editor.org
References: <bbf9c212-818f-43bf-a1a1-ad606dcacd06@www.fastmail.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <276e49d8-4c36-f6e7-2704-3f04514cd25f@gmail.com>
Date: Thu, 07 Oct 2021 16:37:18 +1300
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0
MIME-Version: 1.0
In-Reply-To: <bbf9c212-818f-43bf-a1a1-ad606dcacd06@www.fastmail.com>
Content-Language: en-US
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-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: rfc-interest-bounces@rfc-editor.org
Sender: rfc-interest <rfc-interest-bounces@rfc-editor.org>

Martin,

On 07-Oct-21 12:55, Martin Thomson wrote:
> https://www.rfc-editor.org/rfc/rfc8899.html appears to use SVG quite effectively.  The diagrams really help illustrate the concepts in the document.
> 
> Lucas Pardue recently noted that appearances are not everything.  It is not possible (at least in browsers I have available to me) to search for text in these diagrams.  This is because every single character is placed separately as a distinct SVG element.
> 
> You can see the effect of this if you try to select text in any of the figures (https://www.rfc-editor.org/rfc/rfc8899.html#figure-4 is a good example).  I don't know what characters to be shuffled this way, but the effect is that text cannot be searched for or selected in any useful way.
> 
> I'm certain that this is not malice on the part of the authors or RPC, but the effect is that these diagrams are far less accessible than they could be.  Is there something we might do to improve this situation?

It all depends on the drawing tool used. If you look at the figures in RFC8989, note that the text strings are searchable and selectable. In that case, the drawing tool was dia and it handles text as text. Other tools do much more eccentric things.

    Brian
_______________________________________________
rfc-interest mailing list
rfc-interest@rfc-editor.org
https://www.rfc-editor.org/mailman/listinfo/rfc-interest