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

Re: fonts

From: Dave Pawson <dave.pawson@gmail.com>
Date: Sun, 12 Jun 2011 16:43:14 +0100
Message-ID: <BANLkTimdzuHupRkQvjmsUykvJf-C6JRwhQ@mail.gmail.com>
To: www-xsl-fo@w3.org
On 12 June 2011 16:38, Liam R E Quin <liam@w3.org> wrote:
> 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.

Which seems wrong somehow Liam? It is the same font-family.
Just an odd variant. Perhaps font-forge and add them there, somehow.


>
> 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.

I must admit I can't think of a reasonable syntax to use these,
or any other 'same font' inclusions.

Seems to be half way between the renderer and the stylesheet author
territory.



Anyone any suggestions?

regards






-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
Received on Sunday, 12 June 2011 15:43:42 GMT

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