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

Doug Royer <douglasroyer@gmail.com> Tue, 21 January 2020 18:36 UTC

Return-Path: <douglasroyer@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 D61AFF40712 for <rfc-interest@rfc-editor.org>; Tue, 21 Jan 2020 10:36:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at rfc-editor.org
X-Spam-Flag: NO
X-Spam-Score: -0.998
X-Spam-Level:
X-Spam-Status: No, score=-0.998 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, SURBL_BLOCKED=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 fhzjqEXeDCAO for <rfc-interest@rfc-editor.org>; Tue, 21 Jan 2020 10:36:34 -0800 (PST)
Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) by rfc-editor.org (Postfix) with ESMTPS id 3F155F4070F for <rfc-interest@rfc-editor.org>; Tue, 21 Jan 2020 10:36:34 -0800 (PST)
Received: by mail-io1-xd34.google.com with SMTP id c16so3913944ioh.6 for <rfc-interest@rfc-editor.org>; Tue, 21 Jan 2020 10:36:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:references:organization:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=guIUv50x0u6im0SlB2qZXTkdWvFyLkEWDVKLxUBM3xM=; b=VmAJH85TUzNl1Ku/mMzgaeeH7Uv+r5f3fLUGcxbZHnEYUQiCVEcPkE2GOF33xEZVvv K5dqmqSHawLwHSSxWxWFjLTGnhpP9ZO6wUUKN5LGgjw42PUPw86oOpdhkjBzNeXWJIBF kFWrinFstVvaF99mpc7yqg/QPWdMhwFelDIkxcVPCdsyKDWNA6MOw95PnfNieXoXkd+S WNC4x/aCnMGqEw6soqcfC9ovTiuS9XGaN+gGi22p0n/R85y//j2nJuyDuVbmFmfkC4VU m6lgpsL17HzMlczbc3gEL49NmliRwBNecnTO+b+0U1Hwq04nv5tc019UbKHf07Tw0gbd bNxg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:references:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=guIUv50x0u6im0SlB2qZXTkdWvFyLkEWDVKLxUBM3xM=; b=fICY1sprJMNkwlOuB3+0Eef/WoXdbmhbSMivmtkmk3+tSizjSkxEN+FsgNUwivjrBO +lVKgXRm23WlL2cANOgTsEpDuRvVkjy0r5j1dzyLH3aTAjtIgB0p7fJoTNse59VBLFEk mVjCimJmID2zm0EKXyJ2GzJ9lSK8yZcXAwmRvio3Aw1v3Z/HXZ5vY0C1Sc8CfO/PDcjn QHBRNO8C5R0L9TXG745u5mP03uY67nGBVSK3Lqb/V7QKi0fxaKLhPMSOuOy30E5vfvWT pWBtkK9waZvGFXYrk7APBFFhpnXScxu5TJn3pSeK17vVuVWEbQDs+Yz5gsSzTikebd2U dveQ==
X-Gm-Message-State: APjAAAXmovrrWcDC43ZErkq+tm/yrfojgiUvfl7lw7tbZS4lFcfH4uVA bfHQ9Zi7ZyOyxbzHY44AHOiIUdquZQJdca8=
X-Google-Smtp-Source: APXvYqyHI7n/4nNApjOy2m8swKxnSZrRVxXfOGQS5XE4HLPh/P3s769iwhK52+f+HpUrugf/oVC3lg==
X-Received: by 2002:a5e:8309:: with SMTP id x9mr3961828iom.184.1579631801164; Tue, 21 Jan 2020 10:36:41 -0800 (PST)
Received: from [192.168.1.7] ([174.27.20.133]) by smtp.googlemail.com with ESMTPSA id x25sm9996374iol.6.2020.01.21.10.36.40 for <rfc-interest@rfc-editor.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Jan 2020 10:36:40 -0800 (PST)
From: Doug Royer <douglasroyer@gmail.com>
X-Google-Original-From: Doug Royer <DouglasRoyer@gmail.com>
To: 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> <ea7f2604-251f-f2da-661f-0438cbadb53a@it.aoyama.ac.jp>
Organization: http://SoftwareAndServices.NET
Message-ID: <1fec5eff-5653-a771-eeb2-0030049c579e@gmail.com>
Date: Tue, 21 Jan 2020 11:36:38 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2
MIME-Version: 1.0
In-Reply-To: <ea7f2604-251f-f2da-661f-0438cbadb53a@it.aoyama.ac.jp>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
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: Tue, 21 Jan 2020 18:36:38 -0000

On 1/20/20 10:48 PM, Martin J. Dürst wrote:

> In SVG, there is actually a specific attribute for dealing with the
> variation in overall width of a text depending on the font. It is called
> textLength. Please see
> https://www.w3.org/TR/SVG11/text.html#TextElementTextLengthAttribute. I
> do not know whether this attribute is allowed in the RFC subset of SVG,
> but it should be.
> 

Nope, not in Tiny SVG, or RFC-7996-SVG. And the supplied VISIO generated SVG file simply supplied the  text positions in 'em' values, so it would take a lot of code to reverse that back to how to scale an unrelated font to the same width.

-- 
Doug Royer - (http://DougRoyer.US)
Douglas.Royer@gmail.com
714-989-6135