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

Phillip Hallam-Baker <phill@hallambaker.com> Tue, 21 January 2020 03:05 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 D753612006D for <ietfarch-rfc-interest-archive@ietfa.amsl.com>; Mon, 20 Jan 2020 19:05:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.85
X-Spam-Level:
X-Spam-Status: No, score=-4.85 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 5f7N30_HXRlA for <ietfarch-rfc-interest-archive@ietfa.amsl.com>; Mon, 20 Jan 2020 19:05:38 -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 52CA4120058 for <rfc-interest-archive-eekabaiReiB1@ietf.org>; Mon, 20 Jan 2020 19:05:38 -0800 (PST)
Received: from rfcpa.amsl.com (localhost [IPv6:::1]) by rfc-editor.org (Postfix) with ESMTP id 38DA9F40739; Mon, 20 Jan 2020 19:05:30 -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 34A1FF40739 for <rfc-interest@rfc-editor.org>; Mon, 20 Jan 2020 19:05:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at rfc-editor.org
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 cItJLXyYxIbc for <rfc-interest@rfc-editor.org>; Mon, 20 Jan 2020 19:05:27 -0800 (PST)
Received: from mail-oi1-f172.google.com (mail-oi1-f172.google.com [209.85.167.172]) by rfc-editor.org (Postfix) with ESMTPS id 4B47CF40737 for <rfc-interest@rfc-editor.org>; Mon, 20 Jan 2020 19:05:27 -0800 (PST)
Received: by mail-oi1-f172.google.com with SMTP id 13so1225774oij.13 for <rfc-interest@rfc-editor.org>; Mon, 20 Jan 2020 19:05:35 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Wws7sRLf72VJ4QaUbBjruPs0Z5WBG9yFn3xZ/Bs8RNw=; b=C1QBQLzwjdVS3AZ5CK5XKzHi31odrpTaoptldQwaEWbVoIw5CFicieMFmR7Xe5z3ti 4U6vfigvhXVm63NbSAt7uqhUDe4qaW0qjUvt2yRkud1RhZYq35XNT90xFM7jDAWJT9uA W9mRJKYPUIIPj1T9KaAhdbHeZAlY9x2XJT1kaTtiVowUsTqmdqgeB3CezfpcfANVyLGr 054OhCK/+pqSYP8m9OpzOMXC3m4PeACcmHxA7IXHO1WYIcetpXW3ST7XDdXTF1z6NzBd Br/m3PpVeALIOyGzMmND2haRvo8DEmOQZeSOpIWTy50tG4qr/xI4W+1R5O3Fvva/Lyre MbiQ==
X-Gm-Message-State: APjAAAXlnloSTsSa219D94h2z03dHe1b90JA+HlbEbfI5+jSDJI7GADV s8H4vntiai+AnTA0P8CjftN8+LwRsCZUP2NvmEM=
X-Google-Smtp-Source: APXvYqyeI17pAea+Vqq7VtikP1TKBYCVvCOwMnf3WrpSA5pxrDakDu1svuGD8lEyuApl2yQ35Z+j8nkkDIlYqY9eiF4=
X-Received: by 2002:aca:3241:: with SMTP id y62mr1461116oiy.31.1579575934352; Mon, 20 Jan 2020 19:05:34 -0800 (PST)
MIME-Version: 1.0
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> <6C7108C0-43FC-4D7A-8FC4-70854832BA05@adobe.com>
In-Reply-To: <6C7108C0-43FC-4D7A-8FC4-70854832BA05@adobe.com>
From: Phillip Hallam-Baker <phill@hallambaker.com>
Date: Mon, 20 Jan 2020 22:05:23 -0500
Message-ID: <CAMm+Lwj4T2LPjL2=9eg3S=+VWWZ9uF4fH-e+M6kA1NvqUQRXCg@mail.gmail.com>
To: Leonard Rosenthol <lrosenth@adobe.com>
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="===============4896579646811494770=="
Errors-To: rfc-interest-bounces@rfc-editor.org
Sender: rfc-interest <rfc-interest-bounces@rfc-editor.org>

Since we will be embedding the SVG in a HTML page, I fail to see the
relevance of your point.

The font example is a reach. Since the fonts in question are intended for
use inside documents to define character glyphs it is pretty clear that
some very minimal set of terms will be required and so we are not so much
defining in SVG as designing a new version of metafont that uses the same
basic constructs.

I fail to see the reason I need to write code to flatten out markers and
perform the peculiar restrictions on tail text spans following tspan
elements.


On Mon, Jan 20, 2020 at 2:41 PM Leonard Rosenthol <lrosenth@adobe.com>
wrote:

> 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> 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