ISSUE-33: ts:fontFamily and quotedString

tts:fontFamily quotedString

ts:fontFamily and quotedString

State:
CLOSED
Product:
TTML 1.0
Raised by:
Philippe Le Hégaret
Opened on:
2008-12-08
Description:
Section 8.2.9 says:
[[
8.2.9 tts:fontFamily

Values: (<familyName> | <genericFamilyName>) ("," (<familyName> |
<genericFamilyName>))* | inherit

]]

Section 8.3.5 says:
[[
8.3.5 <familyName>

A <familyName> expression specifies a font family name.

If the name contains a whitespace or quotation delimiter character, then
it must be expressed as a <quotedString>.

<familyName> : <string> | <quotedString>
]]

However, I noticed that some of the tests contain:

tts:fontFamily="MS Gothic"

Should the string "MS Gothic" be quoted since it contains a whitespace,
and be written as:
tts:fontFamily='"MS Gothic"'

It seems section 8.3.5 needs to be revised to match [1]. What's the
point of forcing quotes in case of whitespaces when the delimiter for
multiple font names is the comma?
Related Actions Items:
No related actions
Related emails:
  1. [minutes] Timed Text 20130725 (from plh@w3.org on 2013-07-25)
  2. Agenda for TT telecon 9th April (from Sean.Hayes@microsoft.com on 2009-04-09)

Related notes:

http://lists.w3.org/Archives/Public/public-tt/2008Oct/0019.html

Philippe Le Hégaret, 8 Dec 2008, 21:41:19

implemented in TTAF1-DFXP 20090415 update

Glenn Adams, 16 Apr 2009, 02:52:21

Changelog:

Created issue 'ts:fontFamily and quotedString' nickname tts:fontFamily quotedString owned by Philippe Le Hégaret on product DFXP 1.0 (Editorial), description 'Section 8.2.9 says:
[[
8.2.9 tts:fontFamily

Values: (<familyName> | <genericFamilyName>) ("," (<familyName> |
<genericFamilyName>))* | inherit

]]

Section 8.3.5 says:
[[
8.3.5 <familyName>

A <familyName> expression specifies a font family name.

If the name contains a whitespace or quotation delimiter character, then
it must be expressed as a <quotedString>.

<familyName> : <string> | <quotedString>
]]

However, I noticed that some of the tests contain:

tts:fontFamily="MS Gothic"

Should the string "MS Gothic" be quoted since it contains a whitespace,
and be written as:
tts:fontFamily='"MS Gothic"'

It seems section 8.3.5 needs to be revised to match [1]. What's the
point of forcing quotes in case of whitespaces when the delimiter for
multiple font names is the comma?
' non-public

Philippe Le Hégaret, 8 Dec 2008, 21:41:05

Product changed to DFXP 1.0

Glenn Adams, 16 Apr 2009, 02:52:21

Status changed to 'closed'

Glenn Adams, 16 Apr 2009, 02:52:21


David Singer <singer@apple.com>, Nigel Megitt <nigel.megitt@bbc.co.uk>, Chairs, Thierry Michel <tmichel@w3.org>, Philippe Le Hégaret <plh@w3.org>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: index.php,v 1.323 2013-12-19 14:47:09 dom Exp $