[Justfont] Fragment syntax for collections

"Chris Lilley" <chris@w3.org> Wed, 07 December 2016 21:04 UTC

Return-Path: <chris@w3.org>
X-Original-To: justfont@ietfa.amsl.com
Delivered-To: justfont@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7FCFE129A2D for <justfont@ietfa.amsl.com>; Wed, 7 Dec 2016 13:04:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.796
X-Spam-Level:
X-Spam-Status: No, score=-4.796 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-2.896, SPF_HELO_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 T56fFA6CIC8B for <justfont@ietfa.amsl.com>; Wed, 7 Dec 2016 13:04:13 -0800 (PST)
Received: from raoul.w3.org (raoul.w3.org [IPv6:2001:470:8b2d:804:52:12:128:0]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 97E24129B77 for <justfont@ietf.org>; Wed, 7 Dec 2016 13:04:13 -0800 (PST)
Received: from 30-9-49.wireless.csail.mit.edu ([128.30.9.49]) by raoul.w3.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from <chris@w3.org>) id 1cEjNs-0001oX-Er for justfont@ietf.org; Wed, 07 Dec 2016 21:04:12 +0000
Content-Type: multipart/alternative; boundary="----=_NextPart_11075623.503447308267"
MIME-Version: 1.0
Date: Wed, 07 Dec 2016 16:04:07 -0500
Message-ID: <c101fefc-22d1-4090-951c-87dcee0ed9df@getmailbird.com>
From: Chris Lilley <chris@w3.org>
To: justfont@ietf.org
User-Agent: Mailbird/2.3.36.0
X-Mailbird-ID: c101fefc-22d1-4090-951c-87dcee0ed9df@getmailbird.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/justfont/J1o1yH1RSLXoZG9yskFHrEQF85Y>
Subject: [Justfont] Fragment syntax for collections
X-BeenThere: justfont@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "Font Top Level Media Type \(just font\) WG" <justfont.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/justfont>, <mailto:justfont-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/justfont/>
List-Post: <mailto:justfont@ietf.org>
List-Help: <mailto:justfont-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/justfont>, <mailto:justfont-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Dec 2016 21:04:15 -0000

There is an open issue on the Fragment syntax for collections.
https://github.com/svgeesus/ietf-justfont/issues/18

On reflection, the numeric fragment syntax has no obvious benefit. It isn't deployed, and is fragile. Allowing both the numeric version and the string:based (PostScript ID) version requires carfeful disambiguation rules to allow for a font that has a numeric font name.

Removing the numeric fragment and just allowing the PostScript ID seems better. That ID is already used in CSS 3 Fonts when referencing local fonts, for example

src: local(Foo-Bold)

so therefore, if a woff2 holds a collection, it is simple and straightforward to say

src: url(https://example.org/Bar.woff2#Foo-Bold)
rather than
src: url(https://example.org/Bar.woff2#3)

Unless someone speaks out in favor of the numeric fragment syntax, i plan to remove it and add the PostScript name in its place.


--
Chris Lilley
@svgeesus
Technical Director @ W3C
W3C Strategy Team, Core Web Design
W3C Architecture & Technology Team, Core Web & Media