diff options
author | wl <wl> | 2004-10-08 07:08:07 +0000 |
---|---|---|
committer | wl <wl> | 2004-10-08 07:08:07 +0000 |
commit | e751604d543e17be25b564894075c397e82d925d (patch) | |
tree | 4afd2e26fa18236fd221f9ce699fa6dfeaa512f9 /man | |
parent | 6115f62ca1a9f4099cb8e15f0a75f90b0ab93672 (diff) | |
download | groff-e751604d543e17be25b564894075c397e82d925d.tar.gz |
* src/include/font.h (font): New member function
`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.
Diffstat (limited to 'man')
-rw-r--r-- | man/groff_font.man | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/man/groff_font.man b/man/groff_font.man index 7da71550..b806aac9 100644 --- a/man/groff_font.man +++ b/man/groff_font.man @@ -48,7 +48,8 @@ font format. The font files for device .I name are stored in a directory -.BI dev name. +.BI dev name\c +\&. . There are two types of file: a device description file called @@ -103,6 +104,17 @@ The horizontal resolution is machine units. . .TP +.BI image_generator\ string +Needed for +.B grohtml +only. +It specifies the program to generate PNG images from +PostScript input. +Under GNU/Linux this is usually +.I gs +but under other systems (notably cygwin) it might be set to another name. +. +.TP .BI paperlength\ n The physical vertical dimension of the output medium in machine units. . @@ -276,6 +288,13 @@ for fonts whose point size is scaled points. . .TP +.B unscaled_charwidths +Make the font handling module always return unscaled character widths. +Needed for the +.B grohtml +device. +. +.TP .B use_charnames_in_special This command indicates that troff should encode named characters inside special commands. |