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

Subject: Re: [Boost-docs] [boost] PDF versions of Quickbook generated documentation - Do you like the serif font?
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2015-01-14 17:45:37


> -----Original Message-----
> From: Boost [mailto:boost-bounces_at_[hidden]] On Behalf Of Joel de Guzman
> Sent: 18 December 2014 01:42
> To: boost_at_[hidden]
> 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

This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:41 UTC