Re: [rfc-i] What do do about SVG

Brian E Carpenter <brian.e.carpenter@gmail.com> Tue, 15 December 2020 22:51 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 A8F0C3A06E7; Tue, 15 Dec 2020 14:51:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.199
X-Spam-Level:
X-Spam-Status: No, score=-2.199 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.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, NICE_REPLY_A=-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 (message 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 GFniX1crHBoJ; Tue, 15 Dec 2020 14:51:29 -0800 (PST)
Received: from rfc-editor.org (rfc-editor.org [4.31.198.49]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 47F2E3A067A; Tue, 15 Dec 2020 14:51:29 -0800 (PST)
Received: from rfcpa.amsl.com (localhost [IPv6:::1]) by rfc-editor.org (Postfix) with ESMTP id 2184FF406F0; Tue, 15 Dec 2020 14:51:23 -0800 (PST)
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 CE45FF406F0 for <rfc-interest@rfc-editor.org>; Tue, 15 Dec 2020 14:51:21 -0800 (PST)
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 13pZiSJIv-8u for <rfc-interest@rfc-editor.org>; Tue, 15 Dec 2020 14:51:18 -0800 (PST)
Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by rfc-editor.org (Postfix) with ESMTPS id 0983AF406DA for <rfc-interest@rfc-editor.org>; Tue, 15 Dec 2020 14:51:18 -0800 (PST)
Received: by mail-pj1-x102d.google.com with SMTP id w1so597237pjc.0 for <rfc-interest@rfc-editor.org>; Tue, 15 Dec 2020 14:51:23 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=Q4krkANIZ8neQ+rg2J4iyGetOdolF6W0DI61n6cXvbI=; b=QgbR4SfcqkETAea9tjg0yc9MaMV6Vy0zhjdj3/gygpe20VKR+/xCB5i2MMcMT/qud9 lRxh4kyDvkstsYLolwelD7iGgeu0fW1/o/ijpThNyhD+LCPQIVqQC4QVYwqJFtveYlA3 7IdcADYPs96vPeCqbef/yKQa4wPOYKT8nHrn+hLVFl0QzsQtBX08T3TdWKlOHY/tfYws DMTgkVbhcLq8GwIXKVfzjQ0Y/0Uj+N9z8iQew/KFnM6gKyDXCJowOy492wm+FnwAV8Zy biY/7gVrvGy/7SOF5ZsW7pydrn1XqGFrimaEwqAQSPBfdAPe/and7UHhgL28ZNoD5T+J PBAg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; 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=Q4krkANIZ8neQ+rg2J4iyGetOdolF6W0DI61n6cXvbI=; b=Uz7EC3HPjRKNzvajLhkscDZob6lZHcI9Puw9Kn5kTjbITos2ZufD9RP2Uw6qy6/QFP qUlcXx7ruq/N6f3Bd7i1zSAAcRbWmVE/GC0XRjkR43Hq11few8xCUBMSvxMrOvcQW2kO YqpE+juDcdc1Jk7tAepWCMiyBZj2dhsOcNpVIF/3w/peX1vJqWBsbSMdCuEYofwG6nRa /Gmkcmw4UKQOo7ZDmPSZ0o+2zB2EWRcUr0wEzZMXVj9GkVFLgLxB8b/cimAs0IPpm5O7 X4j/iUZmeEPDYAk7U+kn8kDZ8piUnXr6xx9GUEZTO+GQ+oMtT544Q10xSJSI+P4ggoY8 CS3w==
X-Gm-Message-State: AOAM5332w+Bs2/J8BR0RuoIu6Ay+zxwuMw2+nZUwjbrQb4OV/Y9FZJkC HbV4lVhNBJTMTbSWnpavbr0N7ZMkMF55YA==
X-Google-Smtp-Source: ABdhPJxpkor1+xzPKl8+awflG21+uSn7sp1lM0dPF4IyUWWVVK0nKEW2ZINzktANVtZ1qaBvKn/Qfg==
X-Received: by 2002:a17:90a:d494:: with SMTP id s20mr724885pju.178.1608072682005; Tue, 15 Dec 2020 14:51:22 -0800 (PST)
Received: from [192.168.178.20] ([151.210.131.28]) by smtp.gmail.com with ESMTPSA id r185sm1730pfc.53.2020.12.15.14.51.19 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Dec 2020 14:51:21 -0800 (PST)
To: "John R. Levine" <johnl@iecc.com>, RFC Interest <rfc-interest@rfc-editor.org>
References: <f564019-d8b1-76c2-2768-c135d834dc32@iecc.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <763b8195-6139-fb20-aa4e-2b4d89b5681c@gmail.com>
Date: Wed, 16 Dec 2020 11:51:04 +1300
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
MIME-Version: 1.0
In-Reply-To: <f564019-d8b1-76c2-2768-c135d834dc32@iecc.com>
Content-Language: en-US
Subject: Re: [rfc-i] What do do about SVG
X-BeenThere: rfc-interest@rfc-editor.org
X-Mailman-Version: 2.1.29
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>

On 16-Dec-20 08:47, John R. Levine wrote:
...
> Assuming that one of the goals is to have good tool support, what SVG 
> tools do people use and what profiles do they support?

Yes, indeed the problem is that people need to use a drawing tool
and as far as I can see, none of the drawing tools I've tried
support a TinySVG profile, let alone the RFC7996 subset of it.

I have used (at least) the following:
LibreOffice
dia
a web site for drawing Venn diagrams (http://bioinformatics.psb.ugent.be/webtools/Venn/)

and fed the results through svgcheck and some additional hacks
of my own, plus manual editing of the SVG file (which is of
course just a dialect of XML).

The kind of problems that I've encountered are that even if you
manage to avoid colour or greyscale, lots of other things that
are disallowed by RFC7996 show up and svgcheck cannot fix them.
Yet the SVG can be rendered by every browser I've tried. So while
we have good reasons for some restrictions, I don't think we
get anything but hassle from the TinySVG restrictions.

Restrictions we do need, IMHO, include
- no colour
- no greyscale
- no scripting
- no external URLs
- use viewbox and *no* height/width, to allow proper scaling

but we shouldn't waste everybody's time by worrying about
SVG syntax in general.

(If there was some SVG equivalent of PDF-A, that would be
fine, but there isn't, to my knowledge.)

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