This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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:bobs at sco dot com]
> Sent: Tuesday, April 08, 2003 12:23 PM
> To: Jeff Beal
> Cc: docbook-apps at lists dot oasis-open dot org
> 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: bobs at sco dot com
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org
For additional commands, e-mail: docbook-apps-help at lists dot oasis-open dot org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]