rfc8081v1.txt   rfc8081.txt 
Internet Engineering Task Force (IETF) C. Lilley Internet Engineering Task Force (IETF) C. Lilley
Request for Comments: 8081 W3C Request for Comments: 8081 W3C
Category: Standards Track February 2017 Category: Standards Track February 2017
ISSN: 2070-1721 ISSN: 2070-1721
The "font" Top-Level Type The "font" Top-Level Media Type
Abstract Abstract
This memo serves to register and document the "font" Top-Level Type, This memo serves to register and document the "font" top-level media
under which the Internet Media subtypes for representation formats type, under which subtypes for representation formats for fonts may
for fonts may be registered. This document also serves as a be registered. This document also serves as a registration
registration application for a set of intended subtypes, which are application for a set of intended subtypes, which are representative
representative of some existing subtypes already in use, and of some existing subtypes already in use, and currently registered
currently registered under the "application" tree by their separate under the "application" tree by their separate registrations.
registrations.
Status of This Memo Status of This Memo
This is an Internet Standards Track document. This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has (IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in Section 2 of RFC 7841. Internet Standards is available in Section 2 of RFC 7841.
skipping to change at page 2, line 40 skipping to change at page 2, line 40
representations of the glyphs. Just as with images, for example, representations of the glyphs. Just as with images, for example,
there are a number of ways to represent the visual information of the there are a number of ways to represent the visual information of the
glyphs. Early font formats often used bitmaps, as these could have glyphs. Early font formats often used bitmaps, as these could have
been carefully tuned for maximum readability at a given size on low- been carefully tuned for maximum readability at a given size on low-
resolution displays. More recently, scalable vector outline fonts resolution displays. More recently, scalable vector outline fonts
have come into widespread use. In these fonts, the outlines of the have come into widespread use. In these fonts, the outlines of the
glyphs are described, and the presentation system renders the outline glyphs are described, and the presentation system renders the outline
in the desired position and size. in the desired position and size.
Over time, a number of standard formats for recording font Over time, a number of standard formats for recording font
descriptions have evolved. This document defines a new top-level descriptions have evolved. Internet Media Types [RFC6838] are used
Internet Media Type "font" according to Section 4.2.7 of [RFC6838]. to label content carried over Internet protocols. This document
This top-level type indicates that the content specifies font data. defines a new top-level type "font" according to Section 4.2.7 of
Under this top-level type, different representation formats of fonts [RFC6838]. This top-level type indicates that the content specifies
may be registered. font data. Under this top-level type, different representation
formats of fonts may be registered.
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in RFC 2119 [RFC2119]. document are to be interpreted as described in RFC 2119 [RFC2119].
2. Background and Justification 2. Background and Justification
Historically, there has not been a registration of formats for fonts. Historically, there has not been a registration of formats for fonts.
More recently, there have been several representation formats More recently, there have been several representation formats
registered as media subtypes under the "application" top-level type registered as media subtypes under the "application" top-level type
skipping to change at page 6, line 41 skipping to change at page 6, line 41
4.4.1. Generic SFNT Font Type 4.4.1. Generic SFNT Font Type
Type name: font Type name: font
Subtype name: sfnt Subtype name: sfnt
Required parameters: None Required parameters: None
Optional parameters: Optional parameters:
1) Name: outlines Values: a comma-separated subset of True Type 1) Name: outlines
Font (TTF), Compact Font Format (CFF), and SVG
Values: a comma-separated subset of True Type Font (TTF),
Compact Font Format (CFF), and SVG
This parameter can be used to specify the type of outlines This parameter can be used to specify the type of outlines
provided by the font. The value "TTF" shall be used when a provided by the font. The value "TTF" shall be used when a
font resource contains glyph outlines in TrueType format, the font resource contains glyph outlines in TrueType format, the
value "CFF" shall be used to identify fonts containing value "CFF" shall be used to identify fonts containing
PostScript/CFF outlines [cff-wiki], and the value SVG PostScript/CFF outlines [cff-wiki], and the value SVG
[svg-wiki] shall be used to identify fonts that include SVG [svg-wiki] shall be used to identify fonts that include SVG
outlines. TTF, CFF, or SVG outlines can be present in various outlines. TTF, CFF, or SVG outlines can be present in various
combinations in the same font file; therefore, this optional combinations in the same font file; therefore, this optional
parameter is a list containing one or more items, separated by parameter is a list containing one or more items, separated by
skipping to change at page 7, line 49 skipping to change at page 7, line 50
WG11. WG11.
Applications that use this media type: All applications that are Applications that use this media type: All applications that are
able to create, edit, or display textual media content. able to create, edit, or display textual media content.
Note that "font/sfnt" is an abstract type from which the (widely Note that "font/sfnt" is an abstract type from which the (widely
used in practice) "font/ttf" and "font/otf" types are conceptually used in practice) "font/ttf" and "font/otf" types are conceptually
derived. Use of "font/sfnt" is likely to be rare in practice, and derived. Use of "font/sfnt" is likely to be rare in practice, and
might be confined to: might be confined to:
Uncommon combinations such as "font/sfnt"; outlines=sil that do Uncommon combinations such as "font/sfnt; layout=sil" that do
not have a shorter type not have a shorter type
Cases where a new parameter value is registered Cases where a new parameter value is registered
Test cases, experimentation, etc. Test cases, experimentation, etc.
Additional information: Additional information:
Magic number(s): The TrueType fonts and OFF / OpenType fonts Magic number(s): The TrueType fonts and OFF / OpenType fonts
containing TrueType outlines should use 0x00010000 as the containing TrueType outlines should use 0x00010000 as the
'sfnt' version number. 'sfnt' version number.
skipping to change at page 8, line 31 skipping to change at page 8, line 31
TrueType outlines, whereas the .otf extension can be used for TrueType outlines, whereas the .otf extension can be used for
any OpenType/OFF font, and either can be used with the TrueType any OpenType/OFF font, and either can be used with the TrueType
or CFF outlines. or CFF outlines.
Macintosh file type code(s): (no code specified) Macintosh file type code(s): (no code specified)
Macintosh Universal Type Identifier code: "public.font" Macintosh Universal Type Identifier code: "public.font"
@font-face Format: None @font-face Format: None
Fragment Identifiers None Fragment Identifiers: None
Deprecated Alias: The existing registration "application/font- Deprecated Alias: The existing registration "application/font-
sfnt" is deprecated in favor of "font/sfnt". sfnt" is deprecated in favor of "font/sfnt".
Person & email address to contact for further information: Vladimir Person & email address to contact for further information:
Levantovsky (vladimir.levantovsky@monotype.com). Vladimir Levantovsky (vladimir.levantovsky@monotype.com).
Intended usage: COMMON Intended usage: COMMON
Restrictions on usage: None Restrictions on usage: None
Author: The ISO/IEC 14496-22 "Open Font Format" specification is a Author: The ISO/IEC 14496-22 "Open Font Format" specification is a
product of the ISO/IEC JTC1 SC29/WG11. product of the ISO/IEC JTC1 SC29/WG11.
Change controller: The ISO/IEC has change control over this Change controller: The ISO/IEC has change control over this
specification. specification.
skipping to change at page 9, line 15 skipping to change at page 9, line 15
4.4.2. TTF Font Type 4.4.2. TTF Font Type
Type name: font Type name: font
Subtype name: ttf Subtype name: ttf
Required parameters: None Required parameters: None
Optional parameters: Optional parameters:
Name: layout Values: a comma-separated subset of OTL, AAT, and Name: layout
SIL
Values: a comma-separated subset of OTL, AAT, and SIL
This parameter identifies the type of support mechanism for This parameter identifies the type of support mechanism for
advanced text layout features. The predefined values "OTL", advanced text layout features. The predefined values "OTL",
"AAT", and "SIL" respectively indicate support for OpenType "AAT", and "SIL" respectively indicate support for OpenType
text layout, Apple Advanced Typography, or Graphite SIL. More text layout, Apple Advanced Typography, or Graphite SIL. More
than one shaping and layout mechanism may be provided by the than one shaping and layout mechanism may be provided by the
same font file; therefore, this optional parameter is a list same font file; therefore, this optional parameter is a list
containing one or more items, separated by commas. Order in containing one or more items, separated by commas. Order in
the list is not significant. the list is not significant.
skipping to change at page 10, line 22 skipping to change at page 10, line 24
Typically, the .ttf extension is only used for fonts containing Typically, the .ttf extension is only used for fonts containing
TrueType outlines, while the .otf extension may be used for any TrueType outlines, while the .otf extension may be used for any
OpenType/OFF font, either with TrueType or CFF outlines. OpenType/OFF font, either with TrueType or CFF outlines.
Macintosh file type code(s): (no code specified) Macintosh file type code(s): (no code specified)
Macintosh Universal Type Identifier code: "public.truetype-font" Macintosh Universal Type Identifier code: "public.truetype-font"
@font-face Format: truetype @font-face Format: truetype
Fragment Identifiers None Fragment Identifiers: None
Person & email address to contact for further information: Vladimir Person & email address to contact for further information:
Levantovsky (vladimir.levantovsky@monotype.com). Vladimir Levantovsky (vladimir.levantovsky@monotype.com).
Intended usage: COMMON Intended usage: COMMON
Restrictions on usage: None Restrictions on usage: None
Author: The ISO/IEC 14496-22 "Open Font Format" specification is a Author: The ISO/IEC 14496-22 "Open Font Format" specification is a
product of the ISO/IEC JTC1 SC29/WG11. product of the ISO/IEC JTC1 SC29/WG11.
Change controller: The ISO/IEC has change control over this Change controller: The ISO/IEC has change control over this
specification. specification.
skipping to change at page 10, line 47 skipping to change at page 10, line 49
4.4.3. OpenType Layout (OTF) Font Type 4.4.3. OpenType Layout (OTF) Font Type
Type name: font Type name: font
Subtype name: otf Subtype name: otf
Required parameters: None Required parameters: None
Optional parameters Optional parameters
Name: outlines Values: a comma-separated subset of TTF, CFF, and Name: outlines
SVG Values: a comma-separated subset of TTF, CFF, and SVG
This parameter can be used to specify the type of outlines This parameter can be used to specify the type of outlines
provided by the font. The value "TTF" shall be used when a provided by the font. The value "TTF" shall be used when a
font resource contains glyph outlines in TrueType format, the font resource contains glyph outlines in TrueType format, the
value "CFF" shall be used to identify fonts containing value "CFF" shall be used to identify fonts containing
PostScript/CFF outlines, and the value SVG shall be used to PostScript/CFF outlines, and the value SVG shall be used to
identify fonts that include SVG outlines. TTF, CFF, or SVG identify fonts that include SVG outlines. TTF, CFF, or SVG
outlines can be present in various combinations in the same outlines can be present in various combinations in the same
font file; therefore, this optional parameter is a list font file; therefore, this optional parameter is a list
containing one or more items, separated by commas. Order in containing one or more items, separated by commas. Order in
skipping to change at page 12, line 14 skipping to change at page 12, line 18
Typically, the .ttf extension is only used for fonts containing Typically, the .ttf extension is only used for fonts containing
TrueType outlines, while the .otf extension can be used for any TrueType outlines, while the .otf extension can be used for any
OpenType/OFF font, either with TrueType, CFF, or SVG outlines. OpenType/OFF font, either with TrueType, CFF, or SVG outlines.
Macintosh file type code(s): (no code specified) Macintosh file type code(s): (no code specified)
Macintosh Universal Type Identifier code: "public.opentype-font" Macintosh Universal Type Identifier code: "public.opentype-font"
@font-face Format: opentype @font-face Format: opentype
Fragment Identifiers None Fragment Identifiers: None
Person & email address to contact for further information: Vladimir Person & email address to contact for further information:
Levantovsky (vladimir.levantovsky@monotype.com). Vladimir Levantovsky (vladimir.levantovsky@monotype.com).
Intended usage: COMMON Intended usage: COMMON
Restrictions on usage: None Restrictions on usage: None
Author: The ISO/IEC 14496-22 "Open Font Format" specification is a Author: The ISO/IEC 14496-22 "Open Font Format" specification is a
product of the ISO/IEC JTC1 SC29/WG11. product of the ISO/IEC JTC1 SC29/WG11.
Change controller: The ISO/IEC has change control over this Change controller: The ISO/IEC has change control over this
specification. specification.
skipping to change at page 12, line 39 skipping to change at page 12, line 43
4.4.4. Collection Font Type 4.4.4. Collection Font Type
Type name: font Type name: font
Subtype name: collection Subtype name: collection
Required parameters: None Required parameters: None
Optional parameters Optional parameters
Name: outlines Values: a comma-separated subset of TTF, CFF, and Name: outlines
SVG
Values: a comma-separated subset of TTF, CFF, and SVG
This parameter can be used to specify the type of outlines This parameter can be used to specify the type of outlines
provided by the font. The value "TTF" shall be used when a provided by the font. The value "TTF" shall be used when a
font resource contains glyph outlines in TrueType format, the font resource contains glyph outlines in TrueType format, the
value "CFF" shall be used to identify fonts containing value "CFF" shall be used to identify fonts containing
PostScript/CFF outlines, and the value SVG shall be used to PostScript/CFF outlines, and the value SVG shall be used to
identify fonts that include SVG outlines. TTF, CFF, or SVG identify fonts that include SVG outlines. TTF, CFF, or SVG
outlines can be present in various combinations in the same outlines can be present in various combinations in the same
font file; therefore, this optional parameter is a list font file; therefore, this optional parameter is a list
containing one or more items, separated by commas. Order in containing one or more items, separated by commas. Order in
skipping to change at page 14, line 5 skipping to change at page 14, line 9
Macintosh file type code(s): (no code specified) Macintosh file type code(s): (no code specified)
Macintosh Universal Type Identifier code: "public.truetype- Macintosh Universal Type Identifier code: "public.truetype-
collection-font" collection-font"
@font-face Format: collection @font-face Format: collection
Fragment Identifiers: See Section 4.2. Fragment Identifiers: See Section 4.2.
Person & email address to contact for further information: Vladimir Person & email address to contact for further information:
Levantovsky (vladimir.levantovsky@monotype.com). Vladimir Levantovsky (vladimir.levantovsky@monotype.com).
Intended usage: COMMON Intended usage: COMMON
Restrictions on usage: None Restrictions on usage: None
Author: The ISO/IEC 14496-22 "Open Font Format" specification is a Author: The ISO/IEC 14496-22 "Open Font Format" specification is a
product of the ISO/IEC JTC1 SC29/WG11. product of the ISO/IEC JTC1 SC29/WG11.
Change controller: The ISO/IEC has change control over this Change controller: The ISO/IEC has change control over this
specification. specification.
skipping to change at page 14, line 48 skipping to change at page 15, line 4
Additional information: Additional information:
Magic number(s): The signature field in the WOFF header MUST Magic number(s): The signature field in the WOFF header MUST
contain the "magic number" 0x774F4646 ('wOFF') contain the "magic number" 0x774F4646 ('wOFF')
File extension(s): woff File extension(s): woff
Macintosh file type code(s): (no code specified) Macintosh file type code(s): (no code specified)
Macintosh Universal Type Identifier code: "org.w3.woff" Macintosh Universal Type Identifier code: "org.w3.woff"
@font-face Format: woff @font-face Format: woff
Fragment Identifiers: None Fragment Identifiers: None
Deprecated Alias: The existing registration "application/font- Deprecated Alias: The existing registration "application/font-
woff" is deprecated in favor of "font/woff". woff" is deprecated in favor of "font/woff".
Person & email address to contact for further information: Chris Person & email address to contact for further information:
Lilley (www-font@w3.org). Chris Lilley (www-font@w3.org).
Intended usage: COMMON Intended usage: COMMON
Restrictions on usage: None Restrictions on usage: None
Author: The WOFF specification is a work product of the World Wide Author: The WOFF specification is a work product of the World Wide
Web Consortium's WebFonts working group. Web Consortium's WebFonts working group.
Change controller: The W3C has change control over this Change controller: The W3C has change control over this
specification. specification.
skipping to change at page 15, line 48 skipping to change at page 16, line 4
Applications that use this media type: WOFF 2.0 is used by web Applications that use this media type: WOFF 2.0 is used by web
browsers, often in conjunction with HTML and CSS. browsers, often in conjunction with HTML and CSS.
Additional information: Additional information:
Magic number(s): The signature field in the WOFF header MUST Magic number(s): The signature field in the WOFF header MUST
contain the "magic number" 0x774F4632 ('wOF2') contain the "magic number" 0x774F4632 ('wOF2')
File extension(s): woff2 File extension(s): woff2
Macintosh file type code(s): (no code specified) Macintosh file type code(s): (no code specified)
Macintosh Universal Type Identifier code: "org.w3.woff2" Macintosh Universal Type Identifier code: "org.w3.woff2"
@font-face Format: woff2 @font-face Format: woff2
Fragment Identifiers: See Section 4.2. Fragment Identifiers: See Section 4.2.
Person & email address to contact for further information: Chris Person & email address to contact for further information:
Lilley (www-font@w3.org). Chris Lilley (www-font@w3.org).
Intended usage: COMMON Intended usage: COMMON
Restrictions on usage: None Restrictions on usage: None
Author: The WOFF2 specification is a work product of the World Wide Author: The WOFF2 specification is a work product of the World Wide
Web Consortium's WebFonts working group. Web Consortium's WebFonts working group.
Change controller: The W3C has change control over this Change controller: The W3C has change control over this
specification. specification.
skipping to change at page 17, line 7 skipping to change at page 17, line 14
[ISO.14496-22.2015] [ISO.14496-22.2015]
International Organization for Standardization, "Coding of International Organization for Standardization, "Coding of
audio-visual objects Part 22: Open Font Format", audio-visual objects Part 22: Open Font Format",
ISO Standard 14496-22, 10 2015, ISO Standard 14496-22, 10 2015,
<http://standards.iso.org/ittf/PubliclyAvailableStandards/ <http://standards.iso.org/ittf/PubliclyAvailableStandards/
c066391_ISO_IEC_14496-22_2015.zip>. c066391_ISO_IEC_14496-22_2015.zip>.
[W3C.REC-WOFF-20121213] [W3C.REC-WOFF-20121213]
Kew, J., Leming, T., and E. Blokland, "WOFF File Format Kew, J., Leming, T., and E. Blokland, "WOFF File Format
1.0", World Wide Web Consortium Recommendation REC-WOFF- 1.0", World Wide Web Consortium Recommendation
20121213, December 2012, REC-WOFF-20121213, December 2012,
<http://www.w3.org/TR/2012/REC-WOFF-20121213>. <http://www.w3.org/TR/2012/REC-WOFF-20121213>.
[W3C.CR-WOFF2-20150414] [W3C.CR-WOFF2-20150414]
Levantovsky, V. and R. Levien, "WOFF File Format 2.0", Levantovsky, V. and R. Levien, "WOFF File Format 2.0",
World Wide Web Consortium WD CR-WOFF2-20150414, March World Wide Web Consortium WD CR-WOFF2-20150414, March
2016, <https://www.w3.org/TR/2016/CR-WOFF2-20160315/>. 2016, <https://www.w3.org/TR/2016/CR-WOFF2-20160315/>.
5.2. Informative References 5.2. Informative References
[cff-wiki] [cff-wiki] Wikipedia, "Compact Font Format", November 2016,
Wikipedia, "Compact Font Format", November 2016,
<https://en.wikipedia.org/w/ <https://en.wikipedia.org/w/
index.php?title=PostScript_fonts&oldid=747740863>. index.php?title=PostScript_fonts&oldid=747740863>.
[opentype-wiki] [opentype-wiki]
Wikipedia, "OpenType", February 2017, Wikipedia, "OpenType", February 2017,
<https://en.wikipedia.org/w/ <https://en.wikipedia.org/w/
index.php?title=OpenType&oldid=763528773>. index.php?title=OpenType&oldid=763528773>.
[truetype-wiki] [truetype-wiki]
Wikipedia, "TrueType", January 2017, Wikipedia, "TrueType", January 2017,
<https://en.wikipedia.org/w/ <https://en.wikipedia.org/w/
index.php?title=TrueType&oldid=759367886>. index.php?title=TrueType&oldid=759367886>.
[svg-wiki] [svg-wiki] Wikipedia, "Scalable Vector Graphics", February 2017,
Wikipedia, "Scalable Vector Graphics", February 2017,
<https://en.wikipedia.org/w/ <https://en.wikipedia.org/w/
index.php?title=Scalable_Vector_Graphics&oldid=763136508>. index.php?title=Scalable_Vector_Graphics&oldid=763136508>.
[HTTP-Archive-Trends] [HTTP-Archive-Trends]
Kuetell, D., "HTTP Archive trend analysis", March 2015, Kuetell, D., "HTTP Archive trend analysis", March 2015,
<http://httparchive.org/trends.php?s=All&minlabel=Nov+15+2 <http://httparchive.org/trends.php?s=All&minlabel=Nov+15+2
010&maxlabel=Feb+15+2015#perFonts>. 010&maxlabel=Feb+15+2015#perFonts>.
[Font-Media-Type-Analysis] [Font-Media-Type-Analysis]
Kuetell, D., "Web Font Media Type (mime type) Analysis Kuetell, D., "Web Font Media Type (mime type) Analysis
2015", 2015, <http://goo.gl/zbDhUN>. 2015", 2015, <http://goo.gl/zbDhUN>.
[WG-tlt] W3C, "ACTION-164: Bring widely used top-level type to w3c- [WG-tlt] W3C, "ACTION-164: Bring widely used top-level type to
ietf liaison", 2015, <https://www.w3.org/Fonts/WG/track/ w3c-ietf liaison", 2015,
actions/164>. <https://www.w3.org/Fonts/WG/track/actions/164>.
[Media-Type-Registration] [Media-Type-Registration]
IANA, "Application for a Media Type", IANA, "Application for a Media Type",
<http://www.iana.org/form/media-types>. <http://www.iana.org/form/media-types>.
Author's Address Author's Address
Chris Lilley Chris Lilley
W3C W3C
2004 Route des Lucioles 2004 Route des Lucioles
 End of changes. 25 change blocks. 
48 lines changed or deleted 50 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/