Re: [Justfont] Internet Media type for font collections

"Levantovsky, Vladimir" <Vladimir.Levantovsky@monotype.com> Mon, 08 February 2016 04:44 UTC

Return-Path: <vladimir.levantovsky@monotype.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 7D2461A9098 for <justfont@ietfa.amsl.com>; Sun, 7 Feb 2016 20:44:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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 EpsBAFU1t0sI for <justfont@ietfa.amsl.com>; Sun, 7 Feb 2016 20:44:12 -0800 (PST)
Received: from p02c11o143.mxlogic.net (p02c11o143.mxlogic.net [208.65.144.76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F24801A9093 for <justfont@ietf.org>; Sun, 7 Feb 2016 20:44:09 -0800 (PST)
Received: from unknown [192.5.106.47] (EHLO wob-maildb-03.agfamonotype.org) by p02c11o143.mxlogic.net(mxl_mta-8.5.0-6) over TLS secured channel with ESMTP id 91d18b65.0.199689.00-335.530695.p02c11o143.mxlogic.net (envelope-from <vladimir.levantovsky@monotype.com>); Sun, 07 Feb 2016 21:44:10 -0700 (MST)
X-MXL-Hash: 56b81d1a7ed4ba34-616e82efd81c126354d5e69aa80f53b08ef5e161
Received: from wob-maildb-04.agfamonotype.org (192.168.65.96) by wob-maildb-03.agfamonotype.org (192.168.65.95) with Microsoft SMTP Server (TLS) id 15.0.913.22; Sun, 7 Feb 2016 23:42:55 -0500
Received: from wob-maildb-04.agfamonotype.org ([fe80::e900:1ad5:8317:1a4e]) by wob-maildb-04.agfamonotype.org ([fe80::e900:1ad5:8317:1a4e%14]) with mapi id 15.00.0913.011; Sun, 7 Feb 2016 23:42:55 -0500
From: "Levantovsky, Vladimir" <Vladimir.Levantovsky@monotype.com>
To: "justfont@ietf.org" <justfont@ietf.org>
Thread-Topic: [Justfont] Internet Media type for font collections
Thread-Index: AQHRYOm0Kpkw9fSYiEaIePahEISTJ58hk+1A
Date: Mon, 08 Feb 2016 04:42:54 +0000
Message-ID: <91f783dd75494f2da89293a20254a09f@wob-maildb-04.agfamonotype.org>
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-originating-ip: [96.230.54.190]
x-exclaimer-md-config: c271eea4-4802-4476-ab53-9ae654d778b2
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-AnalysisOut: [v=2.1 cv=G5MaZoQ5 c=1 sm=1 tr=0 a=XOlr6t7Gqt60WzYSt0UKeQ==]
X-AnalysisOut: [:117 a=XOlr6t7Gqt60WzYSt0UKeQ==:17 a=U-3o40-LUZEA:10 a=Ikc]
X-AnalysisOut: [TkHD0fZMA:10 a=xqWC_Br6kY4A:10 a=jFJIQSaiL_oA:10 a=48vgC7m]
X-AnalysisOut: [UAAAA:8 a=NEAV23lmAAAA:8 a=1alfaU8clqmguBcWZXwA:9 a=QEXdDO]
X-AnalysisOut: [2ut3YA:10]
X-Spam: [F=0.5000000000; CM=0.500; MH=0.500(2016020708); S=0.200(2015072901)]
X-MAIL-FROM: <vladimir.levantovsky@monotype.com>
X-SOURCE-IP: [192.5.106.47]
Archived-At: <http://mailarchive.ietf.org/arch/msg/justfont/-fRPhrUn60u4BsLZkYpT8I9CmV4>
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: Mon, 08 Feb 2016 04:44:13 -0000

I am not sure if there is a use case where specifying the fact that a font file is the font collection is important but if there is - we can define another subtype for font collections and use the same optional parameters to specify what types of outlines / layout mechanism are supported.

Thanks,
Vlad


-----Original Message-----
From: Justfont [mailto:justfont-bounces@ietf.org] On Behalf Of Chris Lilley
Sent: Saturday, February 06, 2016 9:22 AM
To: justfont@ietf.org
Subject: [Justfont] Internet Media type for font collections

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

_______________________________________________
Justfont mailing list
Justfont@ietf.org
https://www.ietf.org/mailman/listinfo/justfont