groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff-commit] groff ChangeLog src/roff/troff/node.cpp


From: Werner LEMBERG
Subject: [Groff-commit] groff ChangeLog src/roff/troff/node.cpp
Date: Sun, 06 Jan 2008 14:00:04 +0000

CVSROOT:        /cvsroot/groff
Module name:    groff
Changes by:     Werner LEMBERG <wl>     08/01/06 14:00:04

Modified files:
        .              : ChangeLog 
        src/roff/troff : node.cpp 

Log message:
        * src/roff/troff/node.cpp (left_italic_corrected_node::add_self):
        Don't remove itself if there is no glyph associated with the node
        yet.  This happens, for example, in this situation:
        
          .ll 15000u
          .ft I
          x x
          (\,f

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/ChangeLog?cvsroot=groff&r1=1.1119&r2=1.1120
http://cvs.savannah.gnu.org/viewcvs/groff/src/roff/troff/node.cpp?cvsroot=groff&r1=1.25&r2=1.26

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/groff/groff/ChangeLog,v
retrieving revision 1.1119
retrieving revision 1.1120
diff -u -b -r1.1119 -r1.1120
--- ChangeLog   5 Jan 2008 20:59:05 -0000       1.1119
+++ ChangeLog   6 Jan 2008 14:00:03 -0000       1.1120
@@ -1,3 +1,14 @@
+2008-01-06  Werner LEMBERG  <address@hidden>
+
+       * src/roff/troff/node.cpp (left_italic_corrected_node::add_self):
+       Don't remove itself if there is no glyph associated with the node
+       yet.  This happens, for example, in this situation:
+
+         .ll 15000u
+         .ft I
+         x x
+         (\,f
+
 2008-01-05  Werner LEMBERG  <address@hidden>
 
        * man/groff_char.man, man/groff.man: Revised.

Index: src/roff/troff/node.cpp
===================================================================
RCS file: /cvsroot/groff/groff/src/roff/troff/node.cpp,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- src/roff/troff/node.cpp     11 Aug 2006 10:27:54 -0000      1.25
+++ src/roff/troff/node.cpp     6 Jan 2008 14:00:03 -0000       1.26
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 /* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2001, 2002, 2003, 2004, 2005,
-                 2006
+                 2006, 2008
    Free Software Foundation, Inc.
      Written by James Clark (address@hidden)
 
@@ -5540,8 +5540,12 @@
     nd = n->add_self(nd, p);
     n = 0;
     delete this;
-  }
   return nd;
+  }
+  else {
+    next = nd;
+    return this;
+  }
 }
 
 int left_italic_corrected_node::character_type()




reply via email to

[Prev in Thread] Current Thread [Next in Thread]