summaryrefslogtreecommitdiff
path: root/font
Commit message (Collapse)AuthorAgeFilesLines
* Change $PERLPATH to $PERL.bwarken2013-04-151-2/+5
|
* * font/devpdf/Makefile.sub: Build system fixes.wl2013-03-191-1/+3
| | | | | | (GROFF_FONT_FILES): Avoid installing Makefile.sub.orig when it's around. (install): Create $(DESTDIR)$(fontsubdir)/util when missing.
* Building clean-ups.wl2013-01-291-4/+2
| | | | | | | | | * Makefile.in: Use $(top_srcdir) where appropriate. * Makefile.sub (M4MACROS): Add `fcntl-o.m4' and `localcharset.m4'. * font/devpdf/Makefile.sub (UTILFILES): Removed, unused. (MOSTLYCLEANADD): Add `BuildFoundries'. * src/devices/gropdf/Makefile.sub (MOSTLYCLEANADD): Add `pdfmom'.
* * src/devices/gropdf/gropdf.pl (do_x, do_p, do_s, Set_LWidth): Thewl2013-01-172-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | grops driver defaults to round linecaps and linejoins, gropdf incorrectly used butt caps and miter joins. (Since the MOM package expects to use butt caps and miter joins (emitting the necessary postscript code to change the caps and joins), gropdf now parses the same postscript commands.) * src/devices/gropdf/gropdf.man: Document the handling of linecaps and linejoins. * tmac/pdf.tmac (pdfbookmark): Fix bug where the current PDFOUTLINE.FOLDLEVEL may not be honoured if warnings of the type macro warning: adjusted level n bookmark; should be <= n Added copyright and mention debt owed to Keith Marshall for original `pdfmark.tmac', upon which `pdf.tmac' is largely based. * font/devpdf/Foundry.in, font/devpdf/util/BuildFoundries.pl (LocateFile): The font for EURO had the wrong entry in the `download' file (it pointed to The font in the build directory, which is wrong). It has always been permissable to include a path along with the font name in the Foundry file, but until now the font had to exist to be valid. It is now permitted to start the path with an asterisk which tells BuildFoundry to use the path/filename in the download file without checking if the font exists. This allows the font to be found in `../devps' even though it is not there during the build (if source and build are different), but will be there after the install.
* * font/devpdf/util/BuildFoundries.pl (LoadFoundry): Improve warning.wl2013-01-071-1/+2
|
* [gropdf] Various minor fixes.wl2012-09-202-3/+2
| | | | | | | | | | | | | | * font/devpdf/Foundry.in: Add font path to debian `gsfonts' package. * font/devpdf/util/BuildFoundries.pl: Handle missing fonts in a more sane way, do NOT abort the complete make run! * src/devices/gropdf/gropdf: Accept papersize names (i.e. A4) as either upper or lower case. The -p (papersize) option should be length,width (currently reversed - width,length) * src/devices/gropdf/pdfmom.pl: Support use of GROFF_BIN_PATH.
* * font/devpdf/Makefile.sub: Only build fonts on first `make'.wl2011-12-261-7/+5
|
* [gropdf] More minor fixes.wl2011-08-141-1/+0
| | | | | | | | | * font/devpdf/Makefile.sub (MOSTLYCLEANADD): Don't attempt to install 'util/BuildFoundries', only used in 'make'. * src/devices/gropdf/gropdf.pl (<top>, GetType1): Make STDOUT and any font files read to be accessed in binary rather than text mode. Prevents errors when running on systems set up for UTF-8.
* *** empty log message ***wl2011-08-102-76/+38
|
* [gropdf] Minor updates and fixes.wl2011-08-102-43/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | * src/devices/gropdf/gropdf.pl: Change command line option `-fy' to `-y' for consistency. Better support for Windows platform. (do_x): Handle keywords `pagename' and `switchtopage'. * doc/groff.texinfo, src/devices/gropdf/gropdf.man: Updated. * font/devpdf/Foundry: Renamed to... * font/devpdf/Foundry.in: This. Add default alias font names. * font/devpdf/util/BuildFoundries.pl: This is now an installation helper script and gets not longer installed. Support alternative font file names (separated with `!'). * font/devpdf/Makefile.sub: Fixes to work with a separate build directory. Font files are now build at `make' time; this makes `test-groff' work with -Tpdf. * font/devpdf/util/Makefile.sub: Removed. * Makefile.in (DEVDIRS, OTHERDIRS, EXTRADIRS): Handle devpdf specially.
* Add new output device `gropdf'.wl2011-07-265-0/+709
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Fix metric files for devps families A, BM, and font ZCMI.wl2010-05-299-1832/+4221
| | | | | | | | Problem reported by Denis M. Wilson <dmw@oxytropis.plus.com>. * font/devps/{AB, ABI, AI, AR, BMB, BMBI, BMI, BMR, ZCMI}: Regenerated, using correct AFM files (from the Adobe Core 35 fonts with 229 glyphs).
* Update symbol tables for devps font generation.wl2010-05-1941-909/+898
| | | | | | | | | | | | * font/devps/generate/textmap: Sort alphabetically. Replace tabs with spaces. * font/devps/generate/symbolchars: Update list to remove duplicates which have already been added to `textmap' on 2007-04-09. * font/devps/symbolmap: Regenerated. * font/devps/*: Regenerate font definition files.
* * */Makefile.* (CLEANADD, CLEANNOTSRCDIRADD, CLEANDIRADD): Renamedgroff-1_20_1wl2009-01-089-9/+9
| | | | | to... (MOSTLYCLEANADD, MOSTLYCLEANNOTSRCDIRADD, MOSTLYCLEANDIRADD): This.
* Update copyright year.wl2009-01-055-5/+6
|
* * */*: Update GPL2 to GPL3.wl2009-01-045-25/+20
|
* * font/make-Rproto: Moved to...wl2009-01-041-0/+0
| | | | | | | * font/util/make-Rproto: Here. * Makefile.in (NOMAKEDIRS): Add `m4', `font/devps/old', and `font/util'.
* * NEWS, groff.texinfo, font/devps/*, VERSION, REVISION: Prepare forwl2009-01-0338-38/+38
| | | | version 1.20.
* * font/devps/generate/textmap: Add Greek letters and some more.wl2007-04-091-1/+61
| | | | | * 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-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.