diff options
author | wl <wl> | 2005-12-03 08:15:11 +0000 |
---|---|---|
committer | wl <wl> | 2005-12-03 08:15:11 +0000 |
commit | 8fde383a77b9ce749b20956e3ad58c73a1e50bcb (patch) | |
tree | eb16038ccfb5594f64186caa2cd822081d1b5596 /src/utils | |
parent | dd1bdb7e060e83056b97628a1c94c24711feab6a (diff) | |
download | groff-8fde383a77b9ce749b20956e3ad58c73a1e50bcb.tar.gz |
doc fixes
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/afmtodit/afmtodit.man | 11 | ||||
-rw-r--r-- | src/utils/afmtodit/afmtodit.pl | 6 |
2 files changed, 9 insertions, 8 deletions
diff --git a/src/utils/afmtodit/afmtodit.man b/src/utils/afmtodit/afmtodit.man index 978de344..54554b36 100644 --- a/src/utils/afmtodit/afmtodit.man +++ b/src/utils/afmtodit/afmtodit.man @@ -57,7 +57,7 @@ afmtodit \- create font files for use with groff \-Tps .ad \na . .LP -The whitespace between an command line option and its argument is optional. +The whitespace between a command line option and its argument is optional. . .SH DESCRIPTION .B afmtodit @@ -104,14 +104,11 @@ If the file isn't found in the current directory, it is searched in the `devps/generate' subdirectory of the default font directory. . .LP -If a PostScript character is not named as -.BI uni XXXX -.RI ( XXXX -are four uppercase hexadecimal digits), and is not mentioned in +If a PostScript character is not mentioned in .IR map_file , and a generic groff glyph name can't be deduced using the Adobe Glyph List (AGL, built into -.BR afmtodit ), +.BR afmtodit ), then .B afmtodit puts the PostScript character into the groff font file as an unnamed @@ -119,6 +116,8 @@ character which can only be accessed by the .B \eN escape sequence in .BR troff . +In particular, this is true for glyph variants like `foo.bar'; all glyph +names containing one or more periods are mapped to unnamed entities. . If option .B \-e diff --git a/src/utils/afmtodit/afmtodit.pl b/src/utils/afmtodit/afmtodit.pl index 0ff85de2..bab1cc52 100644 --- a/src/utils/afmtodit/afmtodit.pl +++ b/src/utils/afmtodit/afmtodit.pl @@ -6246,8 +6246,8 @@ while (<MAP>) { $map{$field[0], $nmap{$field[0]}} = $field[1]; $nmap{$field[0]} += 1; - # There is more then one way to make a PS glyph name; - # let us try unicode names with `uni' and `u' prefixes. + # There is more than one way to make a PS glyph name; + # let us try Unicode names with both `uni' and `u' prefixes. my $utmp = $AGL_to_unicode{$field[0]}; if (defined $utmp && $utmp =~ /^[0-9A-F]{4}$/) { foreach my $unicodepsname ("uni" . $utmp, "u" . $utmp) { @@ -6564,3 +6564,5 @@ for (my $i = 0; $i <= $#encoding; $i++) { sub conv { $_[0]*$unitwidth*$resolution/(72*1000*$sizescale) + ($_[0] < 0 ? -.5 : .5); } + +# eof |