diff options
author | wl <wl> | 2004-10-07 11:50:16 +0000 |
---|---|---|
committer | wl <wl> | 2004-10-07 11:50:16 +0000 |
commit | 2e43e0b990ad83032741393c8c4e0b1168eaf213 (patch) | |
tree | 68c9989b1d7cb6238354bed6dd398fe0a71c01ba /src/devices/grops | |
parent | 0e26260691b62c34c4cf40edfa01f9f0fe9944b9 (diff) | |
download | groff-2e43e0b990ad83032741393c8c4e0b1168eaf213.tar.gz |
* src/include/printer.h (printer): New virtual method `round_width'.
* src/devices/grodvi/dvi.cpp, src/devices/grolbp/lbp.cpp,
src/devices/grolj4/lj4.cpp, src/devices/grops/ps.cpp,
src/devices/grotty/tty.cpp (printer::round_width): New function
member.
* src/devices/grohtml/post-html.cpp (printer::round_width): New
function member.
(html_printer::set_numbered_char): Use it.
Diffstat (limited to 'src/devices/grops')
-rw-r--r-- | src/devices/grops/ps.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/devices/grops/ps.cpp b/src/devices/grops/ps.cpp index 41aece50..c98215f1 100644 --- a/src/devices/grops/ps.cpp +++ b/src/devices/grops/ps.cpp @@ -1778,6 +1778,11 @@ void ps_printer::do_endinvis(char *, const environment *) --invis_count; } +int printer::round_width(int x) +{ + return x; +} + printer *make_printer() { return new ps_printer(user_paper_length); |