W3C home > Mailing lists > Public > public-css-testsuite@w3.org > February 2013

Re: Allow @font-face and TTF font embedding in tests? (Japanese fonts)

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Fri, 15 Feb 2013 04:55:48 -0500
Message-ID: <dbbfc873b7b4f77b88a763e4dc7b05f7.squirrel@ed-sh-cp3.entirelydigital.com>
To: "Chris Lilley" <chris@w3.org>
Cc: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>, "taka" <takaoshiyama@gmail.com>

Le Ven 15 février 2013 1:17, Chris Lilley a écrit :
> Hello Gérard,
> Wednesday, February 13, 2013, 8:35:29 PM, you wrote:
> (Chris wrote)
>>> I  would  prefer  to see woff rather than raw truetype or opentype
>>> fonts.
>> Unfortunately, I am not familiar with woff right now ... and how to
>> create a .woff format with/from a .ttf format...
> WOFF  is Web Open Font Format and is a W3C Recommendation.
> http://www.w3.org/TR/WOFF/
> It takes an SFNT font (ie TrueType or OpenType),
> makes a header, and
> compresses each table in the font.Metadata (such as links to licening)
> can also be included.
> Making  one is trivial. Download this command line tool (from jonathan
> Kew, one of the editors of the WOFF spec; source included)
> http://people.mozilla.com/~jkew/woff/


I have downloaded
woff-code-latest.zip from J. Kew WOFF website
and have unzip it and ... <sigh> I'm locked at this point.

> compile,

How to compile? I use Linux KDE 4.10 (32bits) and I am still a modest
user (not a power user) under Linux. I can see the 3 C files and the 2
header files from the .zip file....
Do you know the command line instructions to compile 3 C files and 2
headers files into 1 executable in a Linux Terminal?

"Precompiled versions (of sfnt2woff) for Mac OS X and for Windows are

... but none for Linux Ubuntu i686 32bits family ..

> and then
> sfnt2woff foo.ttf

That's when the executable has been created.

> makes foo.woff

Contributions to the CSS 2.1 test suite:

CSS 2.1 Test suite RC6, March 23rd 2011:

CSS 2.1 test suite harness:

Contributing to to CSS 2.1 test suite:
Received on Friday, 15 February 2013 09:56:19 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:13:25 UTC