Re: [boost] PDF versions of Quickbook generated documentation - Do you like the serif font?

"Paul A. Bristow" <[email protected]> Wed, 14 Jan 2015 17:45:37 -0000
Newsgroups gmane.comp.lib.boost.documentation,gmane.comp.lib.boost.devel
Message-ID <[email protected]>
> -----Original Message-----
> From: Boost [mailto:[email protected]] On Behalf Of Joel de Guzman
> Sent: 18 December 2014 01:42
> To: [email protected]
> Subject: Re: [boost] PDF versions of Quickbook generated documentation - Do
you
> like the serif font?
> 
> On 12/17/14 10:40 PM, Paul A. Bristow wrote:
> > I've noted that for documentation using the Quickbook toolchain, we
> > use a serif font (Times Roman?) for the PDF, but a sans serif for the
> > equivalent HTML version.
> >
> > Is there a reason for this?
> >
> > Should they not be the same font?  (So that they look the same?)
> >
> > Which do we prefer?
> >
> > Should we change either or both?
> 
> same font! sans serif of course! ;-)

I agree :-)

So how about adding a specific font to the jamfile(s)

  <format>pdf:<xsl:param>title.font.family="Arial"
  <format>pdf:<xsl:param>body.font.family="Arial"
  <format>pdf:<xsl:param>monospace.font.family="Arial"

Or will this cause trouble with readers lacking Arial font?

How about other fonts?  Verdana?

Or is this better?

  <format>pdf:<xsl:param>title.font.family="sans-serif"
  <format>pdf:<xsl:param>body.font.family="sans-serif"
  <format>pdf:<xsl:param>monospace.font.family="sans-serif"

Paul

---
Paul A. Bristow
Prizet Farmhouse
Kendal UK LA8 8AB
+44 (0) 1539 561830