[rfc-i] No, constraining to a custom SVG profile is not trivial
Phillip Hallam-Baker <phill@hallambaker.com> Wed, 15 January 2020 20:15 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 D75F61208EA for <ietfarch-rfc-interest-archive@ietfa.amsl.com>; Wed, 15 Jan 2020 12:15:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.951
X-Spam-Level:
X-Spam-Status: No, score=-4.951 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-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 XbnS-ShtrLQK for <ietfarch-rfc-interest-archive@ietfa.amsl.com>; Wed, 15 Jan 2020 12:15:07 -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 D2C10120972 for <rfc-interest-archive-eekabaiReiB1@ietf.org>; Wed, 15 Jan 2020 12:15:07 -0800 (PST)
Received: from rfcpa.amsl.com (localhost [IPv6:::1]) by rfc-editor.org (Postfix) with ESMTP id 36D33F40739; Wed, 15 Jan 2020 12:15:04 -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 2CB56F40739 for <rfc-interest@rfc-editor.org>; Wed, 15 Jan 2020 12:15:03 -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 I7plEigekfbe for <rfc-interest@rfc-editor.org>; Wed, 15 Jan 2020 12:14:58 -0800 (PST)
Received: from mail-oi1-f178.google.com (mail-oi1-f178.google.com [209.85.167.178]) by rfc-editor.org (Postfix) with ESMTPS id 9B726F40727 for <rfc-interest@rfc-editor.org>; Wed, 15 Jan 2020 12:14:58 -0800 (PST)
Received: by mail-oi1-f178.google.com with SMTP id c77so16679579oib.7 for <rfc-interest@rfc-editor.org>; Wed, 15 Jan 2020 12:15:01 -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:from:date:message-id:subject:to; bh=XhS9XZgbtAOckIB0IR46NEPWw4xgNxddUM0x1RYEl6E=; b=nBa1yA5x2Jw1eSCbkrRbXMp0w5td9HjZTMxsixLhkYi5hxBG1eAowhC3QPGFW+2rh7 QymXuCDHizuz5rySyaMoqXg0vVWNi+uxFjzN6rcQVrjukoUotHZy+05G5dGnpDFBhlPT wixo0nyGk/1yEG+TX489O1Tt8TGboIlZTe+9hU783TtSlH5s46kaVXHZeNZHxScRd4Qz znprFoTDLwfKPfkLcFd9BOKQd7jGedbxhr/wM+LB3isC9Ceu3bX/R1iEN3hqlO/jQrey NpDDhaJ0+QKYRCYOK81guMpTcJmsQsFPJqBy1x9iumsTEbXnstq+Ylr6X17SqzhgrOlW MzSg==
X-Gm-Message-State: APjAAAXbTO+BDCr7RvWGrBb0Cu+SJ8wWhIAt4effcLffosirkOQ6w7XH elDIT03bVqVCZB4EYbBuQa211UrJoq1mef4H19FBNDGOqAo=
X-Google-Smtp-Source: APXvYqwXaKE7HPXKW6MTfwQ8dTgBNEHJZKlPL0FdvUvTue/wFiCJ6VuvEjStcdr0XUaedHWIq9lsLVxPiVAGCEF4Www=
X-Received: by 2002:aca:c30d:: with SMTP id t13mr1314260oif.166.1579119300613; Wed, 15 Jan 2020 12:15:00 -0800 (PST)
MIME-Version: 1.0
From: Phillip Hallam-Baker <phill@hallambaker.com>
Date: Wed, 15 Jan 2020 15:14:37 -0500
Message-ID: <CAMm+LwiXhhJO7qYi41+DC4W7uMUVipXqyq75Fq2vagA1ppJNdA@mail.gmail.com>
To: RFC Interest <rfc-interest@rfc-editor.org>
Subject: [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>
Content-Type: multipart/mixed; boundary="===============5970697308553154788=="
Errors-To: rfc-interest-bounces@rfc-editor.org
Sender: rfc-interest <rfc-interest-bounces@rfc-editor.org>
I am just attempting to massage my diagrams to get them into the SVG profile. Contrary to the claim made in RFC7996, creating a completely non-standard profile is not a trivial matter. It is not going to be possible to do the conversion properly short of writing custom translators for each drawing tool or writing an SVG renderer that uses the profile as backing. It is necessary to keep track of the X and Y position and the current coordinate system and font size to perform the processing right. The specification is inconsistent and does not match the constraints imposed by the tool. WARNING: 1 --- element 'svg' does not allow attribute 'stroke-miterlimit' That's not what the spec says. attribute stroke-miterlimit { "inherit" | xsd:string }?, Dealing with <tspan> elements requires the dx,dy coordinates thrown out by my package (Visio) to be converted to align. The range of allowed values for stroke varies from one element to another. Sometimes "none" is allowed, other times not. I am not going to be able to provide a general purpose conversion tool because the problem space is simply too large.
_______________________________________________ rfc-interest mailing list rfc-interest@rfc-editor.org https://www.rfc-editor.org/mailman/listinfo/rfc-interest
- [rfc-i] No, constraining to a custom SVG profile … Phillip Hallam-Baker
- Re: [rfc-i] No, constraining to a custom SVG prof… Doug Royer
- Re: [rfc-i] No, constraining to a custom SVG prof… Phillip Hallam-Baker
- Re: [rfc-i] No, constraining to a custom SVG prof… Brian E Carpenter
- Re: [rfc-i] No, constraining to a custom SVG prof… Doug Royer
- Re: [rfc-i] No, constraining to a custom SVG prof… Leonard Rosenthol
- Re: [rfc-i] No, constraining to a custom SVG prof… Brian E Carpenter
- Re: [rfc-i] No, constraining to a custom SVG prof… Phillip Hallam-Baker
- Re: [rfc-i] No, constraining to a custom SVG prof… Leonard Rosenthol
- Re: [rfc-i] No, constraining to a custom SVG prof… Brian E Carpenter
- Re: [rfc-i] No, constraining to a custom SVG prof… Phillip Hallam-Baker
- Re: [rfc-i] No, constraining to a custom SVG prof… Doug Royer
- Re: [rfc-i] No, constraining to a custom SVG prof… Martin J. Dürst
- Re: [rfc-i] No, constraining to a custom SVG prof… Phillip Hallam-Baker
- Re: [rfc-i] No, constraining to a custom SVG prof… Julian Reschke
- Re: [rfc-i] No, constraining to a custom SVG prof… Phillip Hallam-Baker
- Re: [rfc-i] No, constraining to a custom SVG prof… Michael Richardson
- Re: [rfc-i] Where was the discussion? Doug Royer
- Re: [rfc-i] No, constraining to a custom SVG prof… Doug Royer
- Re: [rfc-i] Where was the discussion? Julian Reschke
- Re: [rfc-i] Where was the discussion? Carsten Bormann
- Re: [rfc-i] Where was the discussion? Phillip Hallam-Baker
- Re: [rfc-i] No, constraining to a custom SVG prof… Phillip Hallam-Baker
- Re: [rfc-i] Where was the discussion? Brian E Carpenter
- Re: [rfc-i] Where was the discussion? Brian E Carpenter
- Re: [rfc-i] Where was the discussion? Brian E Carpenter
- Re: [rfc-i] Where was the discussion? Mark Nottingham
- Re: [rfc-i] No, constraining to a custom SVG prof… Brian E Carpenter
- Re: [rfc-i] Where was the discussion? Julian Reschke
- Re: [rfc-i] No, constraining to a custom SVG prof… Carsten Bormann
- Re: [rfc-i] No, constraining to a custom SVG prof… Christian Huitema
- Re: [rfc-i] Where was the discussion? Phillip Hallam-Baker
- Re: [rfc-i] Where was the discussion? Julian Reschke
- Re: [rfc-i] No, constraining to a custom SVG prof… Salz, Rich
- Re: [rfc-i] Where was the discussion? Michael Richardson
- Re: [rfc-i] No, constraining to a custom SVG prof… Michael Richardson
- Re: [rfc-i] No, constraining to a custom SVG prof… S Moonesamy
- Re: [rfc-i] No, constraining to a custom SVG prof… Donald Eastlake
- Re: [rfc-i] No, constraining to a custom SVG prof… Brian E Carpenter
- Re: [rfc-i] No, constraining to a custom SVG prof… Phillip Hallam-Baker
- Re: [rfc-i] No, constraining to a custom SVG prof… Phillip Hallam-Baker
- Re: [rfc-i] No, constraining to a custom SVG prof… Brian E Carpenter