[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff-commit] groff ./ChangeLog src/utils/afmtodit/afmtodit.pl
From: |
Werner LEMBERG |
Subject: |
[Groff-commit] groff ./ChangeLog src/utils/afmtodit/afmtodit.pl |
Date: |
Wed, 07 Dec 2005 15:34:04 -0500 |
CVSROOT: /cvsroot/groff
Module name: groff
Branch:
Changes by: Werner LEMBERG <address@hidden> 05/12/07 20:34:04
Modified files:
. : ChangeLog
src/utils/afmtodit: afmtodit.pl
Log message:
* src/utils/afmtodit.pl: Fix kerning output to avoid warnings for
glyphs which have kern values but aren't handled (glyph variants,
for example).
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/ChangeLog.diff?tr1=1.866&tr2=1.867&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/src/utils/afmtodit/afmtodit.pl.diff?tr1=1.16&tr2=1.17&r1=text&r2=text
Patches:
Index: groff/ChangeLog
diff -u groff/ChangeLog:1.866 groff/ChangeLog:1.867
--- groff/ChangeLog:1.866 Fri Dec 2 22:51:04 2005
+++ groff/ChangeLog Wed Dec 7 20:34:03 2005
@@ -1,3 +1,9 @@
+2005-12-07 Michail Vidiassov <address@hidden>
+
+ * src/utils/afmtodit.pl: Fix kerning output to avoid warnings for
+ glyphs which have kern values but aren't handled (glyph variants,
+ for example).
+
2005-12-02 Werner LEMBERG <address@hidden>
* src/devices/grops/ps.cpp (ps_printer::get_subfont): Use correct
Index: groff/src/utils/afmtodit/afmtodit.pl
diff -u groff/src/utils/afmtodit/afmtodit.pl:1.16
groff/src/utils/afmtodit/afmtodit.pl:1.17
--- groff/src/utils/afmtodit/afmtodit.pl:1.16 Sat Dec 3 08:15:11 2005
+++ groff/src/utils/afmtodit/afmtodit.pl Wed Dec 7 20:34:04 2005
@@ -6443,7 +6443,8 @@
for (my $i = 0; $i <= $#kern1; $i++) {
my $c1 = $kern1[$i];
my $c2 = $kern2[$i];
- if ($nmap{$c1} != 0 && $nmap{$c2} != 0) {
+ if (defined $nmap{$c1} && $nmap{$c1} != 0
+ && defined $nmap{$c2} && $nmap{$c2} != 0) {
for (my $j = 0; $j < $nmap{$c1}; $j++) {
for (my $k = 0; $k < $nmap{$c2}; $k++) {
if ($kernx[$i] != 0) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Groff-commit] groff ./ChangeLog src/utils/afmtodit/afmtodit.pl,
Werner LEMBERG <=