Re: [rfc-i] No, constraining to a custom SVG profile is not trivial

Leonard Rosenthol <lrosenth@adobe.com> Mon, 20 January 2020 19:41 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 C095C120810 for <ietfarch-rfc-interest-archive@ietfa.amsl.com>; Mon, 20 Jan 2020 11:41:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.651
X-Spam-Level:
X-Spam-Status: No, score=-4.651 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=adobe.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 s3trwrCYC7N6 for <ietfarch-rfc-interest-archive@ietfa.amsl.com>; Mon, 20 Jan 2020 11:41:28 -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 0F9E712022D for <rfc-interest-archive-eekabaiReiB1@ietf.org>; Mon, 20 Jan 2020 11:41:28 -0800 (PST)
Received: from rfcpa.amsl.com (localhost [IPv6:::1]) by rfc-editor.org (Postfix) with ESMTP id 24E45F40721; Mon, 20 Jan 2020 11:41:20 -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 D54CDF40721 for <rfc-interest@rfc-editor.org>; Mon, 20 Jan 2020 11:41:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at rfc-editor.org
Authentication-Results: rfcpa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=adobe.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 mja7E01PyU-C for <rfc-interest@rfc-editor.org>; Mon, 20 Jan 2020 11:41:14 -0800 (PST)
Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2080.outbound.protection.outlook.com [40.107.220.80]) by rfc-editor.org (Postfix) with ESMTPS id 9266FF40720 for <rfc-interest@rfc-editor.org>; Mon, 20 Jan 2020 11:41:13 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nvXkmmA79be+jil/oo/ya0r2j/JXCDJIlL1X/Csz5bxkQ1ntUvePPC5nopoceQU+BFHikaoNpM9cDObdy0ulAiNf5wwnl5YTE21w8C5+K4F+vXuPh7yBxJOWxV3MSyQxvk2cZAMlVdXe0jqTIwLXnb9B/AwOxrHxgJL0dhpNwAD5NXPhZGSMO7LX7eQO65asBYZBDv/sM86h5ZsgGQB2sRKFM6kvg1Nn+9yesPndjEcBW0otDBglxGuE14ztzO9bg+JIGs3b0717SkxKe/61ZV5fdTMekEGejiA3hp+HixVFRnqYxHl/j3ZDi1KALoz94JzZyVcQhcpRdqXzjt9j6g==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GESM39dLbznesFq3gJsll9mLD3Yqom0NNuPiAeOJ6dw=; b=ceqaBElToW8tpwwZoU580uruONrA8PHXN11YPckIe3kyUCD2TbNUdwqpoodLUVbJuVig0oYWEmwjh33wx8D2xwrE+XVALkfMOBXZu0oosVTzn2gd9eKoc3/G30/4YfOVfKV6+bSQ+wJMelukK1f9o9Xlb5njrxmJyZcTs1z2pFT3Wz4LUvot9V96Mg99QiixmEdIdhB9zIf2/tik1D5UWZMjdMS2Im+xVQXEcUe2lfLUNM3/Tm/2gubfdLwpXo4l4rX13BZ9ENnHBpdxhpxVk8acQwvarRIA3PLI+GcbZXkXGHqDrprFg+frA0YhNGOEYwXGeA+ANX101Y+YAqrLDA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=adobe.com; dmarc=pass action=none header.from=adobe.com; dkim=pass header.d=adobe.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adobe.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GESM39dLbznesFq3gJsll9mLD3Yqom0NNuPiAeOJ6dw=; b=NPvFC7HOWbmVnrFt13JQ79+kV9Umk/+cz7UBOfp0W9sMnhE5Mf9BgWQHiJUa+jL74mb7eLRwkXOBUC8EM54dBEld23ENEkFhGA+/F6DL3zF60YVHU8Z2jIQZUis58Uq19CIRNidNue9meeA3RXrr4UDlO2Upierx85ynRK4RfFI=
Received: from MN2PR02MB6992.namprd02.prod.outlook.com (20.179.223.74) by MN2PR02MB5791.namprd02.prod.outlook.com (20.179.86.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.18; Mon, 20 Jan 2020 19:41:08 +0000
Received: from MN2PR02MB6992.namprd02.prod.outlook.com ([fe80::bc90:8089:6718:861b]) by MN2PR02MB6992.namprd02.prod.outlook.com ([fe80::bc90:8089:6718:861b%5]) with mapi id 15.20.2644.024; Mon, 20 Jan 2020 19:41:07 +0000
From: Leonard Rosenthol <lrosenth@adobe.com>
To: Phillip Hallam-Baker <phill@hallambaker.com>, Brian E Carpenter <brian.e.carpenter@gmail.com>
Thread-Topic: [rfc-i] No, constraining to a custom SVG profile is not trivial
Thread-Index: AQHVy+B+fK9mbLxji0OmSjNG5L+GI6fsd7CAgAAYjICAABACAIAHWKoA//+uoQA=
Date: Mon, 20 Jan 2020 19:41:07 +0000
Message-ID: <6C7108C0-43FC-4D7A-8FC4-70854832BA05@adobe.com>
References: <CAMm+LwiXhhJO7qYi41+DC4W7uMUVipXqyq75Fq2vagA1ppJNdA@mail.gmail.com> <10cca93f-a8b8-4c42-0653-3b12fa67ad12@gmail.com> <CAMm+LwgA-1UffBfrH-Y3J6pfh7ni9kNrndp=gHNyUyi5j=oLxg@mail.gmail.com> <53607da4-6608-783b-b875-65551e3add19@gmail.com> <CAMm+LwgNU2Dr3bB+A8k+UwbQiRRzgUkoRRh60tc6+bBv6CXwfQ@mail.gmail.com>
In-Reply-To: <CAMm+LwgNU2Dr3bB+A8k+UwbQiRRzgUkoRRh60tc6+bBv6CXwfQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.21.0.200113
authentication-results: spf=none (sender IP is ) smtp.mailfrom=lrosenth@adobe.com;
x-originating-ip: [192.147.118.254]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: 1e3e213b-0ae0-4b81-33d8-08d79de0b1f3
x-ms-traffictypediagnostic: MN2PR02MB5791:
x-microsoft-antispam-prvs: <MN2PR02MB5791F840A6B3E02AAF076133CD320@MN2PR02MB5791.namprd02.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0288CD37D9
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(136003)(39860400002)(346002)(396003)(376002)(189003)(199004)(8676002)(4326008)(81166006)(6512007)(26005)(5660300002)(6486002)(186003)(81156014)(316002)(53546011)(71200400001)(8936002)(478600001)(6506007)(66946007)(66446008)(786003)(64756008)(66476007)(66556008)(91956017)(110136005)(76116006)(36756003)(2906002)(66574012)(2616005)(33656002)(86362001)(966005); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR02MB5791; H:MN2PR02MB6992.namprd02.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: adobe.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: x31e1JYFbu5gJhGQYe+2VeRELVGL1KN5wNzI0AlaNkVhAPdrBT7wBTGpQVDlv3feJUrd6IXqfAAM+EXHrOC3+PAKhGPWePRKD8ALJwaMNLszoXb/dekuxRqdVaUVb207RkXBuorfrOs01fEF0QcTJLVEbKPHomdmsFXDhmtyh99doubZUnLN8cnEpewX1Xll/zCNf8lagOUWOm6ihrHfXr2FacvHnhqhkB/aku1ya7UEuZxWv3M/t2EK1/EDTWzagFiBniPUmhFKw86CZFDQcLSGekORGCES0v1DZRcA/y/3QVyOrQNGcHIYSy5v/XAOWr5ID/ipEG00aSLmvOGfUcmWhSGJ5Kg/SVyHoXDrww0noM3xVQUcArY78ee3qshCg7DtSNt2OpYCK7mAD1PrZo3oIfjo3CopWwfNBYm76KQYu3yDXYIcquMgCFluW4NRrM38isHDaQZNh7y5oI1XK1hiyZupzqqaNoQI72t6N9PHokNwck8nXi+QJAP/1BTag+hEgWfXUcm7JApi/EpjwA==
x-ms-exchange-transport-forked: True
MIME-Version: 1.0
X-OriginatorOrg: adobe.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 1e3e213b-0ae0-4b81-33d8-08d79de0b1f3
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Jan 2020 19:41:07.7914 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: fa7b1b5a-7b34-4387-94ae-d2c178decee1
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: XmB9Gk7m40mw2eMyv9S/2j4XJe4d10QDv+SjBVF0aD3Q7YwNfj2PXbXnvfEpeC9TkXwCVdKR1XQYCp6oTMG5IQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR02MB5791
Subject: Re: [rfc-i] No, constraining to a custom SVG profile is not trivial
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>
Cc: RFC Interest <rfc-interest@rfc-editor.org>
Content-Type: multipart/mixed; boundary="===============3314783813339942165=="
Errors-To: rfc-interest-bounces@rfc-editor.org
Sender: rfc-interest <rfc-interest-bounces@rfc-editor.org>

Phillip – “issues” with SVG are entirely contextual.    When used in the context of a full “Web Platform User Agent” (aka a browser showing a web page), then there aren’t any issues because (as you note) that is the environment it was designed for.  However, use of SVG in other environments (eg. SVG inside of OpenType fonts - https://docs.microsoft.com/en-us/typography/opentype/spec/svg) requires a subsetting.   As I mentioned in a previous message, you can see what the OpenType and SVG committees (and others) are doing so subset SVG for their needs at https://github.com/adobe/svg-native-viewer.

Leonard

From: rfc-interest <rfc-interest-bounces@rfc-editor.org> on behalf of Phillip Hallam-Baker <phill@hallambaker.com>
Date: Monday, January 20, 2020 at 2:33 PM
To: Brian Carpenter <brian.e.carpenter@gmail.com>
Cc: "rfc-interest@rfc-editor.org" <rfc-interest@rfc-editor.org>
Subject: Re: [rfc-i] No, constraining to a custom SVG profile is not trivial

It is not just the greyscale that is the issue. There are numerous issues in the diagrams that result from the chosen profile.

Compare the diagrams in:
https://tools.ietf.org/id/draft-hallambaker-mesh-architecture-12.html<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftools.ietf.org%2Fid%2Fdraft-hallambaker-mesh-architecture-12.html&data=02%7C01%7Clrosenth%40adobe.com%7C2f501838df364303804008d79ddf8e6b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637151455836674875&sdata=RhykyuDd9T435cIKVPW7yG1PbcLPtdlZkTkCCfxya1Y%3D&reserved=0>

With the originals in:
https://mathmesh.com/Documents/draft-hallambaker-mesh-architecture.html<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmathmesh.com%2FDocuments%2Fdraft-hallambaker-mesh-architecture.html&data=02%7C01%7Clrosenth%40adobe.com%7C2f501838df364303804008d79ddf8e6b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637151455836684868&sdata=yLpwP9rq1EOyeTrt2c3E8sd7LcC%2FMODhLRv%2FqzSzQpU%3D&reserved=0>

Getting the diagrams to present properly is at least two weeks work for me on top of the weeks already spent. And I am probably not going to be the last person making this set of complaints. I am just the first person who developed specs that depend on having good diagrams in them.

On Wed, Jan 15, 2020 at 10:21 PM Brian E Carpenter <brian.e.carpenter@gmail.com<mailto:brian.e.carpenter@gmail.com>> wrote:
> Attached is a simple XSLT script that I created that simply rips out invalid elements.

The problem with colour/greyscale is that this isn't enough. If you have very dark blue text on a very pale pink background, what happens? svgcheck makes this black on black; my heuristic makes it black on white. What would your script do?

But I do agree with Phill, this is a non-trivial issue. Currently I think doing new drawings with a simple tool like DIA is the only practical way.

It is my opinion that a standards organization should stick to existing standards rather than inventing its own. Deviation from W3C standards should only happen with an incredibly good reason. I do not see one.

Telling people to use one particular tool looks like bullying behavior to me. Forcing people top jump through hoops to produce the old plaintext format was bullying which was one of the reasons I was so opposed to it.

SVG is ubiquitously supported in current generation browsers. There are tens, probably hundreds of thousands of person years worth of effort invested in creating SVG content using today's tools. There is a published spec that is widely distributed and at least as certain to survive whatever apocalypses might occur as RFCs.

RFCs are merely tools for making the Internet change. We are not writing holy scripture here. All RFCs that have the slightest importance are going to have errors. The question is not how to eliminate the errors but to minimize them.

Moving to HTML greatly reduces the number of errors in interpretation.


Allowing unrestricted SVG has plenty of issues too.

Nobody ever gives a specific issue. That is not how a standards organization should behave. If there is a need to vary any standard, either our own or someone else's there should be a clearly articulated reason given.

Please state specific issues.
_______________________________________________
rfc-interest mailing list
rfc-interest@rfc-editor.org
https://www.rfc-editor.org/mailman/listinfo/rfc-interest