OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]