From e2b4b9428ae54b64192c7a48dd10098eb2f17f3d Mon Sep 17 00:00:00 2001 From: wlemb Date: Fri, 14 Feb 2003 11:30:08 +0000 Subject: New commands \D'Fr ...', \D'Fc ...', etc. for orthogonality. Make \D'f ...' move horizontally again for backwards compatibility. Replace it with \D'Fg ...' where appropriate to avoid dependency on horizontal resolution. * src/roff/troff/input.cc (do_get_long_name): New function. (get_long_name): Call it. (read_draw_node): Handle `\D'Fx ...' by calling ... (read_color_draw_node): New function. (read_rgb, read_cmy, read_cmyk, read_gray): New optional argument `end'. Pass it to `do_get_long_name' which is used instead of `get_long_name'. * src/libs/libdriver/input.cc (color_from_Df_command): Remove unnecessary value guard. (parse_D_command) <'f'>: Add horizontal shift. * src/preproc/grn/hgraph.cc (HGPrintElt) : Use \D'Fg ...'. * src/preproc/pic/troff.cc (troff_output::set_fill): Ditto. (FILL_MAX): Removed. * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo: Updated. * src/roff/troff/input.cc (do_name_test, do_expr_test, do_zero_width): Push `\n' if closing delimiter is missing. (token::next) , <'\n'>, <'\ '>: Reset `have_input'. <'F'>: Make \F non-transparent at the beginning of line. (process_input_stack) : Don't handle `have_input'. (define_color): Free color in case of reassignment. * doc/groff.texinfo (@Defesc, @DefescList, @DefescItem, @DefescListEnd): Use @Var, not @var. Fix all calls. * src/preproc/grn/hgraph.cc (HGPrintElt): Fix typo. * src/preproc/pic/object.cc (object_spec::~object_spec): Free `shaded' and `outlined' arrays. (object_spec::object_spec): Initialize `shaded' and `outlined'. (graphic_object::set_fill_color, graphic_object::set_outline_color): Use strsave. (closed_object::set_fill_color): Ditto. * src/preproc/pic/troff.cc (troff_output::set_color): Use strsave instead of strdup. (troff_output::reset_color): Use a_delete instead of free. * src/preproc/pic/main.cc (do_file): Free `out' in case of error. --- NEWS | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index dcfd6d9c..ce825bd8 100644 --- a/NEWS +++ b/NEWS @@ -44,9 +44,6 @@ o Composite glyphs are now supported. To do this, a subset of the Adobe Please refer to the info pages of groff and to the groff_char man page for more details. -o The font cmtex10 has been added as the special font `SC' to the DVI fonts. - It is used as a font-specific special font for CW and CWI. - o A new request `fschar' has been added to define font-specific fallback characters. They are searched after the list of fonts declared with the `fspecial' request but before the list of fonts declared with `special'. @@ -58,6 +55,27 @@ o A new request `schar' has been added to define global fallback characters. They are searched after the list of fonts declared with the `special' request but before the already mounted special fonts. +o In groff versions 1.18 and 1.18.1, \D'f ...' didn't move the current + point horizontally. Despite of being silly, this change has been + reverted for backwards compatibility. Consequently, the intermediate + output command `Df' also moves the position horizontally again. + + \D'f ...' is deprecated since it depends on the horizontal resolution of + the output device (given with the `hor' parameter in the DESC file). + Use the new \D'Fg ...' instead. + +o For orthogonality, new \D subcommands to change the fill color are + available: + + \D'Fr ...' (rgb) + \D'Fc ...' (cmy) + \D'Fg ...' (gray) + \D'Fk ...' (cmyk) + \D'Fd' (default color) + + The arguments are the same as with the `defcolor' request. The current + position is *not* changed. + o The `.pe' number register isn't new but hasn't been documented before. It is set to 1 during a page ejection caused by the `bp' request. @@ -69,6 +87,12 @@ Grops o The font `freeeuro.pfa' has been added to provide various default glyph shapes for `eu' and `Eu'. +Grodvi +----- + +o The font cmtex10 has been added as the special font `SC' to the DVI fonts. + It is used as a font-specific special font for CW and CWI. + Grotty ------ -- cgit v1.2.1