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] Some problems with rendering db -> PDF


Hi Mark,
I saw the response from the xep-support list about the
lack of "Symbol,ZapfDingbats" in the font-family property,
even though you are using the 1.62 stylesheets.

I think I see the problem now.  Are you specifying
a "Helvetica" in the titlepage specification file?
If you specify a font name directly rather than using
the $title.font.family parameter, then you won't get
the "backup" fonts in the font-family property in the
FO output.  I'll check to see what would be needed to
process the titlepage spec file to add that. But in the
meantime, you could change your font-family specification
in the titlepage spec file to "Helvetica,Symbol,ZapfDingbats"
and then greek characters should work.

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


On Wed, Sep 10, 2003 at 09:04:31AM -0700, Bob Stayton wrote:
> On Wed, Sep 10, 2003 at 02:34:28PM +0200, Marc Baaden wrote:
> > 
> > Hi Bob,
> > 
> > thanks for your suggestions.
> > I actually found the problem concerning hyphenation.
> > It was a nested inclusion of docbook stylesheets
> > mixing 1.62 and an older version.
> > 
> > My problem with greek characters remains. It only occurs
> > in the titles, in my case it is a book and concerned are
> > the chapter titles.
> > 
> > The behaviour of different fonts is different, some work,
> > some show plain nothing, others show an empty box.
> > 
> > Examples:
> > Palatino - ok
> > Helvetica - nothing
> > BookAntiqua - empty box
> > 
> > Helvetica is an afm font, the others are truetype fonts (eg
> > windows).
> > 
> > Any suggestion how I could work on getting this right ?
> 
> This is strange, because I get Greek characters I
> enter as &agr; and &zgr; in chapter titles when I use
> title.font.family=Helvetica in the 1.62.0 stylesheets.
> There are two properties in output of the 1.62.0
> stylesheets that should make this work in XEP.
> 
> Peek inside your FO output and see if you have this property
> on the fo:root element:
> 
>   font-selection-strategy="character-by-character"
> 
> And search for the page with the chapter title
> and see if the block that sets the font-family has:
> 
>   font-family="Helvetica,Symbol,ZapfDingbats"
> 
> If both of these are ok, then something is going wrong
> with XEP switching to the alternate font.  Maybe
> xep-support could help with that.
> 
> -- 
> 
> 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

-- 

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

To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org.


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