W3C home > Mailing lists > Public > www-xsl-fo@w3.org > June 2011

Re: fonts

From: Liam R E Quin <liam@w3.org>
Date: Sun, 12 Jun 2011 11:38:11 -0400
To: Dave Pawson <dave.pawson@gmail.com>
Cc: www-xsl-fo@w3.org
Message-ID: <1307893091.2776.37.camel@desktop.barefootcomputing.com>
On Sun, 2011-06-12 at 12:24 +0100, Dave Pawson wrote:
> http://new.myfonts.com/fonts/dstype/esta/ligatures/ shows
> a variant of a font, this file containing ligatures.
> 
> How might this be used in xsl-fo?

In this particular case the ligatures are mapped to regular characters -
for example, "a" is an fj ligature, b is ffj, c is fr, and so on. So you
work out the text you want.

>   Not a new 'family', just a variant?
In this case you'll end up with an fo:inline around each ligature
probably, setting the font explicitly. You'd probably have to tell the
fo renderer that it was a different font family.

The newer "approved" way for this to wor is via a single OpenType font
with an opentype feature such as "CrazyLigatures" enabled, but FO 1 has
no way to turn on such a feature except via implementation extensions.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Received on Sunday, 12 June 2011 15:38:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 12 June 2011 15:38:12 GMT