[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] LE madness
On Tue, Apr 08, 2003 at 11:33:46AM -0400, Jeff Beal wrote: > ≤ and ≤ refer to the same character. 8804 is in decimal > notation, 2264 is in hexadecimal. That aside, the problem is that the font > you are using does not include a ≤ character. Helvetica and Times > neither one do. Of the standard Adobe fonts, I believe only the Symbol font > has the appropriate character. > > With XEP, this is relatively easy to fix. If you specify multiple font > families in the fo:font-family attribute (as in font-family="Helvetica, > Symbol") XEP will look down the list when it encounters a character that > doesn't exist in the first font. (This is a feature they added in version > 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">≤</fo:inline> Maybe customize the <symbol> fo template to handle <symbol role="symbolfont">≤</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@sco.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]