| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* draw.c (AdjustCharDeltas): Apply correction only if nadj > 1.
(DoCharacter): Call FlushCharCache if font size and font number
differ.
Reset `dw->dvi.cache.adjustable' properly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* font/devX*/*: Regenerated.
* font/{devcp1047,devlatin1,devutf8,devhtml}/R.proto: Add `tno'.
* font/devdvi/generate/{tc.map: Replace `no' with `tno'.
* font/devdvi/generated/{texsy,textex}.map: Add `tno'.
* font/devdvi/*: Regenerated.
* font/devlbp/*: Add `tno'.
* font/devlj4/generate/tex.map: Replace `no' with `tno'.
* font/devlj4/*: Regenerated.
* font/devps/generate/textmap: Replace `no' with `tno'.
* font/devps/generate/symbolchars: Add `no'.
* font/devps/*: Regenerated.
* src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `tno'.
* tmac/cp1047.tmac, tmac/latin1.tmac: Replace `no' with `tno'.
* tmac/tty-char.tmac: Add entry for `tno' and `3d'.
* NEWS: Updated.
* tmac/dvi.tmac: Replace most `\\' with `\E'.
Add definition for `sd'.
* tmac/X.tmac, tmac/ps.tmac: Replace most `\\' with `\E'.
* tmac/eqnrc <dvi>: Use `integral' instead of `is' glyph.
|
| |
|
|
|
|
|
|
|
|
| |
mode to avoid rounding errors.
(an-do-tag, an-do-tag-html, RS, RE): Remove redundant `.br'.
* src/roff/groff/groff.man, src/roff/nroff/nroff.man,
src/roff/troff/troff.man: Improve documentation of -T.
|
|
|
|
| |
(run_pipeline) [_WIN32]: Provide working function without `fork'.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
glyphs compatible to Adobe's Euro fonts (scaling them down a bit).
Scaling Euro.sansserif glyphs down to have the same height as
digits.
Removed unnecessary points; added some extrema.
* font/devps/EURO, font/devps/freeeuro.afm, font/devps/freeeuro.pfa:
Regenerated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and `Euro.symbol.bold.slanted'.
Improve some glyph offsets and widths.
* font/devps/EURO, font/devps/freeeuro.afm, font/devps/freeeuro.pfa:
Regenerated.
* font/devps/generate/Makefile (freeeuro.afm freeeuro.pfa): Fix
typo.
* font/devps/generate/sfdtopfa.pe: Generate PFA in current
direcory.
* tmac/europs.tmac: Updated to new glyph indices.
Use Euro.symbol for font familiy `A'.
* doc/groff.texinfo: Minor improvements.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* font/devdvi/*TC: Regenerated.
* src/roff/troff/div.cc (init_div_requests): Sorted.
* tmac/dvi.tmac: Remove `Ye'.
* tmac/ec.tmac: Remove `Ye'.
Add .rchar entry for `de'.
* man/groff.man, man/groff_diff.man: Document register `.pe'.
* doc/groff.texinfo: Document registers `.pe', `.n', and `.w'.
* NEWS: Updated.
|
|
|
|
|
| |
`InstallAppDefaults' to make it work if build directory isn't
$srcdir.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* font/devps/generate/freeeuro.sfd: New master font file for
pfaedit.
* font/devps/generate/sfdtopfa.pe: New conversion script for
pfaedit.
* font/devps/generate/Makefile (FONTS): Add `EURO'.
(EURO, freeeuro.afm, freeeuro.pfa): New rules.
* font/devps/freeeuro.pfa, font/devps/freeeuro.afm: Generated from
`freeeuro.sfd'.
* font/devps/EURO: Generated from `freeeuro.afm'.
* font/devps/download: Add `freeuro.pfa'.
* font/devps/Makefile.sub (NORMALFILES): Adde `EURO' and
`freeeuro.pfa'.
* tmac/europs.tmac: New file.
* tmac/ps.tmac: Include `europs.tmac'.
* tmac/Makefile.sub (DISTFILES): Add `europs.tmac'.
* font/devdvi/generate/texsy.map: Remove `lh' and `rh'.
* font/devdvi/S: Regenerated.
* font/devhtml/R.proto: Fix `CR' and `ci'.
Add `OK'.
* font/devps/generate/textmap: Fix `lh', `rh', and `sq'.
Remove `bs'.
* font/devps/symbolmap: Regenerated.
* font/devutf8/R.proto: Fix `CR' and `ci'.
Add `OK'.
* font/devutf8/NOTES: Updated.
* src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Fix `CR' and
`ci'.
Add `OK'.
* src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Ditto.
* tmac/dvi.tmac: Add `lh' and `rh'.
* tmac/Xps.tmac: Fix `lh' and `rh'.
* tmac/X.tmac: Add `OK'.
* tmac/lj4.tmac: Ditto.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* font/devascii/R.proto, font/devcp1047/R.proto: Remove glyphs `lb',
`lc', `lf', `lk', `lt', `rb', `rc', `rf', `rk', and `rt'.
* font/devdvi/generate/texsy.map: Remove `or' glyph.
* font/devdvi/S: Regenerated.
* font/devhtml/R.proto, font/devutf8/R.proto: Add/fix glyphs
`parenlefttp', `parenleftex', `parenleftbt', `parenrighttp',
`parenrightex', `parenrightbt', `bracketlefttp', `bracketleftex',
`bracketleftbt', `bracketrighttp', `bracketrightex',
`bracketrightbt', `bracelefttp', `braceleftmid', `braceleftbt',
`braceex', `braceleftex', `bracerightex', `bracerighttp',
`bracerightmid', `bracerightbt', `lt', `lk', `lb', `rt', `rk',
`rb', and `bv'.
* src/roff/troff/glyphuni.cc, src/roff/troff/uniglyph.cc: Ditto.
* font/devutf8/NOTES: Updated.
* font/devlj4/generate/special.map: Add glyph `braceex'.
* font/devlj4/S: Regenerated.
* tmac/tty-char.tmac: Add glyphs `lf', `rf', `lc', and `rc'.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and `vA'.
Fix code for `an'.
* src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Ditto.
* doc/texinfo.tex: New version from texinfo 4.3.
* doc/groff.texinfo: Updated for texinfo 4.3.
Use @tie{} where appropriate.
* font/devdvi/generate/ec.map: Don't include `or' and `bv'.
* font/devdvi/generate/tc.map: Remove `rn'.
* font/devdvi/*TC, font/devdvi/*EC: Regenerated.
* font/devhtml/R.proto, font/devutf8/R.proto: Add `vA'.
Fix code for `an'.
* font/devX100/*, font/devX100-12/*, font/devX75/*,
font/devX75-12/*: Regenerated.
* tmac/dvi.tmac: Add special fonts `SA' and `SB'.
Use .char (again) for `br', `ul', `rn', `or', and `ru'.
Improve definition of `an'.
* tmac/ps.tmac: Use .char (again) for `br', `ul', `rn', `or', and
`ru'.
* tmac/lj4.tmac: Use .char (again) for `br', `ul', `rn', and `ru'.
* tmac/X.tmac: Add definition for `or'.
* tmac/Xps.tmac: Undo change 2002-11-05.
* tmac/lbp.tmac: Add definitions for `br', `rn', `ul', and `ru'.
|
| |
|
|
|
|
| |
call flush_tbuf.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
defines a glyph which is searched after the check for fonts declared
with `.special' (and before the check for all mounted special
fonts). `fschar' defines a glyph for a particular font which is
searched after the check for fonts declared with `.fspecial' (and
before the check for fonts declared with `.special'). `rfschar'
removes glyphs defined with `fschar'.
* src/roff/troff/token.h (char_mode): New enum.
Declare do_define_character.
* src/roff/troff/charinfo.h (charinfo): Replace `fallback' with
`mode'.
(charinfo::is_fallback): Updated.
(charinfo::is_special): New method.
* src/roff/troff/input.cc (do_define_character): Add and use
optional second parameter used as a prefix for font-specific glyph
names.
(define_character, define_fallback_character): Updated.
(define_special_character): New function.
(init_input_requests): Add `schar'.
(charinfo::charinfo, charinfo::set_macro): Updated.
* src/roff/troff/node.cc: Include `stringclass.h'.
(make_glyph_node): Handle special glyphs defined with `.schar' and
`.fschar'.
(define_font_special_character, remove_font_special_character): New
functions.
(init_node_requests): Sorted.
Add `fschar' and `rfschar'.
* NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
Document new requests.
* font/devhtml/R.proto, font/devutf8/R.proto: Add `va'.
* tmac/dvi.tmac: Add `va' for CW and CWI (using `.fschar').
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* devdvi/generate/Makefile (FONTS): Add `SC'.
(SC): New rule.
* devdvi/generate/textex.map: New map file for cmtex.
* devdvi/SC: New.
* devdvi/Makefile.sub (DEVFILES): Updated.
* tmac/dvi.tmac: Add fspecial entries for SC.
Add `MI', `S' and `CW' to the `special' call. Otherwise, `SC' is
found before `S' since the font position of `SC' is lower due to the
gaps in DESC's `font' line.
* tmac/ec.tmac: Add a `special' call.
* NEWS: Updated.
* font/devhtml/R.proto: Remove double entry for `ti'.
* tmac/tty.tmac: Add entries for `IJ', `ij', and `bq'.
* tmac/tty-char.tmac: Remove entry for `bq'.
* tmac/lbp.tmac: Add entries for `lq', `rq', `fo', `fc', and `em'.
* tmac/ec.tmac: Don't remove `aq' glyph.
* tmac/X.tmac: Fix entry for `em'.
Add entries for `fo' and `fc'.
* tmac/dvi.tmac: Add entries for `em', `en', `hy', `fo', and `fc'.
* doc/groff.texinfo, man/groff.man, man/groff_diff.man: Fix
documentation of `special' and `fspecial' requests.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
font/devlatin1/R.proto: Remove entry for `.i'.
* font/devdvi/generate/textt.map: Add entry for `ad'.
* font/devdvi/generate/texr.map, font/devdvi/generate/texb.map,
font/devdvi/generate/texi.map: Add dummy glyph name `slash@for@l'.
We need this for getting kerning values to compose `/l' and `/L'.
* font/devdvi: Regenerated font definition files for CM fonts.
* font/devhtml/R.proto: Add entries for "'C", "'c", `IJ', and `ij'.
* font/devutf8/R.proto: Ditto.
Remove double entry for `ti'.
* src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Fix entries
for (groff) ligatures, `la', and `ra'.
Add "'C", "'c", `IJ', and `ij'.
Remove double entry for `ti'.
* src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Remove all
double entries.
Add "'C", "'c", `IJ', and `ij'.
Fix entries for (groff) ligatures, `la', and `ra'.
* tmac/ps.tmac (ps-achar): New macro.
Define "'c" and "'C".
* tmac/tty.tmac: Add entry for `.i'.
* tmac/X.tmac (X-achar): New macro.
Define "'c", "'C", and `:Y'.
Add entries for `IJ' and `ij'.
* tmac/Xps.tmac (Xps-achar): New macro.
Define "'c" and "'C".
Add entries for `IJ' and `ij'.
* tmac/lbp.tmac (lbp-achar): New macro.
Add fallback characters for all groff ligatures and many other
glyphs.
* tmac/dvi.tmac: Fix definitions of `_' and `ul'.
Add entries for `/l' and `/L'.
Define "'c" and "'C".
Add entries for `IJ' and `ij'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`composite' request.
* src/roff/troff/glyphuni.cc: New file for mapping groff glyph names
to Unicode-based glyph names.
* src/roff/troff/uniglyph.cc: New file for mapping Unicode-based
glyph names to groff glyph names.
* src/roff/troff/uniuni.cc: New file for canonically decomposing
Unicode-based glyph names.
* src/roff/troff/input.cc: Include unicode.h.
* src/roff/troff/unicode.cc, src/roff/troff/unicode.h: New files
for handling Unicode glyph names.
(composite_glyph_name): New function.
(token::next) <'['>: Handle Unicode glyph names and composite
glyphs.
(composite_dictionary): New dictionary for the `composite' request.
(composite_request): Implement `composite' request.
(init_input_requests): Add `composite'.
Alphabetically sorted.
* src/roff/troff/env.cc (tabs_save, tabs_restore): Removed (already
commented out).
(init_env_requests): Alphabetically sorted.
Removed `tas' and `tar' (already commented out).
* src/roff/troff/Makefile.sub: Updated.
|
|
|
|
| |
of options.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the value of the .ne register) is now always set before entering the
trap.
* src/roff/troff/div.cc (diversion::need): Set `truncated_space' and
`needed_space' before calling `space'.
(top_level_diversion::space): Remove special code for 'sp before the
first page.
Call `begin_page' with the discarded space as a parameter.
(top_level_diversion::begin_page): Add optional parameter to set
`truncated_space'.
* src/roff/troff/div.h: Updated.
* doc/groff.texinfo: Improve documentation of .sp, \n[.trunc], and
\n[.ne].
* tmac/an-old.tmac (SH, SS, TP, IP, HP, TS): Undo change 2002-10-26.
(LP): Remove superfluous call to `br'.
* tmac/doc-common (doc-paragraph): Undo change 2002-10-26.
* tmac/doc.tmac (Bd, Bl, doc-set-vertical-and-indent): Ditto.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(doc-setup-header): Don't set page register `%'.
* tmac/doc-nroff: Remove variable `C'.
(doc-setup-page-layout): Set doc-header-space to .5i unconditionally.
(doc-setup-header): Don't set page register `%'.
Don't call `bp'.
* tmac/doc-common (doc-header): Call `ns'.
(doc-paragraph): Protect .sp with .br so that it survives the
implicit new-page trap.
* tmac/doc.tmac (Bp, Bl, doc-set-vertical-and-indent): Ditto.
* tmac/doc*:Replace ' with . for consistency in all mdoc-related
files if no effect.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
so that it survives the implicit new-page trap.
* src/roff/troff/node.cc: Fix the changes from 2002-10-23.
(troff_output_file::set_font): Call flush_tbuf if necessary.
(troff_output_file::fill_color, troff_output_file::glyph_color): Call
flush_tbuf and do_motion only if necessary.
(troff_output_file::start_special,
troff_output_file::put_char_width, troff_output_file::put_char,
troff_output_file::draw): Updated.
(word_space_node::tprint, space_node::tprint, hmotion_node::tprint,
vmotion_node::tprint): Undo change 2002-10-23.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
troff_output_file::glyph_color): Set current color before testing
color_flag.
(troff_output_file::put_char_width, troff_output_file::put_char,
troff_output_file::draw): Don't call flush_tbuf and/or do_motion
before glyph_color.
(troff_output_file::file_color, troff_output_file::glyph_color):
Call do_motion.
(word_space_node::tprint, space_node::tprint, hmotion_node::tprint,
vmotion_node::tprint): Move first, then call fill_color.
* doc/groff.texinfo, man/groff_tmac.man: Document that it is not
possible to use multiple main macro packages.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Generate temporary subdirectory for storing temporary files
with better names in future groffer versions (name:
"groffer$$" in usual temporary directory).
- Use `umask 000' for temporary files to allow cleaning up
for everyone after a system break.
- Change both clean_up() functions (for normal shell and
for main_display() subshell) to handle the new subdirectory.
- clean_up_secondary() and $_TMP_PREFIX are unnecessary now, so
they were removed.
* Makefile.sub: `sed' commands for "groffer:"
- Remove "@g@" entry (not used in "groffer.sh").
- Add global replace for "@BINDIR@" and "@VERSION@" for future
usage.
* TODO: think about...
- writing part of groffer in C/C++.
- handling several files with different macro packages.
|
|
|
|
|
|
|
|
| |
(ps_printer::set_color): Set `cmyk_flag' for CMY and CMYK colors.
(ps_printer::~ps_printer): Emit `%%Extensions: CMYK' if `cmyk_flag'
is set.
* font/devps/prologue.ps (Fk, Ck): Enclose definitions with a
`where' construction since `cmyksetcolor' is a PS Level 2 operator.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* groffer.sh:
Terminate main_parse_MANOPT() if $MANOPT is empty or consists
of space characters only.
* groffer.man: some fixes in "GROFFER OPTIONS"
- New macro ".Header_CB" for CB font in .TP headers; used for
definition of variables in option --mode.
- Fix some option references to refer to long options.
* README:
New file for general information on the groffer source; it is
not installed.
|
|
|
|
|
|
| |
troff_output_file::put_char, troff_output_file::fill_color,
troff_output_file::glyph_color): Handle case where color pointer
is null.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.sub:
add replacement "@BINDIR@" to "$(bindir)" for "groffer:"
* groffer.sh:
Define $_this as "@BINDIR@/${_PROGRAM_NAME}" to save the right
installation position of groffer for the special shell calling.
* groffer.man:
- Remove double definition of filespec parameters.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* groffer.sh: fixes
- Fix some 'sed' functions: two in func_stack_dump(), one in
base_name(), add 'sed' command in list_from_cmdline().
- Finish main_parse_MANOPT() if $MANOPT is empty.
- Sort $_OPTS_GROFF_SHORT_NA like groff short options (but
unchanged).
- Fix some comments.
* groffer.man: make it more readable (but no additions)
- A shortened section "SYNOPSIS" is followed by a simplified
section "DESCRIPTION".
- The options from "SYNOPSIS" go to new section "OPTION
OVERVIEW" with all groffer options in a single subsection.
- The details of all groffer options are described in section
"GROFFER OPTIONS".
- New macro for file names ".File_name".
- "Option Parsing" is moved to section "COMPATIBILITY".
- Fix some "EXAMPLES".
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
except it tells grotty(1) to use the "reverse video" attribute to
render italic fonts.
* src/devices/grotty/tty.cc (reverse_flag): New global variable.
(SGR_REVERSE, SGR_NO_REVERSE): New macros.
(tty_printer::make_underline, tty_printer::put_color,
tty_printer::end_page): Use it.
(main): Add -r switch.
(usage): Updated.
* src/devices/grotty/grotty.man: Document it.
|
|
|
|
|
| |
cast to `unsigned char' to properly read patterns with 8bit
characters.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
suppress additional whitespace after the header.
* tmac/doc-ditroff, tmac/doc-nroff (Am): New string to be in sync
with NetBSD.
* src/preproc/grn/grn.man, tmac/groff_mdoc.man, NEWS: Updated.
* tmac/doc-common(doc-volume-operating-system-ateol): New flag.
(Dt): Use it to improve language localization (especially Russian
and French).
* src/preproc/grn/gprint.h (BSPLINE, BEZIER): New macros.
* src/preproc/grn/hdb.cc (DBGetType): Parse spline and bezier
drawing commands.
* src/preproc/grn/hgraph.cc (drawwig): Add parameter to control
curve type.
Call `picurve' for BSPLINE.
(HGPrintElt): Handle BSPLINE.
* src/preproc/grn/README: Document it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- This improves the performance of the shell programming parts
and shortens the groffer script by about 5%.
- Remove functions: string_del_append(), string_del_leading(),
string_del_trailing(), string_flatten(), string_get_before(),
string_get_leading(), string_replace_all(), string_sed_s(),
and their auxiliary functions.
- Replace all calls of these functions by direct `sed' commands.
- Define variables for special characters to ease `sed' calls.
- Remove `$APPEND'.
- Restrict list_from_string() to single character separators.
- Correct list_check() and base_name().
- Add comments to all calls of `sed'.
* groffer.sh: add run-time support for several shells
- New option `--shell': stop execution and rerun groffer under
the shell specified in the argument of `--shell'.
- If no shell was specified at run-time, `ash' is tried first;
if `ash' is not available continue with the shell with which
groffer was called from the command line, or with the shell
name in the first line of the script, actually `/bin/sh'.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updated constructor.
(space_node::tprint, word_space_node::tprint): Call `fill_color'
unconditionally.
(space_node::space_node): Remove assertion.
(break_char_node::add_self): Pass color argument to space node.
* src/roff/troff/input.cc (token::add_to_node_list, token::process):
Ditto.
* src/roff/troff/env.cc (environment::do_break,
environment::add_padding): Ditto.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
represented as separate nodes but are now part of glyph nodes and
friends. This fixes the current formatting misbehaviour due to the
changes introduced on 2002-09-20. Some extra code is necessary for
proper grotty support: Without adding color variables to
space-related nodes, the background color would be changed too late.
* src/roff/troff/node.h, src/roff/troff/node.cc:
s/current_pagecolor/current_fill_color/.
s/current_glyphcolor/current_glyph_color/.
(glyph_color_node, fill_color_node): Removed.
(node::get_glyph_color, node::get_fill_color): New virtual member
functions.
(space_node::col): New variable.
Updated constructors of space_node and derived classes accordingly.
(hmotion_node::col): New variable.
Updated constructors of hmotion_node and space_char_hmotion_node
accordingly.
(vmotion_node::col): New variable.
Updated constructor accordingly.
(draw_node::gcol, draw_node::fcol): New variables.
Updated constructor accordingly.
(special_node::gcol, special_node::fcol): New variables.
Updated constructors accordingly.
(troff_output_file::put_char, troff_output_file::put_charwidth,
troff_output_file::draw): Set glyph and fill color.
(troff_output_file::start_special): Set glyph and fill color.
Always set current font.
(troff_output_file::fill_color, troff_output_file::glyph_color):
Don't call `do_motion'.
(glyph_node::gcol, glyph_node::fcol): New variables.
Updated constructors of glyph_node and ligature_node accordingly.
(glyph_node::get_glyph_color, glyph_node::get_fill_color): New
member functions.
(glyph_node::merge_glyph_node,
kern_pair_node::add_discretionary_hyphen,
node::add_discretionary_hyphen): Updated.
(break_char_node::merge_self): Updated.
(word_space_node::tprint, space_node::tprint, hmotion_node::tprint,
vmotion_node::tprint): Handle color.
(make_glyph_node, make_node, node::add_char): Updated.
* src/roff/troff/env.cc (environment::space_newline,
environment::space, environment::output_line, environment::do_break,
environment::make_tab_node, environment::add_padding, title):
Updated.
(environment_switch, environment_copy): Don't add color nodes.
* src/roff/troff/input.cc (do_glyph_color, do_fill_color): Return
nothing.
(token::next): Updated.
\m and \M now are as transparent as \s.
(process_input_stack, token::add_to_node_list, token::process,
read_draw_node): Updated.
(charinfo_to_node_list): Don't add color nodes.
* doc/groff.texinfo: Updated.
|
|
|
|
|
|
| |
strings.
* src/roff/troff/node.cc (bracket_node::copy): Check `list' != 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
appropriate.
(DEFAULT_LINEWIDTH_FACTOR): New macro.
(linewidth_factor): New global variable.
(lbp_printer::set_line_thickness): Fix case for size < 0, using
linewidth_factor.
(long_options): Add -w/--linewidth option.
(usage): Updated.
(main): Handle -w option to set linewidth_factor.
(lbp_printer::lbp_printer): Initialize req_linethickness, not
line_thickness.
* src/devices/grolbp/grolbp.man, NEWS, doc/webpage.ms: Updated.
Fixed a bug in the line thickness setting code.
* src/devices/grolbp/lbp.cc (lbp_printer::req_linethickness): New
variable.
(lbp_printer::set_line_thickness): Pass environment as second
parameter.
Implement it actually.
(lpb_printer::set_char, lbp_printer::draw): Use `req_linethickness'
and `set_line_thickness, depending on the current font size.
|
|
|
|
|
|
| |
* src/roff/groff/pipeline.h (MAX_COMMANDS): Increase to 12.
* src/roff/troff/node.cc (bracket_node::copy): Initialize
`list->last'.
|
| |
|
|
|
|
|
|
| |
glyph_color.
Rename cur_fill_color to fill_color.
* src/roff/troff/env.cc: Updated.
|