summaryrefslogtreecommitdiff
path: root/font/devutf8
Commit message (Collapse)AuthorAgeFilesLines
* [docs]: Reduce use of term "entity".G. Branden Robinson2023-04-241-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Doug McIlroy noted this vague term, which groff employs for multiple purposes. Eliminate its application to input processing. There is now no longer such a thing as an "entity" in the groff language. * doc/groff.texi (Character Translations): Do it. Also clarify "nothing" as "the dummy character". (Using Symbols): Do it. Also recast explanation of difference between characters and glyphs. Explicitly state that spaces aren't glyphs. Document that `rchar` request can't remove definitions supplied by font description files. (Ligatures and Kerning): Speak of "special characters", not "entities". (Other Differences): Recast discussion of character-to-glyph transformation. Stop qualifying characters as "input". Recast discussion of example. * font/devutf8/NOTES: Revise use of terminology. Perform a Kemper notectomy. Wrap long lines. * man/groff.7.man (Request short reference) <char>: Speak of a "special character", not an "entity". <rchar>: Document that request can't remove definitions supplied by font description files. * man/groff_diff.7.man (Implementation differences): Sync with our Texinfo manual. The use of "entity" to describe how a glyph gets mapped back to a character (sequence) for the HTML and terminal output devices is retained. That usage is restricted to discussion of output drivers (code comments and function names notwithstanding).
* [build]: Rationalize in-tree document deps.G. Branden Robinson2022-05-021-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [build]: Reduce and rationalize in-tree document dependencies. This eliminates spurious rebuilds of numerous documents (including the 380+-page groff-man-pages collections). It also fixes missing dependencies when using the build's groff to generate PostScript documents. * .gitignore: Drop old name of devpdf stamp file. * doc/.gitignore: Drop now-unused "example.stamp" file. * doc/doc.am (PROCESSEDDOCFILES_HTML, PROCESSEDDOCFILES_PDF, PROCESSEDDOCFILES_TXT): Add new macros grouping targets by the format/output driver used to produce them, to better organize dependencies for their generation. (PROCESSEDDOCFILES): Redefine as simply the expansions of the foregeoing. (PROCESSEDFILES_DEPS_HTML, PROCESSEDFILES_DEPS_HTML, PROCESSEDFILES_DEPS_PDF, PROCESSEDFILES_DEPS_TXT): Add new macros defining prerequisites for production of the corresponding output document formats. ($(PROCESSEDDOCFILES_HTML), $(PROCESSEDDOCFILES_PDF), $(PROCESSEDDOCFILES_PS), $(PROCESSEDDOCFILES_TXT)): Declare the dependencies using expansions of the foregoing macros. (MOSTLYCLEANFILES): Drop "doc/automake.pdf", now part of `PROCESSEDDOCFILES_PDF`. (doc/automake.pdf): Drop dependencies already supplied by `PROCESSEDFILES_DEPS_PDF`. (HTMLDOCFILES): Drop macro. "doc/pic.html" is now in the expansion of `PROCESSEDDOCFILES_HTML`. (htmlpic_DATA): Redefine as expansion of `PROCESSEDDOCFILES_HTML` instead of `HTMLDOCFILES`. (PROCESSEDEXAMPLEFILES_HTML) [BUILD_HTML]: Define as "doc/webpage.html", otherwise as empty. (PROCESSEDEXAMPLEFILES_PS): Contain "doc/webpage.ps" and "doc/grnexampl.ps". (PROCESSEDEXAMPLEFILES): Redefine as expansions of `PROCESSEDEXAMPLEFILES_HTML` and `PROCESSEDEXAMPLEFILES_PS`. ($(PROCESSEDEXAMPLEFILES_HTML), $(PROCESSEDEXAMPLEFILES_PS)): Declare dependencies using `PROCESSEDFILES_DEPS_HTML` and `PROCESSEDFILES_DEPS_PS`, respectively. (nodist_docexamples_DATA): Redefine macro as expansions of now-split macros `PROCESSEDEXAMPLEFILES_HTML` and `PROCESSEDEXAMPLEFILES_PS`. (HTMLEXAMPLEFILES): Drop macro. "doc/webpage.html" is now in the expansion of `PROCESSEDDOCFILES_HTML`. (nodist_htmlexamples_DATA): Drop macro, no longer needed. ($(PROCESSEDDOCFILES_PS)): Relocated and redefined above. ($(PROCESSEDEXAMPLEFILES) $(PROCESSEDDOCFILES)): Drop overbroad dependency declarations in favor of the above. (MOSTLYCLEANFILES, doc/examples.stamp): Drop generation and removal of unnecessary stamp file. (doc/pic.html, doc/webpage.html): Add explicit dependency on required preprocessors. Drop redundant and spurious dependencies. * font/devhtml/devhtml.am (MOSTLYCLEANFILES, font/devhtml/stamp): Generate and remove stamp file to enable reliable target dependencies for build-time generation of HTML documents by groff. * font/devpdf/devpdf.am (MOSTLYCLEANFILES, font/devpdf/stamp): Rename stamp file from "font/devpdf/build_font_files". (font/devpdf/stamp): Drop unnecessary dependency on "afmtodit". * font/devps/devps.am (MOSTLYCLEANFILES, font/devps/stamp): Generate and remove stamp file to enable reliable target dependencies for build-time generation of PostScript documents by groff. * font/devutf8/devutf8.am (MOSTLYCLEANFILES, font/devutf8/stamp): Generate and remove stamp file to enable reliable target dependencies for build-time generation of UTF-8-encoded text documents by groff. * contrib/hdtbl/hdtbl.am (HDTBLPROCESSEDEXAMPLEFILES): Add dependency on devps stamp file since the files' target rule generates PostScript with groff. * contrib/mom/mom.am ($(MOMPROCESSEDEXAMPLEFILES)): Depend on new name for devpdf stamp file. * contrib/sboxes/sboxes.am ($(sboxes_builddir)/msboxes.pdf): Depend on new name for devpdf stamp file. Fixes <https://savannah.gnu.org/bugs/?62084>; thanks to Sergei Trofimovich for the report. Also fixes <https://savannah.gnu.org/bugs/?62297>; thanks to Bjarni Ingi Gislason for the report. Tested with the following script. #!/bin/sh set -e test -d build cd build for file in \ contrib/hdtbl/examples/chess_board.ps \ contrib/hdtbl/examples/col_rowspan_colors.ps \ contrib/hdtbl/examples/color_boxes.ps \ contrib/hdtbl/examples/color_nested_tables.ps \ contrib/hdtbl/examples/color_table_cells.ps \ contrib/hdtbl/examples/color_transitions.ps \ contrib/hdtbl/examples/fonts_n.ps \ contrib/hdtbl/examples/fonts_x.ps \ contrib/hdtbl/examples/mixed_pickles.ps \ contrib/hdtbl/examples/rainbow.ps \ contrib/hdtbl/examples/short_reference.ps \ contrib/mom/examples/copyright-chapter.pdf \ contrib/mom/examples/copyright-default.pdf \ contrib/mom/examples/letter.pdf \ contrib/mom/examples/mom-pdf.pdf \ contrib/mom/examples/mon_premier_doc.pdf \ contrib/mom/examples/sample_docs.pdf \ contrib/mom/examples/slide-demo.pdf \ contrib/mom/examples/typesetting.pdf \ contrib/sboxes/msboxes.pdf \ doc/automake.pdf \ doc/grnexmpl.ps \ doc/groff-man-pages.pdf \ doc/groff-man-pages.utf8.txt \ doc/meintro.ps \ doc/meintro_fr.ps \ doc/meref.ps \ doc/ms.ps \ doc/pic.html \ doc/pic.ps \ doc/webpage.ps do make -j clean make -j "$file" done
* [build]: Fix code style nits in Automake files.G. Branden Robinson2022-05-021-2/+2
| | | | | | | | | | | | | | | * doc/doc.am: Put spaces around (Auto)make variable assignments, for consistency with the rest of this .am file, and our others. * font/devpdf/devpdf.am (font/devpdf/build_font_files): Use shell '>' operator instead of touch(1). * font/devhtml/devhtml.am (font/devhtml/DESC): * font/devps/devps.am (font/devps/DESC): Construct target in temporary file, since doing so is a multi-step process, moving it to the target name when it is complete and usable by dependencies. Also fix indentation and trailing whitespace nits.
* Simplify Unicode character mapping process.G. Branden Robinson2022-01-212-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tmac/unicode.tmac: Drop. It was originally added in 2005 to suppress horizontal spacing of glyphs in the range U+0483..9. Its purpose has wandered over the years; most recently to map the Basic Latin ("ASCII") hyphen-minus, apostrophe, and grave accent to special characters (and thus ultimately to the General Punctuation block). But this is unnecessary since the font descriptions for devices with the `unicode` property can provide this information, and anyone who wants to alter the mappings can change either font description files, output device macro files, or troffrc; or add `char` requests to their macro packages or documents (in decreasing magnitude of ambition). * tmac/html.tmac: * tmac/tty.tmac: Stop sourcing unicode.tmac. * tmac/tmac.am (TMACNORMALFILES): Stop shipping it. * font/devutf8/NOTES: Drop remarks about mapping of \[a~], \[a^], and Basic Latin circumflex accent and tilde. Not only do I disagree with the reasoning (whether these glyphs are "too small" depends on the font used by the terminal emulator, over which we have no control), but this mapping happens in a completely different part of the source tree, src/libs/libgroff/glyphuni.cpp. * font/devhtml/R.proto: * font/devutf8/R.proto: Add mappings for the five Basic Latin characters that map surprisingly (see groff_char(7)) and are not syntactically significant to troff. Three of these are ported from unicode.tmac. (html): Don't migrate the hyphen-minus--yet.
* Update copyright1.23.0.rc1Bertrand Garrigues2020-11-111-1/+1
| | | | | | | | * update-copyright.sh: use gnulib's 'update-copyright' script. Pass this script in directories 'arch', 'contrib', 'font', 'man', 'tmac', 'src' and on a list of extra files. * FOR-RELEASE: mention this point.
* Revert "Update copyright"Bertrand Garrigues2020-10-251-1/+1
| | | | | | This reverts commit a2e955e07354c83939fabffebcf720d3333d1f6b. Some files (COPYING, FDL, bootstrap) should not have been updated
* Update copyrightBertrand Garrigues2020-10-251-1/+1
| | | | | | | | Use gnulib's update-copyright script. * src/roff/groff/groff.cpp: update the printf displayed when 'groff -v' is invoked. * FOR-RELEASE: mention this point.
* Synchronize Emacs and Vim editor settings.G. Branden Robinson2020-04-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also add some settings (mainly fill columns and character encoding hints) to try to prevent chaos. Gory details follow. * ChangeLog.115: * ChangeLog.116: * ChangeLog.117: * ChangeLog.118: * ChangeLog.119: * ChangeLog.120: * ChangeLog.121: * Makefile.am: * arch/mingw/mingw.am: * arch/misc/misc.am: * contrib/chem/chem.am: * contrib/chem/chem.pl: * contrib/eqn2graph/eqn2graph.am: * contrib/gdiffmk/ChangeLog: * contrib/gdiffmk/gdiffmk.am: * contrib/glilypond/ChangeLog: * contrib/glilypond/ChangeLog.0x: * contrib/glilypond/args.pl: * contrib/glilypond/glilypond.am: * contrib/glilypond/glilypond.pl: * contrib/glilypond/oop_fh.pl: * contrib/glilypond/subs.pl: * contrib/gperl/gperl.am: * contrib/gpinyin/ChangeLog: * contrib/gpinyin/gpinyin.am: * contrib/gpinyin/gpinyin.pl: * contrib/gpinyin/subs.pl: * contrib/grap2graph/grap2graph.am: * contrib/groff_filenames/ChangeLog: * contrib/groff_filenames/groff_filenames.am: * contrib/hdtbl/ChangeLog: * contrib/hdtbl/hdtbl.am: * contrib/mm/mm.am: * contrib/mom/ChangeLog: * contrib/mom/mom.am: * contrib/pdfmark/ChangeLog: * contrib/pdfmark/pdfmark.am: * contrib/pic2graph/pic2graph.am: * font/devX100-12/devX100-12.am: * font/devX100/devX100.am: * font/devX75-12/devX75-12.am: * font/devX75/devX75.am: * font/devascii/devascii.am: * font/devcp1047/devcp1047.am * font/devdvi/devdvi.am: * font/devlbp/devlbp.am: * font/devlj4/devlj4.am: * font/devpdf/devpdf.am: * font/devps/devps.am: * font/devutf8/devutf8.am: * font/scripts/scripts.am: * man/man.am: * src/include/include.am: * src/libs/libbib/libbib.am: * src/libs/libdriver/libdriver.am: * src/libs/libgroff/libgroff.am: * src/libs/libxutil/libxutil.am: * src/roff/groff/groff.am: * src/roff/grog/grog.am: * src/roff/nroff/nroff.am: * src/roff/troff/troff.am: * src/utils/addftinfo/addftinfo.am: * src/utils/afmtodit/afmtodit.am: * src/utils/hpftodit/hpftodit.am: * tmac/tmac.am: Tell Vim to auto-indent the file. * BUG-REPORT: * ChangeLog.115: * ChangeLog.116: * ChangeLog.117: * ChangeLog.118: * ChangeLog.119: * ChangeLog.120: * ChangeLog.121: * INSTALL.extra: * Makefile.am: * arch/mingw/mingw.am: * arch/misc/misc.am: * contrib/chem/README.txt: * contrib/chem/chem.pl: * contrib/chem/examples/122/ch2a_ethyl.chem: * contrib/chem/examples/122/ch4a_stick.chem: * contrib/chem/examples/122/ch4j_ring4.chem: * contrib/chem/examples/README.txt: * contrib/chem/examples/atp.chem: * contrib/chem/examples/cholesterin.chem: * contrib/chem/examples/ethamivan.chem: * contrib/chem/examples/lsd.chem: * contrib/chem/examples/reserpine.chem: * contrib/eqn2graph/eqn2graph.am: * contrib/gdiffmk/ChangeLog: * contrib/gdiffmk/README: * contrib/gdiffmk/gdiffmk.am: * contrib/glilypond/ChangeLog: * contrib/glilypond/ChangeLog.0x: * contrib/glilypond/README.txt: * contrib/glilypond/args.pl: * contrib/glilypond/glilypond.pl: * contrib/glilypond/oop_fh.pl: * contrib/glilypond/subs.pl: * contrib/gpinyin/ChangeLog: * contrib/gpinyin/gpinyin.pl: * contrib/gpinyin/subs.pl: * contrib/grap2graph/grap2graph.am: * contrib/groff_filenames/ChangeLog: * contrib/hdtbl/ChangeLog: * contrib/mm/mm.am: * contrib/mom/ChangeLog: * contrib/mom/mom.am: * contrib/pdfmark/ChangeLog: * contrib/pic2graph/pic2graph.am: Set fill column to 72. * ChangeLog.116: * ChangeLog.117: * ChangeLog.118: * ChangeLog.119: * ChangeLog.120: * ChangeLog.121: * contrib/gdiffmk/ChangeLog: * contrib/glilypond/ChangeLog: * contrib/glilypond/ChangeLog.0x: * contrib/groff_filenames/ChangeLog: * contrib/hdtbl/ChangeLog: * contrib/mom/ChangeLog: * contrib/pdfmark/ChangeLog: Sort Emacs local variables lexicographically. * ChangeLog.115: * ChangeLog.116: * ChangeLog.117: * ChangeLog.118: * ChangeLog.119: * ChangeLog.120: * ChangeLog.121: Tell Emacs the file is a change-log. * Makefile.am: * arch/mingw/mingw.am: * arch/misc/misc.am: * contrib/eqn2graph/eqn2graph.am: Tell Vim the file is an Automake file (it detects at least some in-tree *.am files as ordinary Makefiles). * ChangeLog.115: * contrib/gdiffmk/ChangeLog: * contrib/pdfmark/ChangeLog: Remove Emacs coding declaration. No non-ASCII characters are present. * BUG-REPORT: Prevent Vim filetype detection (Vim thinks it's a generic configuration file due to the hash-commented legal notice). * contrib/glilypond/ChangeLog.0x: Tell Emacs the file is a "change-log" (not "change-log-mode"). * contrib/glilypond/README.txt: Comment the editor settings as is done in top-level plain text documentation. * contrib/gpinyin/ChangeLog: Set Emacs "version-control" variable to "never", in parallel with ChangeLog files elsewhere. (I'm not sure this is necessary with Git, however; maybe we should be removing them everywhere. If so, that's easy to sed.)
* Eliminate "Last updated:" comments.G. Branden Robinson2020-04-291-2/+0
| | | | | | | We have a version control system for that. I left the one in tmac/hyphen.sv intact because the file has external provenance.
* Delete editor-settings comment banners.G. Branden Robinson2020-04-191-4/+0
| | | | | | | | | Most users and developers have lexical coloring/syntax highlighting available these days (cf. 30 years ago). Leaving them in plain-text files (like READMEs) because these are generally not machine-parsed (except for changelogs...) and the indicator may conceivably be useful to novices who stumble across them.
* Update copyright (use gnulib's update-copyright script)Bertrand Garrigues2018-07-031-1/+1
|
* Use $(AM_V_GEN) to silence file generation.Werner Lemberg2018-02-281-9/+7
|
* font: Make style fixes.G. Branden Robinson2017-11-122-13/+16
| | | | | | | | | | | * Break excessively long lines in Automake files where possible. * Flow copyright notices onto one line per the model in the GNU Maintainers' Guide. * Also consistently use four-digit years in copyright notices. * Migrate comments from `quotes' to 'quotes'. * Update and parallelize editor aid comments. Signed-off-by: G. Branden Robinson <g.branden.robinson@gmail.com>
* Put two spaces between sentences in GPL notice.G. Branden Robinson2017-10-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | Fixes half of Savannah #51609 but applies it much more generally. This is a wide-ranging change, but it makes these notices consistent with modern copies of the GPLv3 text. (Some of these files are not GPLv3, but that's where the boilerplate comes from; GPLv2 and LGPLv2.x used semicolons to separate these clauses instead.) If the next resync with Autotools regresses some of these, well, that's a bug in Autotools. I checked with wc -L, and no file grew its longest line to 81 characters due to this change. contrib/hdtbl/hdmisc.tmac-u only: Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is> Blame me for the rest. Signed-off-by: G. Branden Robinson <g.branden.robinson@gmail.com>
* all *.am: correct Emacs mode to "# End:"Bernd Warken2015-08-131-2/+2
|
* all *.am: add latest update, setup Emacs modeBernd Warken2015-08-061-1/+10
|
* Fix `clean', `mostlyclean', `uninstall', `dist' for the `font' dir.Bertrand Garrigues2015-01-271-0/+6
|
* Build and install fonts.Bertrand Garrigues2015-01-272-65/+42
|
* Makefile.sub in whole groff source tree: add $(RM) and change all `rm -f'.Bernd Warken2014-09-201-5/+4
| | | | Add directory test before `rmdir'.
* All Makefile* files: add Emacs setting and GPL2 license (only if lacking)Bernd Warken2014-09-021-0/+35
|
* */Makefile.*: Put straight error-prevention prefixes for `rm', part 2.Steffen Nurpmeso2014-03-301-9/+9
|
* * */Makefile.*: Put straight error-prevention prefixes for `rm'.Steffen Nurpmeso2014-03-301-1/+1
|
* Whitespace.Steffen Nurpmeso2014-03-301-1/+0
|
* '+' isn't a regex metacharacter in sed by defaultColin Watson2014-01-021-2/+2
| | | | | | | | | | | Based on an old patch from Fumitoshi UKAI <ukai@debian.or.jp>. * font/devascii/Makefile.sub ($(FONTS)): Convert extended regex syntax to basic for sed. * font/devcp1047/Makefile.sub ($(FONTS)): Likewise. * font/devhtml/Makefile.sub ($(FONTS)): Likewise. * font/devlatin1/Makefile.sub ($(FONTS)): Likewise. * font/devutf8/Makefile.sub ($(FONTS)): Likewise.
* Rename every file .gitignore'.Bernd Warken2013-12-231-0/+0
|
* * */Makefile.* (CLEANADD, CLEANNOTSRCDIRADD, CLEANDIRADD): Renamed1.20.1Werner LEMBERG2009-01-081-1/+1
| | | | | to... (MOSTLYCLEANADD, MOSTLYCLEANNOTSRCDIRADD, MOSTLYCLEANDIRADD): This.
* Support composite Unicode characters again. Reported by Colin.Werner LEMBERG2006-08-092-0/+1025
| | | | | | | | | | | | * font/devhtml/R.proto: Renamed to... * font/devhtml/R.in: This. * font/devutf8/R.proto: Renamed to... * font/devutf8/R.in: This. Add `charset' line. * font/make-Rproto: New script. * font/devhtml/R.proto, font/devutf8/R.proto: Generated.
* * doc/Makefile.sub (HTMLEXAMPLEFILESALL): New variable. (CLEANADD): Use it.Werner LEMBERG2006-02-262-814/+1
| | | | | | | | | | | | | | | | | | | | | | | | (install_html, uninstall_sub): Updated. Introduce Unicode fonts. * font/devhtml/DESC.proto: Mark as unicode. font/devhtml/R.proto: Remove all * charset entries that are already in glyphuni.cpp. font/devutf8/DESC.proto: Mark as unicode. * font/devutf8/R.proto: Remove all charset entries. src/include/font.h * (font): New static field `is_unicode'. Change order of fields. src/libs/libgroff/font.cpp: Include unicode.h. * (font::font): Update for changed order of fields. (font::contains, font::get_width, font::get_height, font::get_depth, font::get_italic_correction, font::get_left_italic_correction, font::get_subscript_correction, font::get_character_type, font::get_code, font::get_special_device_encoding): Handle both the explicitly enumerated glyphs and use general code for Unicode fonts. (font::load): Make the charset section optional when the font is declared unicode. (font::load_desc): Recognize the `unicode' attribute. * src/libs/libgroff/fontfile.cpp (font::is_unicode): New variable.
* * font/devhtml/R.proto, font/devutf8/R.proto: Remove incorrect \'Werner LEMBERG2006-02-231-3/+1
| | | | and \` entries.
* AC_TYPE_SIGNAL from current autoconf can fail if CC=g++.Werner LEMBERG2005-04-301-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * aclocal.m4 (GROFF_TYPE_SIGNAL): New function. * configure.ac: Use GROFF_TYPE_SIGNAL, not AC_TYPE_SIGNAL. * configure, src/include/config.hin: Regenerated. * PROBLEMS: Updated. Update getopt files. * src/include/getopt.h, src/libs/libgroff/getopt.c, src/libs/libgroff/getopt1.c: Updated from GNU libc CVS. * src/include/getopt_int.h: New file (from GNU libc CVS). * src/include/groff-getopt.h: Updated. * src/include/Makefile.sub (HDRS): Add getopt_int.h. * font/devutf8/NOTES: Updated. Bug fix for Win32 relocatable code. Based on a patch from Keith Marshall. * src/libs/libgroff/maxpathname.cpp (PATH_MAX): Test for `_MAX_PATH' also. * src/libs/libgroff/relocate.c (DEBUG): Define it conditionally. (searchpath) [_WIN32]: Use `_fullpath', not `realpath'.
* * font/devutf8/R.proto: Specify zero width for non-spacing characters.Werner LEMBERG2005-03-281-8/+6
|
* Add Cyrillic support to devutf8.Werner LEMBERG2005-03-141-0/+264
| | | | | | | | | | | | * font/devutf8/R.proto: Add Cyrillic blocks. * tmac/unicode.tmac: New file. * tmac/tty.tmac: Include unicode.tmac if device is utf8. * tmac/Makefile.sub (NORMALFILES): Add unicode.tmac. * NEWS: Updated.
* Add integral extension glyph.Werner LEMBERG2003-12-281-0/+1
| | | | | | | | | | | | | | 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.
* Add forgotten `coproduct' symbol (already available for DVI).Werner LEMBERG2003-12-281-0/+1
| | | | | | | * font/devhtml/R.proto, font/devps/generate/textmap, font/devps/symbolmap, font/devutf8/R.proto, man/groff_char.man, src/libs/libgroff/uniglyph.cc, src/libs/libgroff/glyphuni.cpp: Add U+2210 (\[coproduct]).
* * font/devhtml/R.proto: Add u00{47,67}_0306, u00{53,73}_0327,Werner LEMBERG2003-12-221-0/+42
| | | | | | | | | | | | | | | | | and u0049_0307. Add missing latin-2 glyphs. * font/devutf8/R.proto: Add missing latin-2 glyphs. * tmac/troffrc: Load `composite.tmac' earlier. * tmac/dvi.tmac, tmac/ps.tmac, tmac/lbp.tmac: Add u00{47,67}_0306, u00{53,73}_0327, and u0049_0307. * tmac/X.tmac: Add u00{47,67}_0306. * tmac/tty-char.tmac: Use composite glyph names for readability. * NEWS: Updated. * src/include/unicode.h: Remove `extern' keywords.
* Add some glyphs needed for Turkish.Werner LEMBERG2003-12-191-0/+5
| | | | | | | | | * font/devutf8/R.proto: Add u00{47,67}_0306, u00{53,73}_0327, and u0049_0307. * tmac/composite.tmac: Add `,' as a synonym for `ac' accent. * tmac/tty-char.tmac: Add representations for u00{47,67}_0306, u00{53,73}_0327, and u0049_0307.
* * font/devascii/R.proto, font/devcp1037/R.proto,Werner LEMBERG2003-04-151-0/+67
| | | | | | | | | font/devlatin1/R.proto, font/devutf8/R.proto: Fill up remaining character slots with unnamed glyphs. * tmac/an-old.tmac: Fix hyphenation value if `cR' is active. (an-first): New global variable. (an-header): Emit vertical space between multiple man pages.
* Contrary to the PCL5 Developer's Guide, the ascenders in TFM filesWerner LEMBERG2003-02-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | can be negative also. * src/utils/hpftodit/hpftodit.cc (char_info): `ascent' must be `int16'. (read_char_table): Avoid negative ascenders. (output_charset): Add cast. * font/devlj4/*: Regenerated. Replace unnamed glyphs for DVI fonts with `uXXXX' glyph names where possible. * font/devdvi/generate/{tc,texttt,ec,texmi,texsy,textex}.map: Do it. * font/devdvi/generate/textex.map: Map glyph 23 to `u21C6' instead of `<>'. * font/devdvi/*: Regenerated. Map `la' and `ra' to U+27E8 and U+27E9. These two characters have normal width, while the previously used characters (U+2329 and U+232A) are classified as wide due to canonical equivalence with the CJK punctuation characters U+3008 and U+3009. * font/devutf8/R.proto: Updated. * src/roff/troff/uniglyph.cc, src/roff/troff/glyphuni.cc: Ditto. * man/groff_char.man: Simplify handling of table traps by introducing `start block' and `end block' macros. (Ns, Ne, 2s, 2e, Ds, De): New macros. (DL): Make it work with Unix troff also. Fix code values of `la' and `ra'. * tmac/dvi.tmac: Define `<>' for CW and CWI.
* * font/devhtml/R.proto, font/devutf8/R.proto: Flip `*f' and `+f'Werner LEMBERG2003-02-231-2/+2
| | | | | | | | | | | | to be conform with Unicode 3.0 and newer. * font/devlj4/generate/text.map: Add `Eu'. * font/devlj4/generate/special.map: Flip `*e' and `+e'. * font/devlj4/S: Regenerated. * man/groff_char.man: Completely rewritten. * doc/groff.texinfo: Fix description of request and macro arguments.
* Valgrind fixes.Werner LEMBERG2003-02-221-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/devices/grohtml/html-table.cc (html_table::~html_table): Deallocate `columns' list. * src/devices/grohtml/post-html.cc (char_block::~char_block): New destructor. (text_glob::text_glob_html, text_glob::text_glob_special, text_glob::text_glob_line, text_glob::text_glob_auto_image, text_glob::text_glob_tag): Avoid memory leaks. (text_glob::remember_table): Free memory before reassigning. Add glyph `+e', greek lunate epsilon symbol, and `-h' (with the alias `hbar'), the Planck constant over two pi. * font/devdvi/generate/texmi.map: Use `*e' for position 15 and `+e' for position 34. * font/devdvi/generate/texsy.map: Replace `DI' and `HE' with `u2662' and `u2661'. * font/devdvi/{MI,S}: Regenerated. * font/devhtml/R.proto, font/devutf8/R.proto: Add `+e', `-h', `hbar'. * font/devlbp/*: Add `hbar' alias. * font/devlj4/generate/special.map: Ditto. * font/devlj4/S: Regenerated. * font/devps/generate/symbolchars: Add `+e'. * font/devps/generate/textmap: Fix PS name for `-h'. Add `hbar' alias. * font/devps/symbolmap: Regenerated. * src/devices/grops/ps.cc (transform_fill): Removed since unused. * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `+e', `-h', `hbar'. * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `+e', `-h'. * tmac/X.tmac, tmac/ps.tmac: Provide definitions for `-h' and `hbar'. * tmac/tty-char.tmac: Add `+e'.
* Similar to \[is], the square root glyph (\[sr]) and the square rootWerner LEMBERG2003-01-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | extension glyph (\[radicalex]) are now text symbols. The new mathematical versions are called \[sqrt] and \[sqrtex], respectively. * font/devX*/S: Regenerated. * font/devdvi/generate/texex.map: Rename `sr[0123]' to `sqrt[0123]'. * font/devdvi/generate/texsy.map: Rename `sr' to `sqrt'. * font/devdvi/EX, font/devdvi/S: Regenerated. * font/devhtml/R.proto, font/devutf8/R.proto: Add `sqrt'. * font/devlj4/generate/special.map: Add `sqrt'. * font/devlj4/S: Regenerated. * font/devps/generate/textmap: Add `sqrt'. * font/devps/S, font/devps/symbolmap: Regenerated. * src/preproc/eqn/sqrt.cc (SQRT_CHAR, RADICAL_EXTENSION_CHAR, SQRT_CHAIN, BAR_CHAIN): Use `sqrt*' and `sqrtex*'. * src/roff/troff/input.cc (init_charset_table): Make `sqrtex' overlap horizontally. * tmac/X.tmac, tmac/ps.tmac, tmac/lj4.tmac: Add `sqrtex'. * tmac/dvi.tmac: Add `sr', and `sqrtex'. Fix `radicalex'. * doc/groff.texinfo, man/groff_diff.man: Document that `radicalex' and `sqrtex' are overlapping glyphs.
* `is' is now a text symbol (only relevant for dvi). The math variantWerner LEMBERG2003-01-071-0/+1
| | | | | | | | | | | | | | | | | | | can be accessed with `integral'. * font/devX*/S: Regenerated. * font/devdvi/generate/texex.map: Remove `is'. * font/devdvi/EX: Updated. * font/devhtml/R.proto, font/devutf8/R.proto: Add `integral'. * font/devlj4/generate/special.map: Ditto. * font/devlj4/S: Regenerated. * font/devps/generate/textmap: Add `integral'. * font/devps/S: Regenerated. * tmac/dvi.tmac: Define `is'. * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `integral'. * src/preproc/tbl/main.cc (process_format): Fix error message.
* * font/devhtml/R.proto, font/devutf8/R.proto: Add `ne' and `nc'.Werner LEMBERG2003-01-021-0/+2
| | | | | | | | | | | | | | | | | | * font/devps/textmap: Fix entries for `ne' and `nc'. * font/devps/symbolmap: Regenerated. * src/roff/troff/glyphuni.cc (glyph_to_unicode_list), src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `18', `38', `58', `78', `-+', `|=', `nc', `ne'. * tmac/dvi.tmac: Add `nm', `ne', `nc'. Use `schar' for `aq'. * tmac/ps.tmac, tmac/X.tmac: Add `nc' and `ne'. * tmac/ec.tmac: Add `SC' to special fonts for `CW' and `CWI'. * tmac/tty.tmac: Add `ne'. * src/roff/troff/node.cc (make_glyph_node): Test with `get_macro' for fallback glyphs.
* Add glyph `|='.Werner LEMBERG2002-12-301-0/+1
| | | | | | | | | | | | | | | | | | | * font/devX*/*: Regenerated. * font/devdvi/generate/ec.map: Remove `eq'. * font/devdvi/generate/texsy.map: Make `~=' the same as `~~'. Assign `|=' to position 39. * font/devdvi/*EC, S: Regenerated. * font/devhtml/R.proto, font/devutf8/R.proto: Add `|='. * font/devlj4/generate/special.map: Make `~=' the same as `~~'. Assign `|=' to position 549. * font/devps/generate/textmap, font/devps/enerate/symbolmap: Remove `equalmath'. Add `uni2243' for `|='. * tmac/ec.tmac: Add `eq'. * tmac/dvi.tmac: Add `=~'. * tmac/tty-char.tmac, tmac/ps.tmac, tmac/X.tmac, tmac/lbp.tmac: Add `|='.
* * font/devdvi/generate/tc.map: Remove `**'.Werner LEMBERG2002-12-222-6/+6
| | | | | | | | | | | | | | | | | | * font/devdvi/*TC: Regenerated. * font/devhtml/R.proto, font/devutf8/R.proto: Add `18', `38', `58', `78', `<<', `>>'. * font/devutf8/NOTES: Updated. * src/roff/troff/charinfo.h (charinfo): Add `setx_macro' function. Don't give default parameter to `set_macro'. * src/roff/troff/input.cc (do_define_character): Use `setx_macro' instead of `set_macro'. (charinfo::setx_macro): Implement it. (charinfo::set_macro): Don't change `mode'. * tmac/tty.tmac: Add `18', `38', `58', `78', `<<', `>>'. * tmac/ps.tmac, tmac/X.tmac: Add `<<', `>>'. * tmac/dvi.tmac: Define `!=' with `.schar'.
* * font/devX*/S: Regenerated.Werner LEMBERG2002-12-211-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * font/devdvi/generate/ec.map: Remove `pl'. * font/devdvi/generate/tc.map: Remove `mi', `14', `12', `34'. * font/devdvi/*{TC,EC}: Regenerated. * font/devhtml/R.proto: Add `-+'. Remove double entries for `rk', `lk', `lt', `rt', `rb', `lb'. * font/devlbp/*: Remove `or'. * font/devlj4/generate/special.map: Remove `or'. * font/devlj4/S: Regenerated. * font/devps/generate/textmap: Add `fiveeighths', `oneeighth', `seveneighths', `threeeighths'. Remove `plusmath'. Replace `minusplus' with `uni2213'. * font/devps/symbolmap: Regenerated. * font/devutf8/R.proto: Replace `shc' with unnamed glyph. Add `-+'. * src/roff/troff/charinfo.h (charinfo): Add `is_normal' inline function. * src/roff/troff/node.cc (troff_output_file::put_char_width): Call glyph_color and fill_color even if tcommand_flag isn't set. (make_node, node::add_char): Check not ci->is_fallback but ci->is_normal. * tmac/lj4.tmac, tmac/lbp.tmac: Define `or'. * tmac/ec.tmac: Add remove entry for `f/'. Don't remove `12', `14', `34'. Define `pl' to be always roman. * tmac/ps.tmac (ps-frac, ps-frac-mono): New macros. Define `18', `38', `58', `78'. * tmac/tty.tmac: Add `-+'. * tmac/dvi.tmac: Define `f/'. (dvi-frac): Use `f/'. * tmac/X.tmac (X-frac, X-frac-mono): New macros. Define `18', `38', `58', `78'.
* Add glyph `tno', a textual variant of `no'.Werner LEMBERG2002-12-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Add PS font for various Euro glyphs.Werner LEMBERG2002-12-012-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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/devX*/S: Regenerated.Werner LEMBERG2002-11-242-12/+28
| | | | | | | | | | | | | | | | | | | | | * 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'.
* * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `va'Werner LEMBERG2002-11-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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'.