Re: [Justfont] Internet Media type for font collections

Ken Lunde <lunde@adobe.com> Sat, 06 February 2016 15:27 UTC

Return-Path: <lunde@adobe.com>
X-Original-To: justfont@ietfa.amsl.com
Delivered-To: justfont@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 631171A1A31 for <justfont@ietfa.amsl.com>; Sat, 6 Feb 2016 07:27:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level:
X-Spam-Status: No, score=-2.002 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 HF5ROhyQZm5K for <justfont@ietfa.amsl.com>; Sat, 6 Feb 2016 07:27:18 -0800 (PST)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0064.outbound.protection.outlook.com [65.55.169.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0A6B91A1A2E for <justfont@ietf.org>; Sat, 6 Feb 2016 07:27:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adobe.com; s=selector1; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=1/q6K+H4Iu5YBHVWOlR8wGbqWIdTcxKOZ7OXoRLoMb0=; b=EZBhGpkc68o8DBZooBcloFEVke/R089fprIYFmQUv0PeDXUuX+a9fRMUJrj+4qA5lc5GdHrTeV8iXAjkVfA7HqW6aHIjbUHl8BXoD98ImDGzwl/9YtZ14Cb0vkKKLSDtAH6drQooNK+QMvIsUSujAHrwv+6QU5y0SMLiizIXqrw=
Received: from BN3PR02MB1143.namprd02.prod.outlook.com (10.162.168.149) by BN3PR02MB1142.namprd02.prod.outlook.com (10.162.168.148) with Microsoft SMTP Server (TLS) id 15.1.403.16; Sat, 6 Feb 2016 15:27:15 +0000
Received: from BN3PR02MB1143.namprd02.prod.outlook.com ([10.162.168.149]) by BN3PR02MB1143.namprd02.prod.outlook.com ([10.162.168.149]) with mapi id 15.01.0403.016; Sat, 6 Feb 2016 15:27:15 +0000
From: Ken Lunde <lunde@adobe.com>
To: Chris Lilley <chris@w3.org>
Thread-Topic: Internet Media type for font collections
Thread-Index: AQHRYOm1byMvD8cWF0WBOWz2VcfjF58fI+IA
Date: Sat, 06 Feb 2016 15:27:15 +0000
Message-ID: <163FC726-E8FC-4A9D-894E-F2BF904338A4@adobe.com>
References: <175815705.20160206152132@w3.org>
In-Reply-To: <175815705.20160206152132@w3.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-mailer: Apple Mail (2.3112)
authentication-results: w3.org; dkim=none (message not signed) header.d=none;w3.org; dmarc=none action=none header.from=adobe.com;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [73.15.95.36]
x-microsoft-exchange-diagnostics: 1; BN3PR02MB1142; 5:IzFdlkk+y3C5afvpJLGt/EWXQimZXfluYvYaKwiGvpFNU4Ze+nhg9Ig3dWaQpweMJmmEuCpUhp92X4u/E/mosXSMsEUvHN3cd47AB7/tLHSqGvU44Zqc9nYH/nEagg0z2b6yxYPprRUQ7yxaBIhjtg==; 24:m7OE5/UvjBPTIYRQvzbA/SdOCsG4FBBcOkpdC/SzchLIybixzZDecc5Dx4A68dptmppLBVOSE99Nkc5OQODNjHnRmNgybm8p+KmMj+wWTIE=
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR02MB1142;
x-ms-office365-filtering-correlation-id: 7a59cb89-0fae-497f-4527-08d32f09fe51
x-microsoft-antispam-prvs: <BN3PR02MB114258CEDF3292788FCE53BFAED30@BN3PR02MB1142.namprd02.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(61425038)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(61426038)(61427038); SRVR:BN3PR02MB1142; BCL:0; PCL:0; RULEID:; SRVR:BN3PR02MB1142;
x-forefront-prvs: 08444C7C87
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(24454002)(377454003)(11100500001)(50226001)(40100003)(10090500001)(15975445007)(86362001)(77096005)(83716003)(106116001)(122556002)(76176999)(189998001)(50986999)(110136002)(33656002)(2950100001)(5001960100002)(87936001)(3846002)(5004730100002)(4326007)(36756003)(66066001)(82746002)(5002640100001)(5008740100001)(3280700002)(1096002)(102836003)(1220700001)(19580395003)(92566002)(19580405001)(10400500002)(586003)(2906002)(3660700001)(104396002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR02MB1142; H:BN3PR02MB1143.namprd02.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en;
spamdiagnosticoutput: 1:23
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-ID: <A2E376D17E1A064FBF3E8ED04D83469D@namprd02.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: adobe.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Feb 2016 15:27:15.6384 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: fa7b1b5a-7b34-4387-94ae-d2c178decee1
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR02MB1142
Archived-At: <http://mailarchive.ietf.org/arch/msg/justfont/qjfmQer2X9ltfdaqLEVohii4Mkw>
X-Mailman-Approved-At: Sat, 06 Feb 2016 15:01:57 -0800
Cc: "justfont@ietf.org" <justfont@ietf.org>, "w3c-webfonts-wg (public-webfonts-wg@w3.org)" <public-webfonts-wg@w3.org>
Subject: Re: [Justfont] Internet Media type for font collections
X-BeenThere: justfont@ietf.org
X-Mailman-Version: 2.1.15
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: Sat, 06 Feb 2016 15:28:38 -0000

Chris,

I am not sure how helpful this information is, or how it would factor into this issue, but all of the OpenType/CFF Collections of which I am aware use the ".ttc" filename extension, not the ".otc" one. These include the Source Han Sans, Source Han Code JP, and Noto Sans CJK families, along with the large number of OpenType/CFF Collections that are bundled with OS X Version 10.11. The main reason is due to the latter filename extension not being recognized.

It is somewhat unfortunate that two different filename extensions have been deployed for non-collections, meaning ".ttf" and ".otf," and the current situation with collections provides an opportunity to use a single filename extension, specifically the ".ttc" one.

I will add the above to Issue #7.

Best...

-- Ken

> On Feb 6, 2016, at 6:21 AM, Chris Lilley <chris@w3.org> wrote:
> 
> Hello,
> 
> It is unclear in the current spec what Internet media Type to use for
> Collections (previously, TrueType Collections but now expanded to
> OpenType as well). I can see several possibilities, which have
> different impacts on the spec.
> 
> a) Just use font/truetype for TTC.
> + avoids adding another type
> - no way to indicate support for collections in an Accept header
> - complicates specifying a fragment identifier (only sometimes legal)
> 
> consequences:
>  need to add .ttc to the file types section
>  change fragment identifiers to allow an optional fragment (but only
>  if ttc)
> 
> Similarly, just use font/opentype for OTC (is .otc the usual filetype?)
> (same pluses, minuses and consequences as for TTC)
> 
> b) Same as a) but add a parameter like collection="true" or something.
> I don't like this option, partly because params are often awkward to
> configure on servers and tend to be little used (or hard coded to
> particular filetypes) and also because it has all the disadvantages of
> a) regarding optional fragments.
> 
> c) Define two new media types, for TTC (TrueType outlines, no OpenType
> layout) and for OTC (CFF or TTF outlines, OpenType Layout)
> - two more types (but at least, no parameters)
> + easy to map to existing filetypes .ttc .otc
> + fragment identifier easy to specify (numeric, the n'th font in the
> collection where n starts at one. If omitted, same as #1)
> + Easy to use in an Accept header
> 
> Option c) is my preferred option, would be interested to hear what
> others think.
> 
> This refers to github issues:
>   Media type for OpenType collections #6
>   https://github.com/svgeesus/ietf-justfont/issues/6
> 
>    Fragment syntax for collections #7
>    https://github.com/svgeesus/ietf-justfont/issues/7
> 
> although the main question for #7 is what media type to put the
> fragment syntax onto. The actual syntax of #1, #2 is uncontroversial
> and already used (but as a non-normative example) in CSS3 Fonts.
> 
> -- 
> Best regards,
> Chris  Lilley
> Technical Director, W3C Interaction Domain
> 
>