summaryrefslogtreecommitdiff
path: root/font
Commit message (Collapse)AuthorAgeFilesLines
* * man/groff_font.man: Document empty lines.wl2007-01-0138-308/+611
| | | | | | | | * 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.
* * font/devps/generate/Makefile (AFMTODIT): Use -c flag.wl2007-01-0138-15/+309
| | | | * font/devps/*: Regenerate font definition files.
* Updated.wl2006-12-311-125/+125
|
* Old font definition files.wl2006-12-3130-0/+11519
|
* * Makefile.in (oldfontdir): New variable.wl2006-12-3130-5334/+17940
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (MDEFINES): Add $(oldfontdir). (uninstall_dirs): Remove `current' link. Remove $(oldfontdir). * Makefile.comm (oldfontsubdir): New variable. (install_dev): Install files collected in $(OLDDEVFILES) into $(oldfontsubdir). (uninstall_dev): Remove data in $(oldfontsubdir). (.man.n): Handle @OLDFONTDIR@. * src/devices/grodvi/grodvi.man, src/devices/grohtml/grohtml.man, src/devices/grolbp/grolbp.man, src/devices/grolj4/grolj4.man, src/devices/grotty/grotty.man, src/devices/xditview/gxditview.man: Document GROFF_FONT_PATH. * src/devices/grops/grops.man: Document GROFF_FONT_PATH and old font description files. * font/devps/Makefile.sub (OLDDISTFILES, OLDDEVFILES): New variables. * font/devps/old/*: New directory, holding the previous version of the 35 Adobe core font description files. * font/devps/*: Regenerated the 35 Adobe core fonts, using the Adobe-Core35_AFMs-229.tar.bz2 bundle from ftp.dante.de. * NEWS: Document font update.
* * font/devps/generate/Makefile (symbolsl.afm): Use $(srcdir).wl2006-12-311-2/+2
| | | | | | | * Makefile.comm (fonts): New (empty) target. * Makefile.in (TARGETS): Add `fonts'. * MANIFEST: Add `chem'.
* * font/devps/prologue.ps: Add BPhook.wl2006-08-131-0/+1
| | | | | | | | | | | | * src/devices/grops/grops.man: Document BPHook. Reorder some sections for better readability. * src/include/lib.h (getlocale): New macro. (setlocale, LC_ALL, LC_CTYPE) [!HAVE_SETLOCALE]: Define, as suggested by Bruno. * src/preproc/preconv/preconv.cpp (main): Use getlocale.
* Support composite Unicode characters again. Reported by Colin.wl2006-08-095-0/+2102
| | | | | | | | | | | | * 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.
* * fonts/devps/Makefile.sub (DISTFILES): Add freeeuro.afm.wl2006-06-162-2/+2
| | | | | * fonts/devps/generate/Makefile (clean): Don't remove symbolsl.afm and zapfdr.afm.
* Add rules to generate `symbolsl.afm'.wl2006-03-253-45/+86
| | | | | | | | | | | | * fonts/devps/generate/zapfdr.sed, fonts/devps/generate/symbolsl.awk: New files. * fonts/devps/generate/Makefile (symbolfont, PRINTAFM): New variables. (SS, clean): Updated. (freeeuro.afm): Use $(srcdir). (symbolsl.afm): New rule. (zapfdr.afm): Use zapfdr.sed.
* * doc/groff.texinfo: Improve documentation of `.sp'.wl2006-03-191-1/+1
|
* * fonts/devps/generate/make-zapfdr, fonts/devps/symbolsl.ps,wl2006-03-123-2/+3
| | | | fonts/devps/zapfdr.ps: Add `%%EndComments' line.
* * font/devps/generate/make-zapfdr: New script for generatingwl2006-03-091-0/+91
| | | | `zapfdr.ps'.
* * doc/Makefile.sub (HTMLEXAMPLEFILESALL): New variable. (CLEANADD): Use it.wl2006-02-264-1550/+2
| | | | | | | | | | | | | | | | | | | | | | | | (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 \'wl2006-02-232-6/+2
| | | | and \` entries.
* Remove all remaining traces from the `shc' glyph.wl2006-02-232-2/+2
| | | | | | | | | | | | | | * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list), src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Remove entry for `shc'. * font/devlatin1/R.proto, font/devcp1046/R.proto: Replace `shc' entry with unnamed glyph. * tmac/html/tmac: Remove `shc' entry from call to `.cflags'. * src/preproc/preconv/preconv.cpp (unicode_entity): Handle U+00AD specially.
* * font/devdvi/generate/tc.map: Add `sr' glyph.wl2006-02-2211-10/+11
| | | | * font/devdvi/*TC: Regenerated.
* * font/devps/prologue.ps (RE): Check `UniqueID' also, similar towl2006-02-141-1/+4
| | | | dvips.
* * man/groff_font.man: Updated documentation of `entity_name' field.wl2006-01-281-607/+607
| | | | | | | | | | | | | Avoid future tense. * font/devhtml/R.proto: Remove the entity names from the font's special_encoding_encoding column. * src/devices/grohtml/post-html.cpp (get_html_entity): New function, handling the entity names here. (get_html_translation): Use it. Change return type to 'const char *'. (page::add_and_encode): Update, removing a useless cast.
* * fonts/devps/generate/freeeuro.sfd: Run auto-hinter with recentwl2006-01-084-344/+362
| | | | | | | | | | fontforge version. Bump font version to 001.001. * fonts/devps/generate/Makefile (freeeuro.afm, freeeuro.pfa): Call fontforge, not pfaedit. * fonts/devps/freeeuro.afm, fonts/devps/freeeuro.pfa: Regenerated.
* The change 2005-06-20 can indeed cause problems, so we follow thewl2005-12-091-0/+2
| | | | | | | advice by using marks. * font/devps/prologue.ps (PBEGIN): Use `mark'. (PEND): Use `cleartomark'.
* * font/devps/prologue.ps (EP): Dont' use `bind'. Reason: Usingwl2005-06-211-2/+1
| | | | | | | | | | | | | `bind' to define a procedure which contains `showpage' means that an invocation of `showpage' may execute wrongly (the exact effect depending on the interpreter). Not usually a problem except under transformations, such as combining pages. (PEND): Don't call `clear'. Reason: Using `clear' in the definition of /PEND means that stack underflow will occur if the stack is deliberately non-empty before document inclusion. If included files are found to be generally badly behaved, we could replace the `clear' with `mark' in /PBEGIN and `cleartomark' in /PEND (I've never found this necessary).
* * All affected files: Update postal address of FSF.wl2005-05-263-3/+3
|
* Miscellaneous script portability enhancements.wl2005-05-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * aclocal.m4: (GROFF_CSH_HACK): Add space in shebang prototype for generated conftest.sh script, conforming to portability recommendation in autoconf docs. * configure: Likewise, for code generated by GROFF_CSH_HACK. * contrib/eqn2graph/eqn2graph.sh: Add space in shebang, conforming to portability recommendation in autoconf docs. * contrib/gdiffmk/gdiffmk.sh: Likewise. * contrib/gdiffmk/tests/runtests.in: Likewise. * contrib/grap2graph/grap2graph.sh: Likewise. * contrib/groffer/groffer.sh: Likewise. * contrib/mm/mmroff.pl: Likewise. * contrib/mom/momdoc/appendices.html: Likewise. * contrib/pic2graph/pic2graph.sh: Likewise. * font/devps/generate/afmname: Likewise. * src/devices/xditview/ad2c: Likewise. * src/preproc/eqn/neqn.sh: Likewise. * src/roff/grog/grog.pl: Likewise. * src/roff/grog/grog.sh: Likewise. * src/roff/nroff/nroff.sh: Likewise. * PROBLEMS: Likewise, in embedded script examples. Improve portability of `pdfroff' shell script. * arch/misc/shdeps.sh: Add space in shebang, conforming to portability guidelines in `autoconf' docs. (PATH_SEARCH_SETUP): New substitution; emits PATH_SEPARATOR initialization code. Used by contrib/pdfmark/pdfroff.sh's `searchpath' function.
* AC_TYPE_SIGNAL from current autoconf can fail if CC=g++.wl2005-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-spacingwl2005-03-281-8/+6
| | | | characters.
* Add Cyrillic to devhtml.wl2005-03-141-0/+262
|
* Add Cyrillic support to devutf8.wl2005-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.
* * src/include/font.h (font): New member functionwl2004-10-082-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | `get_image_generator'. New variables `unscaled_charwidths' and `image_generator'. * src/libs/libgroff/font.cpp (font::get_width): Always return the character's unscaled width if `font::unscaled_charwidths' is set. (font::get_image_generator): New function. (font::load_desc): Check the `unscaled_charwidths' and `image_generator' keywords. * src/libs/libgroff/fontfile.cpp: Initialize `font::unscaled_charwidths' and `font::image_generator'. * font/devhtml/DESC.proto: s/html/unscaled_charwidths/. * font/devhtml/Makefile.sub (DESC): Set `image_generator' keyword. * man/groff_font.man: Document `unscaled_charwidths' and `image_generator'. * src/preproc/html/pre-html.cpp: Include `device.h'. (image_gen): New global variable. (imageList::createPage): Use `image_gen'. (main): Use `image_generator' keyword.
* * Makefile.in (SEP): Replaced with...wlemb2004-03-051-1/+1
| | | | | | | | | | | | | | | | | | | | (RT_SEP, SH_SEP): Separators for the target platform's native path separator and the build environment, respectively. (fontpath, tmacpath): Use RT_SEP. (MDEFINES): Updated. * contrib/mom/Makefile.sub (GROFF_BIN_PATH): Use SH_SEP. * doc/Makefile.sub (GROFF_BIN_PATH): Use SH_SEP. * src/preproc/eqn/Makefile.sub (neqn): Use SH_SEP. * src/roff/nroff/Makefile.sub (nroff): Use SH_SEP. * fonts/devlj4/Makefile.sub (LJ4RES): Set to 1200. This helps to reduce alignment problems with newer printers which use built-in TrueType fonts (instead of the older Intellifonts). The ideal solution is to provide a second set of groff metric files, but this is extremely time-consuming to produce, given that HP's metric files are very rudimentary.
* * font/devlj4/Makefile.sub (DEVFILES): Updated to contain allwlemb2004-02-191-1/+9
| | | | | | | | | | | new font and mapping files. * src/include/nonposix.h (FLUSH_INPUT_PIPE): New macro to empty an input pipe. This is needed for the MSVC compiler to make troff's `-o' option work. * src/roff/troff/div.cpp: Include nonposix.h. (cleanup_and_exit): Call FLUSH_INPUT_PIPE.
* * font/devlj4/generate/special.awk: New script.wlemb2004-02-1848-20423/+27036
| | | | | | | | * font/devlj4/generate/Makefile (S): Use special.awk. * font/devlj4/*: Regenerated, including the following new files: Arial (AR, AB, AI, ABI), Times New Roman (TNRR, TNRB, TNRI, TNRBI), MS Symbol (SYMBOL), Wingdings (WINGDINGS). * NEWS: Document new lj4 fonts and revised hpftodit.
* * font/devlj4/generate/Makefile (SYMBOL): Use 9nb28703.tfm.wlemb2004-01-183-316/+417
| | | | | | | * font/devlj4/generate/wingdings.map, font/devlj4/generate/symbol.map: Include unnamed glyphs. Use groff glyph names where possible. * src/devices/lj4_font.man: Minor updates.
* * tmac/www.tmac (DC): Handle TTY devices.wlemb2004-01-153-2/+345
| | | | | | | | | | | | | | | | | | | | | | | | * 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-1/+4
| | | | | | | | | | | | | 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-14/+14
| | | | | | | | | | | | | | * 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-032-11/+54
| | | | | | | | | | | | | * 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-012-23/+48
| | | | | | | | | | | | 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-312-8/+91
| | | | | | | | * 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-312-435/+1044
| | | | | | | with the new hpftodit version. * src/utils/hpftodit/hpftodit.cpp (output_charset): Emit HP symbol set and 8bit character code for all glyphs also.
* Add integral extension glyph.wlemb2003-12-2831-7/+270
| | | | | | | | | | | | | | 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).wlemb2003-12-284-0/+4
| | | | | | | * 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,wlemb2003-12-222-4/+93
| | | | | | | | | | | | | | | | | 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.wlemb2003-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/devlj4/generate/Makefile (CORONET): Use correct TFM.wlemb2003-11-302-242/+243
| | | | * font/devlj4/CORONET: Regenerated.
* * font/devascii/R.proto, font/devcp1037/R.proto,wlemb2003-04-154-0/+233
| | | | | | | | | 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.
* Fix typo.wlemb2003-04-051-1/+1
|
* * contrib/mom/Makefile.sub (GROFFBIN): New variable for groffwlemb2003-04-052-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | binary path. (groff_bin_path): Rename to GROFF_BIN_PATH. (GROFF): Use GROFFBIN and GROFF_BIN_PATH. * doc/Makefile.in (TROFFBIN): New variable for troff binary path. (GROFFBIN): New variable for groff binary path. (groff_bin_path): Rename to GROFF_BIN_PATH. (TROFF): Use TROFFBIN. (GROFF): Use GROFFBIN and GROFF_BIN_PATH. * doc/Makefile.sub (GROFFBIN): New variable for groff binary path. (groff_bin_path): Rename to GROFF_BIN_PATH. (GROFF): Use GROFFBIN and GROFF_BIN_PATH. * Makefile.comm (install_dev): Install scripts from DEVSCRIPTS with INSTALL_SCRIPT. (uninstall_dev): Uninstall scripts from DEVSCRIPTS. * Makefile.dev (all): Depend on DEVSCRIPTS. (install_dev): Likewise. * font/devdvi/Makefile.sub (DEVSCRIPTS): New variable to hold scripts. * font/devps/Makefile.sub (DEVSCRIPTS): Likewise. (DEVGENSCRIPTS): New variable to hold generated scripts. * src/libs/libdriver/input.cc (IntArray::operator[], IntArray::get_data): Remove meaningless `const' in return value. * README.CVS: New file.
* * src/devices/grohtml/html-table.cc: Fix column width calculation.wlemb2003-04-011-0/+1
| | | | | | | | | | | | | | | | | | (html_table::set_linelength): Don't add 1. (html_table::add_indent): Don't subtract 1. * tmac/html.tmac: Set default page offset to zero. Make groff emit ` ' for `\ ' and `\~' if `-Thtml' is used. * src/roff/troff/node.cc (space_char_hmotion_node::tprint, unbreakable_space_node::tprint): New functions. (troff_output_file): Make space_char_hmotion_mode::tprint and unbreakable_space_node::tprint to friends. * src/roff/troff/node.h: Updated. * font/devhtml/R.proto: Add `&nbsp' at position 0xA0 (as defined in the HTML standard).