Robert P. J. Day wrote:

> On Sat, 6 Sep 2003, Victor Mote wrote:
>
> > Robert P. J. Day wrote:
> >
> > >   the docbook FO stylesheets have a parameter
> > >
> > >   <xsl:param name="monospace.font.family" select="'monospace'"/>
> > >
> > > that i'd obviously like to change to reflect the vera fonts for now.
> > > but this seems to require being able to refer to that
> collection of font
> > > metrics files by a single name.  is this what is referred to as a
> > > "TrueType Collections Font Metrics" that i see on the FOP fonts page?
> >
> > No. I am not familiar with the DocBook stylesheets, but it
> looks like they
> > are just defining a base font to which variations can be
> applied within the
> > stylesheet.
>
> hmmm ... i asked someone who's quite the authority explicitly about this,
> and he seemed adamant that, if i wanted four variations of a font (in
> my case, VeraMono), i had to add four individual font entries to the
> configuration file.  that is, one for regular, one for bold, etc.

Well, your authority is correct, but that is not even close to what you
asked. You appear to have three topics confused: 1) The way the DocBook
stylesheet creates font information in the XSL-FO it generates, 2) the
process for creating font metrics files for FOP, and 3) the registration of
the fonts and metrics with FOP. I have already given you a couple of ideas
about how to follow the first topic. The other two are (I think) well
covered on the FOP web site.

> i'll check back with him and press him a little more closely on this,
> since it would be ideal if a single base font could be used here.
> but i was sure he told me that's not the way it worked, at least for
> docbook.  if i track this down, i'll let you know.

Some software can use a base font to mimic bold and italic. FOP has no such
mechanism, and the results are never high-quality when that approach is used
anyway.

Victor Mote


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to