Date: Sat, 28 Jan 2012 08:56:56 +0000 (UTC) From: Hiroki Sato <hrs@FreeBSD.org> To: doc-committers@FreeBSD.org, cvs-doc@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: doc/share/sgml freebsd-print.dsl Message-ID: <201201280856.q0S8uuMF041875@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201280856.q0S8uuMF041875>
