RE: [docbook-apps] LE madness

From
Jeff Beal <>
Date
2003-04-08T17:46:24+00:00
ID
Thread
RE: [docbook-apps] LE madness
Adding font-selection-strategy="character-by-character" would be a good
addition to the default root properties.

> -----Original Message-----
> From: Bob Stayton [mailto:]
> Sent: Tuesday, April 08, 2003 12:23 PM
> To: Jeff Beal
> Cc: 
> Subject: Re: [docbook-apps] LE madness
> 
> 
> > 3.1, if I remember correctly.)  If you do this, you'll 
> probably also want to
> > set the font-selection-strategy to "character-by-character" 
> on your fo:root
> > element.  Otherwise, XEP will switch to the Symbol font for 
> that character
> > and all following characters (until it comes to a character 
> not in the
> > Symbol font.)
> 
> If this is how it should work, then the DocBook stylesheets
> should output these properties, no?  Then it will work
> with XEP, and FOP will have something to work toward.
>  
> > AFAIK, FOP does not support multiple font families in this 
> manner.  I think
> > it just uses the first font it can find for all characters 
> in the document.
> 
> FOP should handle an explicit inline font change, though.
> As a workaround, a stylesheet customization could output
> 
> <fo:inline font-family="Symbol">&#x2264;</fo:inline>
> 
> Maybe customize the <symbol> fo template to
> handle <symbol role="symbolfont">&le;</symbol> in your
> document to switch fonts (use role because
> not all <symbol>s should get the font switch).
> It's a pretty ugly solution, but one could at
> least get the characters they need.
> 
> 
> Bob Stayton                                 400 Encinal Street
> Publications Architect                      Santa Cruz, CA  95060
> Technical Publications                      voice: (831) 427-7796
> The SCO Group                               fax:   (831) 429-1887
>                                             email: 
> 
>