cvs commit: doc/share/sgml freebsd-print.dsl
Hiroki Sato
hrs at FreeBSD.org
Sat Jan 28 08:56:56 UTC 2012
hrs 2012-01-28 08:56:56 UTC
FreeBSD doc repository
Modified files:
share/sgml freebsd-print.dsl
Log:
Add tab expansion procedure into ($verbatim-display$). Although DSSSL
specification supports expand-tabs: characteristics in paragraph flow objects,
printable format backends in our DSSSL processors (Jade or OpenJade) do not
support it.
The committed code expands a literal tab character into literal spaces with
length of %default-tab-spacing%. In the position calculation, it assumes all
of characters have a fixed width and the number of characters in a node list
can be obtained by (string-length (data nl)). Note that this can be false
especially when different font sizes are used.
Tested by: wblock
Revision Changes Path
1.3 +88 -1 doc/share/sgml/freebsd-print.dsl
More information about the cvs-all
mailing list