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

Brian E Carpenter <brian.e.carpenter@gmail.com> Thu, 23 January 2020 02:29 UTC

Return-Path: <brian.e.carpenter@gmail.com>
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 C4CFDF406F4 for <rfc-interest@rfc-editor.org>; Wed, 22 Jan 2020 18:29:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at rfc-editor.org
X-Spam-Flag: NO
X-Spam-Score: -0.999
X-Spam-Level:
X-Spam-Status: No, score=-0.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
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 r3rTbeQjC2Xr for <rfc-interest@rfc-editor.org>; Wed, 22 Jan 2020 18:29:37 -0800 (PST)
Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by rfc-editor.org (Postfix) with ESMTPS id C6DACF406F0 for <rfc-interest@rfc-editor.org>; Wed, 22 Jan 2020 18:29:37 -0800 (PST)
Received: by mail-pl1-x632.google.com with SMTP id ay11so682777plb.0 for <rfc-interest@rfc-editor.org>; Wed, 22 Jan 2020 18:29:47 -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=ioK1Zd2TEoI5qIfYWCTdOhh5yZJq6esIJShA4P0WMA0=; b=GBtiMZIFgWWUgj9Wz7Hmqtp20z9uPQ1nLxp0oKO01dbRnvB/U0OqtWoAh9VBUw1OWQ QYrm1y9c2YAgUMXBv9lEjUMtqTew/whs74TzbyzeFCvU+qZCNXmrlgyS1ItXVsWP8I9N WRqU5IAgdHyHsMKrDM7gn5Mw45GZgFPgH+4Q3A2ikC5HcBEa4wRt/LwRVSDx2vOA7ure 0Lo34qiUWQhtUTS544NezRKjLUepZ6ZsM5kJiYQCq8nvSTqYvOW8hiw6kR1RHV3Pk3Ba SrdD04o65/IK+1tTarIfSQ5pC5WK0e/OerC+Itqs0BOBgwdMXHxJ/ag2LHu/ZJYLw9m+ evbA==
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=ioK1Zd2TEoI5qIfYWCTdOhh5yZJq6esIJShA4P0WMA0=; b=NHCGffF6QaSSKKzpfgcM7mvATGvPTqs2cyedKQ4PO571lrOKXIH8ZLkABH+8XZnyKD Hzu0WE2E7sgTLnCwSzI1Zjade2Wn547xy7oSE2f5bu769k5nQtAfCWXt1RFCQ2Vs9XfF ZZRaonG7J2qARTJbCfaF0z2xNXX+uK+suyOb5BljzSdDI1gyQNnHYFvs4FBhOYpwFdwI sLyZ/BjqQSg5bXm5wQsTgiipcK2vD/lJPqjaaJKke9QGXdVPj1D8LgHMqIBr8+kf2sIo erMHjbmhj8r7CzDniWLLNWrDQMOYxUiGMZJf81zjNsGyMnjSzhpY4W8A6+/CvzmQGToW PErQ==
X-Gm-Message-State: APjAAAWYVkT3VQmSgqwNNj28q9L3ByQXTYuFXispu5EIp5sg1bX26Deh P3/JSpfQl3DDKUYcI20KzQLSxcke
X-Google-Smtp-Source: APXvYqx/x3M/0aKPLsHFBZOcPHNhwSpAzlr0njzYTOIcXtl9ePkGy01VaYP3+cZSnYTSx5BnnYpVSw==
X-Received: by 2002:a17:90a:d995:: with SMTP id d21mr1872684pjv.118.1579746585813; Wed, 22 Jan 2020 18:29:45 -0800 (PST)
Received: from [192.168.178.30] (88.161.69.111.dynamic.snap.net.nz. [111.69.161.88]) by smtp.gmail.com with ESMTPSA id k16sm300177pje.18.2020.01.22.18.29.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Jan 2020 18:29:44 -0800 (PST)
To: Donald Eastlake <d3e3e3@gmail.com>, RFC Interest <rfc-interest@rfc-editor.org>
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> <70ed6362-41ee-faf5-8f90-d094455dbdf4@gmail.com> <CAMm+Lwhy-AV_K5evzGdpDi-ynpLE4RxXCVB1HercickYfZaubg@mail.gmail.com> <27103.1579626232@localhost> <31cf835c-aad6-637f-fc12-8f3efa04e6e7@gmail.com> <4BEFDBE7-6D0E-46E2-BDC5-31D0121400C0@akamai.com> <CAF4+nEFHfErPYQO2u9G8x0cu3_0XexgEwit0=KmXPbc2yBavSw@mail.gmail.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <9181ffd5-c8a9-24ad-4024-18da52f2cd4e@gmail.com>
Date: Thu, 23 Jan 2020 15:29:42 +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: <CAF4+nEFHfErPYQO2u9G8x0cu3_0XexgEwit0=KmXPbc2yBavSw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
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>
X-List-Received-Date: Thu, 23 Jan 2020 02:29:38 -0000

On 23-Jan-20 11:29, Donald Eastlake wrote:
> There does exist a system form mapping some colors into cross
> hatchings. See hatchings at
> https://en.wikipedia.org/wiki/Tincture_(heraldry).

However, I think that realistically we can't expect IETF tooling to perform that complex a remapping (colour to cross-hatching). It really would need to be done with the initial drawing tool.

gnuplot, for example, supports setting monochrome linetypes when plotting multiple variables on a single graph. LibreOffice Draw supports cross-hatching. Unfortunately the SVG that it generates includes a construct (<path style="fill:url(#pattern1)"  .../>) that we apparently don't allow, even though it's an internal reference:

>>> The attribute 'fill' does not allow the value 'url(#pattern1)', replaced with 'black'

I know exactly where to patch svgcheck to allow this case through, but it will be a hack.

Not out of the woods yet. SVG-in-RFCs just isn't ready for production use.

    Brian

> 

> Thanks,
> Donald
> ===============================
>  Donald E. Eastlake 3rd   +1-508-333-2270 (cell)
>  2386 Panoramic Circle, Apopka, FL 32703 USA
>  d3e3e3@gmail.com
> 
> On Wed, Jan 22, 2020 at 10:58 AM Salz, Rich <rsalz@akamai.com> wrote:
>>
>>>    I agree that the lack of coloured shading is annoying for many people, but *using* shading is annoying for people with limited colour vision.
>>
>> Huge agreement here.  And further, the number of people who are qualified to set shading properly so that various color-limited people can still see things is small.  Probably close to zero percentage of those writing drafts.
>>
>>
>> _______________________________________________
>> rfc-interest mailing list
>> rfc-interest@rfc-editor.org
>> https://www.rfc-editor.org/mailman/listinfo/rfc-interest
> _______________________________________________
> rfc-interest mailing list
> rfc-interest@rfc-editor.org
> https://www.rfc-editor.org/mailman/listinfo/rfc-interest
>