summaryrefslogtreecommitdiff
path: root/tmac/latin2.tmac
Commit message (Collapse)AuthorAgeFilesLines
* [tmac]: Follow up Savannah #63112 fix.G. Branden Robinson2022-10-101-0/+4
| | | | | | | | | | | | * tmac/latin2.tmac: * tmac/latin5.tmac: * tmac/latin9.tmac: Perform the character remapping shenanigans of the fix for Savannah #63112 only if the output device is "latin1" (a terminal using an 8-bit character encoding). Only then can we be sure that Latin-1 glyphs will be unavailable when other encodings are used and that `\N` escape sequences will identify correct glyph indices in a font (because there is no font per se accessible to groff--simply a terminal implementing a character encoding).
* [tmac]: Fix Savannah #63112 (3/3).G. Branden Robinson2022-10-031-0/+124
| | | | | | * tmac/latin2.tmac: Replace characters that ISO Latin-1 has but Latin-2 doesn't. Map characters that ISO Latin-2 has and Latin-1 doesn't to their numeric code points.
* [tmac]: Stop remapping input soft hyphen chars.G. Branden Robinson2022-04-161-5/+3
| | | | | | | | | | * tmac/cp1047.tmac: * tmac/latin1.tmac: * tmac/latin2.tmac: * tmac/latin5.tmac: * tmac/latin9.tmac: Stop remapping input soft hyphen characters with `tr` requests in character encoding macro files. The formatter does this for us now.
* [tmac]: Remove compatibility mode save registers.G. Branden Robinson2021-07-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | ...after using them. * tmac/an.tmac: * tmac/andoc.tmac: * tmac/cp1047.tmac: * tmac/devtag.tmac: * tmac/ec.tmac: * tmac/fallbacks.tmac: * tmac/latin1.tmac: * tmac/latin2.tmac: * tmac/latin5.tmac: * tmac/latin9.tmac: * tmac/papersize.tmac: * tmac/pdfpic.tmac: * tmac/psold.tmac: * tmac/pspic.tmac: * tmac/trace.tmac: * tmac/unicode.tmac: Do it. * doc/groff.texi (Implementation Differences): * man/groff_diff.7.man (Implementation Differences): Illustrate doing so in relevant examples.
* **/*.{man,tmac}: Save compatibility mode robustly.G. Branden Robinson2020-04-191-2/+2
| | | | | | | | | | | Use new \n[.cp] register to save compatibilty mode. Use register names based on the filename (at the source maintenance level) to avoid clobbering other files' saved compatibility modes. tmac/html.tmac: Eliminate reference to saved-compatibility register by moving its test inside the block where compatibility mode is off. This is the only part of this changeset that was not automated.
* tmac/*.tmac: Add editor assist comments.G. Branden Robinson2020-04-171-0/+6
| | | | Most *.tmac files already had some.
* tmac/*: Improve the license information and Emacs setupBernd Warken2014-09-181-0/+2
|
* * tmac/an-old.tmac: Use register `HY' to control hyphenation.Werner LEMBERG2003-03-101-98/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * NEWS, tmac/groff_man.man, doc/groff.texinfo: Document it. Added support to access more than 256 glyphs in Type 1 fonts. * src/devices/grops/ps.cc (subencoding): New structure. (style): Add `sub' field. Updated all users. (ps_printer): Add `subencodings' and `next_subencoding_index' fields. Add `set_subencoding', `get_subfont' and `encode_subfont' member functions. Updated all users. (ps_printer::set_char): Use `set_subencoding'. (make_subencoding_name): New function. (ps_printer::set_style): Handle case where `sty.sub' is not zero. (ps_printer::~ps_printer): Emit subencoding definitions. * src/devices/grops/psrm.cc (valid_input_table): New array to properly support EBCDIC. (white_space): Add `\f'. (ps_get_line): Change first argument to be of type `string &'. Updated all callers. This allows to get lines of arbitrary length. Use `valid_input_table'. Remove warning about non-conforming PS line length. This seems not to be of great importance -- for example, dvips don't emit a warning either. (PS_LINE_MAX): Removed. (matches_comment): Change first argument to be of type `string &'. * src/devices/grops/grops.man, src/devices/grops/TODO: Updated. * src/utils/afmtodit/afmtodit.pl (%unicode_decomposed, %AGL_to_unicode, %default_ligatures): New hash tables. Read all map entries. Add unencoded characters. Check for default ligatures if there are no `L' entries. Print all kern entries. Print all characters in charset. * src/utils/afmtodit/afmtodit.man: Updated. * font/devps/*: Regerated all fonts. * tmac/latin[129].tmac, tmac/cp1047.tmac: Don't test for existence of characters, just use `.trin'. Otherwise the mapping is depending on the font encoding. * tmac/ps.tmac: Add `fi' and `fl'. Improve `Fi' and `Fl'. * tmac/X.tmac, tmac/lbp.tmac, tmac/tty.tmac: Improve `Fi' and `Fl'. * tmac/Xps.tmac: Fix `em'. * NEWS: Updated.
* * font/devdvi/generate/ec.map: Add some more Unicode entities.Werner LEMBERG2003-03-011-0/+111
* font/devdvi/*EC: Updated. * tmac/composite.tmac, tmac/latin2.tmac, tmac/latin9.tmac: New files. * tmac/latin1 (latin1-tr): Undo any previous mapping. * tmac/troffrc: Load `composite.tmac'. * tmac/Makefile.sub (NORMALFILES): Updated. * NEWS: Updated.