W3C home > Mailing lists > Public > public-tt@w3.org > January 2003

Re: TT and subtitling

From: Robin Berjon <robin.berjon@expway.fr>
Date: Fri, 31 Jan 2003 18:34:14 +0100
Message-ID: <3E3AB396.9030106@expway.fr>
To: "Glenn A. Adams" <glenn@xfsi.com>
CC: public-tt@w3.org

Glenn A. Adams wrote:
> From: Robin Berjon [mailto:robin.berjon@expway.fr] 
>> Couldn't we use SVG fonts here? It would seem to be a perfect 
>> fit for the task. 
>> SVG Basic and Tiny define a subset of the font 
>> capabilities[1] that have been 
>> shown to be suitable to constrained devices.
> Yes, this is certainly a possibility. However, I wonder if these
> capabilities have indeed been implemented in any small footprint
> devices yet. I have heard from some sources that "SVG Tiny is not
> nearly tiny enough", and the reason the tend to give is the inclusion
> of the basic font module.

Yes, they have been implemented by several vendors. The rant that Tiny isn't 
tiny enough tends to be disproved in practice. At any rate if Tiny's font 
mechanism is too tough for the range of devices you are addressing, I'm certain 
it will be possible for you to sort something out with the SVG WG.

> One potential issue with the SVG font format is its apparent
> lack of support for bitmap as opposed to outline glyph representations.
> I would like to have seen a mechanism in SVG fonts that would support
> the use of a "data:..." URI in which one may embed a bitmap directly.
> Perhaps there is such support and I simply haven't discovered it.

SVG Full glyphs "can be either a single path data specification within the d 
attribute or arbitrary SVG as content within the 'glyph'"[1]. This includes the 
image element, which in turn "must support base64 encoded content using the 
"data:" protocol"[2].

However in SVG Basic and Tiny, that is not possible as "only the 'd' attribute 
on the 'glyph' and 'missing-glyph' elements is available. Arbitrary SVG within a 
'glyph' is not supported."[3] So it would seem that if you include raster images 
in your requirements, Tiny is too tiny ;) A middle-ground can certainly be found.


Robin Berjon <robin.berjon@expway.fr>
Research Engineer, Expway        http://expway.fr/
7FC0 6F5F D864 EFB8 08CE  8E74 58E6 D5DB 4889 2488
Received on Friday, 31 January 2003 12:34:49 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 5 October 2017 18:23:58 UTC