[Justfont] CSS support for font collections

Ken Lunde <lunde@adobe.com> Mon, 15 August 2016 19:56 UTC

Return-Path: <lunde@adobe.com>
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 2C56D12D575 for <justfont@ietfa.amsl.com>; Mon, 15 Aug 2016 12:56:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.022
X-Spam-Level:
X-Spam-Status: No, score=-2.022 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=adobe.com
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 2oTudQmvHCWq for <justfont@ietfa.amsl.com>; Mon, 15 Aug 2016 12:56:36 -0700 (PDT)
Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0064.outbound.protection.outlook.com [104.47.40.64]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A0EE412D768 for <justfont@ietf.org>; Mon, 15 Aug 2016 12:56:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adobe.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=YxRXZKbI7jTx+uHuD3wim4FCQ4v1gVtNU1+8eXpd0tI=; b=N8z9YigmYfB8mSwghymkhKRqRI0PLpnRjg9bxSaaZoWRXm7Ul4lsWuCO/SP9Tp5tICNvuY6FFV5yhmLmlRh9VDKNgELF0kJqnaN7KqAcUo/GgrtKMyvcMuwQbqeq3XKga8OEpWFRuwYrHH70jD0y161O5WO2npiFxgtBEmM2NsI=
Received: from CY1PR02MB1150.namprd02.prod.outlook.com (10.163.15.152) by CY1PR02MB1151.namprd02.prod.outlook.com (10.163.15.153) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.557.21; Mon, 15 Aug 2016 19:56:32 +0000
Received: from CY1PR02MB1150.namprd02.prod.outlook.com ([10.163.15.152]) by CY1PR02MB1150.namprd02.prod.outlook.com ([10.163.15.152]) with mapi id 15.01.0557.022; Mon, 15 Aug 2016 19:56:32 +0000
From: Ken Lunde <lunde@adobe.com>
To: "justfont@ietf.org" <justfont@ietf.org>
Thread-Topic: CSS support for font collections
Thread-Index: AQHR9y8eQ2/z5EMLME2FMhVNUqDXWg==
Date: Mon, 15 Aug 2016 19:56:31 +0000
Message-ID: <3D28D2A0-A90A-4CC8-BB82-B6AAEFB93238@adobe.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-mailer: Apple Mail (2.3124)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=lunde@adobe.com;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [192.150.10.201]
x-ms-office365-filtering-correlation-id: 8efc4fe1-96a8-400d-3211-08d3c546412d
x-microsoft-exchange-diagnostics: 1; CY1PR02MB1151; 6:7eDBF/7jUyAqiELnQ64lZnb3LguPoY6gPYHnRBW67V+ouiUr/WF382UMntYNznU9kXWEnp0QWzBC815AAy6P4iYEI3bA10ANjZCjloKQ3X/ijr+HiC3VqrQlyCGYRbonzSqBxL1Mf2cMieT5JUAnCjW5ZMsSsjPeVIICVYJgkKmKkgvleWs0jAM0xWJ7CtI5lVsl2slPp6RrSulSi/qwIS1pj+aa8keIAuF/4eqMNWneRLZW8NWOdONx+f4usbyoHLO/eYQj7kQH2Tprzh1Q210dma4RuyValXKej+vRxiXpxCKhPyB9Hivc04KWqRPDYfIxr2gqwLuKaisOIYiElQ==; 5:hin2J4io+rEn7Z2rduuqOOhzwCBYYhf4/ZcbiYUzJWdzH6Bj8Eqz9fM+I/nwICGF2zfntj7TE2vFYpC0JG/YgQNvDDwg4oQffcP7eHfis/g0Lr84EyW0rOBctyWeZnNmEcAPb+FZ7H+bzqcQO3iH1g==; 24:aaz5jb8eGXQRoGB+JL6AKpPJv11BxTY6cdEqHU090M95QHUhGLFNmRE/pAwRtXdiqtkJ6o6zG/dylRMUpHD5C1nkDHABXMGQp5CnmNki770=; 7:aeZ04N9cKuB3vNjz1LjeV2bxgcateUGxZSV8m1KRFdQzoLW9tZ5B8QVPbhtB1DHAo5O1nsNWrDRNq5U1ukbEJxMj6E1FqyNzhXN7qv9Y/S8u3ZX/7iPFm8k5gmnQlq4ony7PRZAUb+2q4asnmTrNM6Ne9lc8e+XnfKmZ7I7dQU54/PpBGgQAHS6Ec5STzUCmoPaUKysqDNGDxg0d5O4HW/TXeQhdbKnxf7pBMdfaS4IEKPwvuIuqTm6Y/qOOSk4a
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR02MB1151;
x-microsoft-antispam-prvs: <CY1PR02MB1151418FA6126BC114E28384AE120@CY1PR02MB1151.namprd02.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(61425038)(6040176)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6055026)(61426038)(61427038); SRVR:CY1PR02MB1151; BCL:0; PCL:0; RULEID:; SRVR:CY1PR02MB1151;
x-forefront-prvs: 0035B15214
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(979002)(6009001)(7916002)(199003)(189002)(68736007)(82746002)(11100500001)(36756003)(8936002)(105586002)(81156014)(19580395003)(97736004)(81166006)(5002640100001)(106356001)(2501003)(19580405001)(1730700003)(8676002)(107886002)(83716003)(189998001)(450100001)(110136002)(77096005)(5640700001)(3660700001)(2900100001)(50226002)(57306001)(229853001)(92566002)(122556002)(33656002)(50986999)(87936001)(7736002)(7846002)(2351001)(66066001)(99286002)(586003)(3280700002)(102836003)(3846002)(6116002)(305945005)(101416001)(106116001)(10090500001)(10400500002)(86362001)(2906002)(104396002)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR02MB1151; H:CY1PR02MB1150.namprd02.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: adobe.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-ID: <77BFCA2C8A851844BE2033F4C4357A6D@namprd02.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: adobe.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Aug 2016 19:56:31.9403 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: fa7b1b5a-7b34-4387-94ae-d2c178decee1
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR02MB1151
Archived-At: <https://mailarchive.ietf.org/arch/msg/justfont/1LFEGZg6-viW0JKxUp1tH7QsnIY>
Subject: [Justfont] CSS support for font 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: Mon, 15 Aug 2016 19:56:46 -0000

All,

Chris Lilley asked me to forward to this mailing list a point I made on the public-webfonts-wg@w3.org mailing list about indexing fonts in a font collection in the context of CSS.

below is the specific two-paragraph excerpt:

> The latter method will be more reliable, because it doesn't depend on the order of the fonts within the collection, which have the potential to change over time, especially if additional fonts are added. A good real-world example of this is the forthcoming HK (Hong Kong) support for Source Han Sans (Adobe) and Noto Sans CJK (Google) that will add HK versions of the fonts to the collection, both weight-specific and the Super OTCs. These additional fonts will not be appended, but rather inserted, at least for the Super OTCs.
> 
> Come to think of it, this actually happened to the SuperOTCs in Version 1.002 when HW (half-width) fonts were added for Regular and Bold. They were inserted, not appended.

In other words, font collections have the potential to change the relative ordering of the fonts, which would usually happen when fonts are added. This is in terms of their index values, and this has actually happened in at least one broadly-distributed collection, and there are plans in place for having this happen again.

I was told that the 'name' table plays little or no part in terms of how CSS deals with a font collection, which is unfortunate because that is the table which provides the most reliable (unique) name of a font, such as the name.ID=6 string.

Best...

-- Ken Lunde