summaryrefslogtreecommitdiff
path: root/src/utils
Commit message (Collapse)AuthorAgeFilesLines
* Remove running text from Synopsis, it screws up mechanical parsing.esr2012-07-071-4/+4
|
* Remove running text from Synopsis, it screws up mechanical parsing.esr2012-07-072-6/+6
|
* Remove running text from Synopsis, it screws up mechanical parsing.esr2012-07-071-4/+4
|
* Fix compiler warnings.wl2011-10-311-5/+5
| | | | | | | | | | | | | | | * src/preproc/eqn/main.cpp (do_file), src/roff/troff/env.cpp (environment::print_env), src/roff/troff/mtsm.cpp (statem::display_state): Add syntactical sugar. * src/utils/tfmtodit/tfmtodit.cpp (char_info_word): Use `unsigned char' for all members. * src/devices/grohtml/html-text.cpp (html_text::remove_def): Remove unused variable `q'. * src/devices/grohtml/post-html.cpp (html_printer::lookahead_for_tables): Remove unused variable `left' and `seen_text'.
* Add new output device `gropdf'.wl2011-07-262-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | * font/devpdf/*: New device files for gropdf. * src/devices/gropdf/*: New device. * Makefile.comm (install_dev, uninstall_dev): Handle more subdirectories. * Makefile.in (DEVDIRS, OTHERDIRS, EXTRADIRS): Add directories related to gropdf. * MANIFEST: Updated. * test-groff.in (GROFF_BIN_PATH): Updated. * tmac/Makefile.sub (NORMALFILES): Updated. * tmac/pdf.tmac: New file. * tmac/troffrc: Updated. * doc/groff.texinfo: Document it. * doc/Makefile.in, doc/Makefile.sub (groff_bin_dirs): Udpated. * doc/pic.ms: Updated. * man/groff_out.man, src/devices/grops/grops.man, src/preproc/pic/pic.man, src/roff/groff/groff.man, src/utils/afmtodit/afmtodit.man, src/utils/pfbtops/pfbtops.man: Updated. * contrib/pdfmark/pdfmark.ms: Updated.
* afmtodit: Add option `-o' to specify an output file.wl2010-06-042-8/+21
| | | | | * src/utils/afmtodit.pl: Implement it. * src/utils/afmtodit.man: Document it.
* * */*.cpp: Replace `printf(string);' with `printf("%s", string);'.wl2009-11-201-2/+2
|
* * */Makefile.* (CLEANADD, CLEANNOTSRCDIRADD, CLEANDIRADD): Renamedgroff-1_20_1wl2009-01-081-1/+1
| | | | | to... (MOSTLYCLEANADD, MOSTLYCLEANNOTSRCDIRADD, MOSTLYCLEANDIRADD): This.
* Update copyright year.wl2009-01-0524-24/+39
|
* * */*: Update GPL2 to GPL3.wl2009-01-0415-75/+60
|
* Update .cvsignore files.wl2009-01-031-0/+3
|
* New options -f and -k for afmtodit.wl2008-07-242-9/+23
| | | | | | | * src/afmtodit/afmtodit.pl: New options `-f NAME' sets the internal name of the groff font. New option `-k' disables output of kerning data. * src/afmtodit/afmtodit.man, NEWS: Document new options.
* * font/devps/generate/textmap: Add Greek letters and some more.wl2007-04-091-6/+7
| | | | | * src/utils/afmtodit/afmtodit.tables: Change values of `Delta', `Omega', and `mu' to the ones from aglfn.txt.
* * man/groff_font.man: Document empty lines.wl2007-01-011-12/+28
| | | | | | | | * src/utils/afmtodit/afmtodit.pl: Always print a header comment at the very beginning of the output. [!$opt_x]: Fix typo. * font/devps/*: Regenerate font definition files.
* * src/utils/afmtodit/afmtodit.pl: New option `-c' to add fontwl2006-05-012-8/+42
| | | | | information as a comment in output. * src/utils/afmtodit/afmtodit.man, NEWS: Document it.
* * LICENSE: Renamed to...wl2006-03-181-0/+19
| | | | | * LICENSES: This. Collect all licensing information in this file. * tmac/README, src/libs/snprintf/README: Removed.
* * Makefile.in: Add comment about DESTDIR.wl2006-02-262-14/+17
| | | | | | | | | | | | | | | | | | * Makefile.sub: Add DESTDIR to install and uninstall targets to support staged installations. * Makefile.comm: Likewise. * doc/Makefile.sub: Likewise. * contrib/eqn2graph/Makefile.sub: Likewise. * contrib/gdiffmk/Makefile.sub: Likewise. * contrib/grap2graph/Makefile.sub: Likewise. * contrib/pic2graph/Makefile.sub: Likewise. * src/devices/xditview/Makefile.sub: Likewise. * src/preproc/eqn/Makefile.sub: Likewise. * src/roff/grog/Makefile.sub: Likewise. * src/roff/nroff/Makefile.sub: Likewise. * src/utils/afmtodit/Makefile.sub: Likewise. * src/utils/indxbib/Makefile.sub: Likewise. * tmac/Makefile.sub: Likewise.
* * src/libs/libgroff/make-uniuni: New script to generate uniuni.cpp.wl2005-12-094-6022/+6266
| | | | | | | | | | | | | | | | | | * src/libs/libgroff/uniuni.cpp: Regenerated, using data from Unicode 4.1.0. * src/utils/afmtodit/make-afmtodit-tables: New script to generate afmtodit.tables. * src/utils/afmtodit/afmtodit.tables: New file, representing Unicode 4.1.0 data. * src/utils/afmtodit/afmtodit.pl (%unicode_decomposed, %AGL_to_unicode): Removed. Replace it with a tag. * src/utils/afmtodit/Makefile.sub (afmtodit): Adjust sed expression to replace tag with actual file contents.
* * src/utils/afmtodit.pl: Fix kerning output to avoid warnings forwl2005-12-071-1/+2
| | | | | glyphs which have kern values but aren't handled (glyph variants, for example).
* doc fixeswl2005-12-032-8/+9
|
* * src/utils/pfbtops/pfbtops.c, src/utils/xtotroff/xtotroff.c: Movewl2005-11-162-2/+4
| | | | | | definition of __GETOPT_PREFIX to the beginning of file to ensure that it is defined even on platforms where getopt.h is already included by other header files.
* Another round in fixing getopt problems. Hopefully the last one!wl2005-06-232-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This time we use the getopt stuff from gnulib and define a prefix unconditionally so that there are no collisions with any other getopt implementations. This is a slight waste of space in case we already use a GNU getopt implementation, but on the other hand it really simplifies life. * src/include/getopt.h: Use gnulib version. * src/include/getopt_int.h: Use gnulib version. * src/include/groff-getopt.h: Removed. Obsolete now. * src/include/lib.h: Regarding getopt, don't handle any platform specially; just include getopt.h. (__GETOPT_PREFIX): Define (before getopt.h). * src/include/Makefile.sub (HDRS): Updated. * src/libs/libgroff/getopt1.c, src/libs/libgroff/getopt.c: Use gnulib version. * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Set __GETOPT_PREFIX. * src/utils/pfbtops/pfbtops.c, src/utils/xtotroff/xtotroff.c (__GETOPT_PREFIX): Define (before getopt.h).
* * All affected files: Update postal address of FSF.wl2005-05-2613-13/+13
|
* * src/utils/xtotroff/xtotroff.c (MapFont): Fix variable declaration.wl2005-04-241-1/+2
|
* * src/utils/afmtodit/afmtodit.pl: Remove an incorrect `my' fromwl2005-02-151-2/+7
| | | | | | $psname and $italic_angle. Immediately restart file input loops if `split' returns an empty array.
* Update afmtodit to better support Unicode (Michail).wl2005-02-142-6122/+6272
| | | | | | | | | | | | | | | | | Update afmtodit to use Perl 5 syntax (Werner). * src/utils/afmtodit/afmtodit.pl: Don't use `getopts.pl' but `Getopts::Std'. Decorate variables with `my' where necessary. Use `defined' where necessary to avoid warnings. Don't use `do' for subroutine calls. Other minor syntax updates. Check for both `uXXXX[X[X]]' and `uniXXXX'. Handle glyph variants properly. (%unicode_decomposed, %AGL_to_unicode): Don't use `u' prefix in strings. * src/utils/afmtodit/afmtodit.man: Updated.
* *** empty log message ***wl2004-11-291-0/+1
|
* * src/utils/xtotroff/xtotroff.c: Reformat to be similar to otherwl2004-11-257-278/+510
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | groff source files. Include config.h. Include limits.h. Remove X_NOT_STDC_ENV conditional. (Version_string, program_name): New global variables. (groff_flag): Removed. (MapFont): Updated. (usage): Take a stream as argument. Use `program_name'. Update all callers. (main): Add `long_options' array for `--help' and `--version'. Make `-g' a dummy option. Handle `-v' and unknown options. Remove unused `position' variable. * src/utils/xtotroff/Makefile.sub (MAN1): Define. (XLIBS): Add LIBGROFF. * src/utils/xtotroff/xtotroff.man, src/utils/xtotroff/Makefile.in: New files. * src/devices/xditview/Dvi.c (default_font_map): Split into three parts to avoid compiler warning. (resources): Don't initialize with `default_font_map'. (ClassInitialize): Initialize first element of `resources'. * src/devices/xditview/Makefile.sub (devdir, xtotroff, DPIS, fonts): Removed. * src/utils/lkbib/lkbib.man, src/utils/lookbib/lookbib.man, src/utils/pfbtops/pfbtops.man: Revised, updated. * configure.ac: Generate src/utils/xtotroff/Makefile. * configure: Regenerated.
* * doc/meref.me: Document `_M' register.wlemb2004-08-051-10/+33
| | | | | | | | | | | | | | | | | | Make hpftodit work correctly on big-endian systems. * src/utils/hpftodit/hpftodit.cpp (File): New method `get_uint32(char *)'. (entry): New member `orig_value'. (read_tags): Use new method. (output_font_name, read_and_output_pcltypeface, dump_ascii): Updated. * tmac/s.tmac: Undo change 2003-06-29. The proper macro definitions are already in X11's `macros.t' file. * src/utils/hpftodit/hfptodit.cpp (output_font_name, dump_ascii): Fix casting bug. (read_and_output_pcltypeface): Handle strings with length <= 4.
* * src/utils/xtotroff/Makefile.sub (EXTRA_LDFLAGS): Fix order ofwlemb2004-06-041-1/+1
| | | | libraries.
* * aclocal.m4 (GROFF_X11): s/have_no_x/groff_no_x/.wlemb2004-06-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add X11 stuff to CFLAGS, LDFLAGS, and LIBS temporarily. Add test for Xmu library. (GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK, GROFF_APPRESDIR_DEFAULT): New macros. * configure.ac: Call GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK, and GROFF_APPRESDIR_DEFAULT. * configure: Regenerated. * Makefile.in (appresdir): New variable. (MDEFINES): Add appresdir. * src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Add -Xmu and -Xt. (install_data, uninstall_sub): New targets to handle GXditview.ad. * src/utils/indxbib/Makefiles.ub (install_data): Depend on `$(srcdir)/eign', not `eign'. * MANIFEST, INSTALL, NEWS, PROBLEMS: Updated. * man/groff_out.man, man/roff.man, src/devices/grops/grops.man, src/devices/xditview/gxditview.man, src/roff/groff/groff.man: Protect (g)xditview with `\%' to avoid hyphenation. Other minor formatting.
* Initial revisionwlemb2004-06-012-0/+302
|
* * src/include/font.h (font): Use `int' for ch_index.wlemb2004-04-192-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/libs/libgroff/font.cpp (font::alloc_ch_index, font::compact): Updated. * src/roff/groff/pipeline.c (run_pipeline) [_WIN32]: Fix compiler warnings. * src/roff/troff/div.cpp (begin_page), src/roff/troff/env.cpp (hyphen_word): Fix compiler warnings. * src/roff/troff/input.cpp (get_char_for_escape_name): Return `char'. Update all callers. (get_delim_number, get_line_arg): Change second argument type to `unsigned char'. (macro_header::copy, token::next, do_define_string, do_define_character, substring_request, asciify_macro, unformat_macro, read_size, non_interpreted_node::interpret, while_request, main: Fix compiler warnings. (read_color_draw_node): Initialize `col'. * src/preproc/tbl/table.cpp (horizontal_span, table_entry): Make `start_col' and `end_col' of type `int'. (vertical_rule): Make `col' of type `int'. * src/preproc/grn/hdb.cpp (DBRead): Protect call to getc with check for EOF. * src/preproc/refer/label.y (uppercase_array, lowercase_array): New arrays. (format_serial): Use them to remove dependency on ASCII. * src/devices/grops/ps.cpp (ps_printer::define_encoding): Fix compiler warning. * src/devices/grops/psrm.cpp (resource_manager::supply_resource): Ditto. * src/devices/grotty/tty.cpp (tty_font::load_tty_font): Fix compiler warnings. (glyph): Change type of `hpos' to `int'. * src/devices/lbp/lbp.cpp (strsep): Removed. Unused. * src/devices/lbp/lbp.h (splinerel): Fix compiler warnings. * src/utils/tfmtodit.cpp (gf::load): Fix compiler warnings. * src/utils/pfbtops/pfbtops.c (get_text): Fix compiler warning.
* * src/devices/grolbp/lbp.h, src/preproc/grn/gprint.h,wlemb2004-04-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | src/preproc/grn/hgraph.cpp, src/preproc/grn/hpoint.cpp, src/preproc/html/pushback.cpp, src/preproc/html/pushback.h: Use `double' instead of `float' everywhere. * src/preproc/grn/main.cpp: Use `double' instead of `float' everywhere. (main): Add return value. * src/preproc/grn/hdb.cpp: Use `double' instead of `float' everywhere. Update all user functions. * src/include/search.h, src/include/ptable.h, src/include/printer.h, src/preproc/eqn/box.h, src/preproc/pic/object.h, src/preproc/refer/refer.h, src/preproc/tbl/table.h, src/preproc/tbl/table.cpp, src/roff/troff/env.h, src/roff/troff/div.h, src/roff/troff/token.h, src/roff/troff/node.h, src/roff/troff/input.cpp, src/roff/troff/request.h, src/roff/troff/node.cpp: Don't mix `struct' and `class' in forward declarations. * src/utils/indxbib/signal.c: Include stdlib.h.
* * src/utils/hpftodit/hpuni.cpp (hp_msl_to_unicode_list): Don'twlemb2004-04-101-2/+2
| | | | use anonymous type.
* * src/utils/tfmtodit.cpp (lig_chars): Don't use anonymous type.wlemb2004-04-091-2/+2
| | | | * arch/misc/shdeps.sh: Generate better comment for sed script.
* * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list),wlemb2004-04-085-51/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list), src/libs/libgroff/uniuni.cpp (unicode_decompose_list), src/preproc/eqn/box.cpp (param_table), src/preproc/grn/hgraph.cpp (polyfill), src/preproc/grn/main.cpp (polyfill), src/preproc/refer/command.cpp (command_table), src/utils/tfmtodit.cpp (lig_table): Don't use anonymous types (which gcc 3.5 doesn't like). Removing many compiler warnings. groff should now compile with a C++ compiler used for C files also. [Simple variable renamings to avoid shadowing aren't logged in detail.] * src/devices/grodvi/dvi.cpp: Some local variable renamings. (draw_dvi_printer::draw) ['c']: Enclose in block. * src/devices/grohtml/post-html.cpp: Some local variable renamings. (page::add_line): Fix typos. * src/devices/grohtml/html-text.cpp: Some local variable renamings. * src/devices/grolbp/lbp.cpp: Don't define _GNU_SOURCE. Some local variable renamings. * src/devices/grolbp/lbp.h: Some local variable renamings. * src/devices/grolj4/lj4.cpp, src/devices/grotty/tty.cpp: Some local variable renamings. * src/libs/libbib/index.cpp (index_search_item_iterator::get_tag): Remove redundant local variable declaration. * src/libs/libbib/map.c (mapread, unmap): Don't use K&R style. Don't use `caddr_t' but `void *'. Enclose functions with `extern "C"' for C++. * src/libs/libdriver/input.cpp (remember_filename, remember_source_filename): Use cast for string constant. * src/libs/libgroff/font.cpp, src/libs/libgroff/fontfile.cpp, src/libs/libgroff/nametoindex.cpp, src/libs/libgroff/paper.cpp, src/libs/libgroff/geometry.cpp: Some local variable renamings. * src/libs/libgroff/iftoa.c, src/libs/libgroff/itoa.c: Don't use K&R style. Enclose functions with `extern "C"' for C++. * src/libs/libgroff/quotearg.c (TRUE,FALSE): Define as macros. (needs_quoting): Return `int'. (quote_arg): Add proper casts to malloc and realloc. * src/libs/libgroff/spawnvp.c: Compile code only for MS-DOS and various MS Windows environments. (spawnvp_wrapper): Add proper cast to malloc. * src/preproc/eqn/box.h: Remove redundant declarations of `make_script_box', `make_mark_box' and `make_lineup_box'. * src/preproc/eqn/eqn.y: Remove redundant declaration of `strsave'. * src/preproc/eqn/script.cpp, src/preproc/eqn/pile.cpp: Some local variable renamings. * src/preproc/grn/hpoint.cpp: Some local variable renamings. * src/preproc/grn/hgraph.cpp: Some local variable renamings. (dx, dy): Renamed functions to... (deltax, deltay): This. * src/preproc/grn/main.cpp: Some local variable renamings. (deffont): Add `const'. (initpic, conv): Use cast for string constant. * src/preproc/html/pre-html.cpp: Some local variable renamings. (makeFileName, alterDeviceTo, addZ): Use cast for string constant. (char_buffer::run_output_filter): Second argument is unused. * src/preproc/html/pushback.cpp: Some local variable renamings. * src/preproc/pic/pic.y: Remove redundant declaration of `do_copy'. * src/preproc/pic/object.cpp: Some local variable renamings. * src/preproc/refer/label.y (lookup_label): Remove redundant declaration of local variable. * src/preproc/soelim.cpp: Remove redundant declaration of `interpret_lf_args'. * src/preproc/tbl/main.cpp: Some local variable renamings. * src/roff/groff/groff.cpp (main): Use cast for string constant. * src/roff/groff/pipeline.c: Enclose declarations of `error', `c_fatal', and `i_to_a' with `extern "C"' for C++. Don't use C++-style comments. * src/roff/troff/env.h: Remove redundant declaration of `title'. * src/roff/troff/node.h, src/roff/troff/env.cpp, src/roff/troff/div.cpp, src/roff/troff/node.cpp: Some local variable renamings. * src/roff/troff/div.h: Remove redundant declaration of `end_diversions'. * src/roff/troff/troff.h: Remove redundant declaration of `cleanup_and_exit' * src/roff/troff/input.cpp: Remove redundant declaration of `handle_first_page_transition' and `process_input_stack'. * src/utils/hpftodit.cpp: Some local variable renamings. * src/utils/indxbib/signal.c: Enclose functions with `extern "C"' for C++. Don't define RETSIGTYPE. * src/utils/indxbib/indxbib.cpp: Some local variable renamings. * src/utils/pfbtops/pfbtops.cpp: Don't use K&R style. (error): Use `const' in argument. (main): Remove redundant declaration of `optind'. Move declaration of `Version_string' to top-level. * PROBLEMS: Document difficulties compiling signal.c if a C++ compiler is used for C. * Makefile.sub (DISTCLEANFILES): Add `test-groff'.
* * tmac/www.tmac (DC): Handle TTY devices.wlemb2004-01-152-88/+112
| | | | | | | | | | | | | | | | | | | | | | | | * doc/webpage.ms: Document viewCVS from ffii.org. * NEWS, README: Updated. * src/roff/groff/groff.man: Mention lj4_font man page. * font/devlj4/generate/Makefile (SYMBOLMAP, WINGDINGSMAP): New variables. (FONTS): Add SYMBOL and WINGDINGS. (SYMBOL, WINGDINGS): New targets. * src/devices/grolj4/lj4_font.man: New man page. * src/devices/grolj4/Makefile.sub (MAN5): New variable. * src/devices/grolj4.man: Mention lj4_font man page. * src/utils/hpftodit/hpftodit.cpp (read_map): Handle line comments. * src/utils/hpftodit/hpftodit.man: Document it. (CW): New macro. Remove details about fonts (which are now in lj4_font.man). * font/devlj4/generate/symbol.map, font/devlj4/generate/wingdings.map: New files.
* * font/devlj4/generate/special.map: Map MSL 228 to U+221F.wlemb2004-01-111-8/+90
| | | | | | | | | | | | | Revert most of the change from 2004-01-03 to better control used symbol sets. * src/utils/hpftodit/hpftodit.cpp (symbol_set): New structure. (text_symbol_sets, special_symbol_sets): New arrays. (symbol_set_table): New global variable. (read_symbol_sets): Use search order given in the text_symbol_sets and special_symbol_sets arrays. If command line flag -a is not given, search both arrays. (output_charset): Require x_height_tag only for command line flag -i.
* * src/roff/troff/nroff.cpp (space_node::get_breakpoints,wlemb2004-01-051-1/+1
| | | | | | space_node::nbreaks): Protect against zero `next' field. Update copyright years.
* In hpftodit, use the symbol sets offered in the TFM.wlemb2004-01-031-191/+84
| | | | | | | | | | | | | | * src/utils/hpftodit/hpftodit.cpp (NO_GLYPH): New constant. (symbol_set, text_symbol_sets, special_symbol_sets, symbol_set_table): Removed. (get_printcode): Removed. (read_symbol_sets): Initialize `symbol_set' field with `NO_SYMBOL_SET'. Simplify code to just use the `kind' value. (output_charset): Improve output formatting. (dump_symbols): Simplified. font/devlj4/generate/text.map: Fix typos.
* * font/devlj4/generate/text.map: Add more MSL numbers.wlemb2004-01-031-29/+73
| | | | | | | | | | | | | * src/utils/hpftodit/hpftodit.cpp (is_decomposed): New macro. (text_symbol_sets): Add more symbol sets. (debug_flag): New static variable (moved from `main'). (get_printcode, show_symset): New functions. (main): Remove `debug_flag'. (output_charset): Use `show_symset'. (dump_symbols): Use `show_symset'. Print symsets for all glyphs. (read_map): Actually call `unicode_to_ucode_make' but this time correctly.
* * font/devlj4/generate/text.map, font/devlj4/generate/special.map:wlemb2004-01-011-84/+101
| | | | | | | | | | | | Fix placement of comments. * src/utils/hpftodit/hpftodit.cpp (main): Read map file also if option `-d' is given. (output_charset): Improve warning messages to give more information. (dump_symbols): Make information more precise. (usage): Updated. (read_map): Don't call unicode_to_ucode_name; the glyph names must appear as-is and shouldn't be decomposed.
* * src/utils/hpftodit/hpftodit.cpp (dump_tags): Handle posture_tag.wlemb2003-12-311-1/+9
| | | | | | | | * font/devlj4/generate/Makefile (IFLAG): Updated to new units. (FONTS): Add TrueType font families Arial and Times New Roman. (TNRR, TNRB, TNRI, TNRBI, AR, AB, AI, ABI): New targets. * font/devlj4/generate/text.map: Fix Unicode values of `fi' and `fl'.
* * font/devlj4/generate (text.map, special.map): Rewritten to workwlemb2003-12-311-4/+7
| | | | | | | with the new hpftodit version. * src/utils/hpftodit/hpftodit.cpp (output_charset): Emit HP symbol set and 8bit character code for all glyphs also.
* More fixes for MSVC compiler.wlemb2003-12-301-1/+3
| | | | | | | | | | | | | | | | | | | | | | | * doc/Makefile.sub, contrib/mom/Makefile.sub (GROFF_BIN_PATH): Use $(SEP). * src/include/nonposix.h (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO) [_MSC_VER]: Define conditionally. (getpid) [_MSC_VER]: Remove. Include direct.h and process.h conditionally. * src/roff/troff/node.cpp (suppress_node::tprint): Don't use parentheses for a_delete. * src/utils/lookbib/lookbib.cpp: Include nonposix.h. * test-groff: Replaced with... * test-groff.in: This new template to handle path separator properly. * configure.ac: Check for direct.h and process.h. Generate test-groff script. * configure, src/include/config.hin: Regenerated.
* Add integral extension glyph.wlemb2003-12-282-23/+29
| | | | | | | | | | | | | | Add new option `-x' to afmtodit to suppress use of built-in AGL. * font/devhtml/R.proto, font/devutf8/R.proto: Add `u23AE'. * font/devps/generate/textmap: Provide entry for `integralex' to override (old) PUA value of the AGL. * font/devps/generate/Makefile (SS): Add afmtodit option `-x'. * font/devps/*: Regenerated. * src/utils/afmtodit/afmtodit.pl: Add option `-x'. * src/utils/afmtodit/afmtodit.man, NEWS: Updated.
* hpftodit has been extended to handle TrueType metric files andwlemb2003-12-274-171/+1572
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | more glyphs. See hpftodit.man for more details. * src/utils/hpftodit/hpftodit.cpp: Include stdio.h, string.h, ctype.h, and unicode.h. s/msl/charcode/ everywhere since we now handle Unicode values also. (equal, NO, YES, MSL, SYMSET, UNICODE, UNICODE): New macros. Use it where appropriate. (MULTIPLIER): Replaced with... (multiplier): New global static variable. (scale): Updated. (tag_type): Add more TFM tags. (tag_name): New array. (ENUM_TYPE, FLOAT_TYPE): Removed. (BYTE_TYPE): New value assigned. (ASCII_TYPE, RATIONAL_TYPE): New enumeration values. (text_symbol_sets, special_symbol_sets): Extended to cover more sets. (check_type): Add return value. (check_units): Add parameters to get ppi and upem values. Handle TrueType TFM data. (output_font_name): New function. (output_charset): Add parameter to handle TFM type. Handle TrueType TFMs also. (em_fract): New macro. (dump_tags): Be much more verbose and handle more tags. (dump_ascii, dump_symbol_sets, dump_symbols): New functions. (hp_msl_to_ucode_name, unicode_to_ucode_name, is_uname): New functions. (read_map): Add parameter to handle TFM type. Handle both MSL and Unicode mappings. (main): Add two new command line options `-a' and `-q'. Updated to make use of new functions. (usage): Updated. * src/utils/hpftodit/hpuni.cpp: New file. * src/utils/hpftodit/Makefile.sub, src/utils/hpftodit/hpftodit.man: Updated. * src/include/nonposix.h (read) [_MSC_VER]: Define.
* * src/utils/afmtodit/afmtodit.man: Some reformulations as suggestedwlemb2003-12-251-11/+11
| | | | by Michail Vidiassov <master@iaas.msu.ru>.
* * src/utils/afmtodit/Makefile.sub (afmtodit): Fix typo.wlemb2003-12-122-2/+4
|