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]

[docbook-apps] monospace font size increased in XSL 1.61


I thought I would point out something that I ran into
that others might be scratching their heads about.

In version 1.60 of the FO stylesheet, the
monospace.properties attribute-set in fo/param.xsl
had a font-size adjustment:

<xsl:attribute name="font-size">0.9em</xsl:attribute>

In version 1.61, this was removed.  When I started using
1.61.2, I suddenly found that my program listings that
formerly fit inside the margins were spilling over into
the margin.

The CVS log shows that Norm removed it because:
 
  "Remove font-size; it just looks ugly in the general case"

That may be the case, but it may be a problem for existing
documents that had a nice fit in the program listings.

If you need to, you can restore the former size by adding
this to your FO customization layer:

<xsl:attribute-set name="monospace.properties">
  <xsl:attribute name="font-size">0.9em</xsl:attribute>
</xsl:attribute-set>

-- 

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, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


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