groff-commit
[Top][All Lists]
Advanced

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

[Groff-commit] groff ./ChangeLog src/devices/grodvi/dvi.cpp sr...


From: Werner LEMBERG
Subject: [Groff-commit] groff ./ChangeLog src/devices/grodvi/dvi.cpp sr...
Date: Sat, 30 Oct 2004 07:17:04 -0400

CVSROOT:        /cvsroot/groff
Module name:    groff
Branch:         
Changes by:     Werner LEMBERG <address@hidden> 04/10/30 11:11:00

Modified files:
        .              : ChangeLog 
        src/devices/grodvi: dvi.cpp 
        src/devices/grohtml: post-html.cpp 
        src/devices/grolbp: lbp.cpp 
        src/devices/grolj4: lj4.cpp 
        src/devices/grops: ps.cpp 
        src/devices/grotty: tty.cpp 
        src/include    : printer.h 

Log message:
        * src/include/printer.h (printer): Remove virtual function
        `round_width'.
        Update all source files.
        
        * src/devices/grohtml/post-html.cpp (html_printer): New member
        function `round_width'.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/ChangeLog.diff?tr1=1.754&tr2=1.755&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/src/devices/grodvi/dvi.cpp.diff?tr1=1.5&tr2=1.6&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/src/devices/grohtml/post-html.cpp.diff?tr1=1.11&tr2=1.12&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/src/devices/grolbp/lbp.cpp.diff?tr1=1.5&tr2=1.6&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/src/devices/grolj4/lj4.cpp.diff?tr1=1.5&tr2=1.6&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/src/devices/grops/ps.cpp.diff?tr1=1.6&tr2=1.7&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/src/devices/grotty/tty.cpp.diff?tr1=1.9&tr2=1.10&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/src/include/printer.h.diff?tr1=1.11&tr2=1.12&r1=text&r2=text

Patches:
Index: groff/ChangeLog
diff -u groff/ChangeLog:1.754 groff/ChangeLog:1.755
--- groff/ChangeLog:1.754       Wed Oct 20 12:47:02 2004
+++ groff/ChangeLog     Sat Oct 30 11:10:59 2004
@@ -1,3 +1,12 @@
+2004-10-30  Gaius Mulley  <address@hidden>
+
+       * src/include/printer.h (printer): Remove virtual function
+       `round_width'.
+       Update all source files.
+
+       * src/devices/grohtml/post-html.cpp (html_printer): New member
+       function `round_width'.
+
 2004-10-20  Tadziu Hoffmann  <address@hidden>
 
        * src/preproc/tbl/table.cpp (table::do_row): Fix handling of the `d'
Index: groff/src/devices/grodvi/dvi.cpp
diff -u groff/src/devices/grodvi/dvi.cpp:1.5 
groff/src/devices/grodvi/dvi.cpp:1.6
--- groff/src/devices/grodvi/dvi.cpp:1.5        Thu Oct  7 11:50:17 2004
+++ groff/src/devices/grodvi/dvi.cpp    Sat Oct 30 11:11:00 2004
@@ -112,11 +112,6 @@
   output_font() : f(0) { }
 };
 
-int printer::round_width(int x)
-{
-  return x;
-}
-
 class dvi_printer : public printer {
   FILE *fp;
   int max_drift;
Index: groff/src/devices/grohtml/post-html.cpp
diff -u groff/src/devices/grohtml/post-html.cpp:1.11 
groff/src/devices/grohtml/post-html.cpp:1.12
--- groff/src/devices/grohtml/post-html.cpp:1.11        Fri Oct 15 05:08:35 2004
+++ groff/src/devices/grohtml/post-html.cpp     Sat Oct 30 11:11:00 2004
@@ -2074,6 +2074,7 @@
   void handle_assertion               (int minv, int minh, int maxv, int maxh, 
const char *s);
   void handle_state_assertion         (text_glob *g);
   void do_end_para                    (text_glob *g);
+  int  round_width                    (int x);
   // ADD HERE
 
 public:
@@ -4786,7 +4787,7 @@
  *  taken from number.cpp in src/roff/troff, [hunits::hunits(units x)]
  */
 
-int printer::round_width(int x)
+int html_printer::round_width(int x)
 {
   int r = font::hor;
   int n;
Index: groff/src/devices/grolbp/lbp.cpp
diff -u groff/src/devices/grolbp/lbp.cpp:1.5 
groff/src/devices/grolbp/lbp.cpp:1.6
--- groff/src/devices/grolbp/lbp.cpp:1.5        Thu Oct  7 11:50:17 2004
+++ groff/src/devices/grolbp/lbp.cpp    Sat Oct 30 11:11:00 2004
@@ -59,11 +59,6 @@
   lbp_font(const char *);
 };
 
-int printer::round_width(int x)
-{
-  return x;
-}
-
 class lbp_printer : public printer {
 public:
   lbp_printer(int, double, double);
Index: groff/src/devices/grolj4/lj4.cpp
diff -u groff/src/devices/grolj4/lj4.cpp:1.5 
groff/src/devices/grolj4/lj4.cpp:1.6
--- groff/src/devices/grolj4/lj4.cpp:1.5        Thu Oct  7 11:50:17 2004
+++ groff/src/devices/grolj4/lj4.cpp    Sat Oct 30 11:11:00 2004
@@ -159,11 +159,6 @@
   }
 }
 
-int printer::round_width(int x)
-{
-  return x;
-}
-
 class lj4_printer : public printer {
 public:
   lj4_printer(int);
Index: groff/src/devices/grops/ps.cpp
diff -u groff/src/devices/grops/ps.cpp:1.6 groff/src/devices/grops/ps.cpp:1.7
--- groff/src/devices/grops/ps.cpp:1.6  Thu Oct  7 11:50:17 2004
+++ groff/src/devices/grops/ps.cpp      Sat Oct 30 11:11:00 2004
@@ -1778,11 +1778,6 @@
     --invis_count;
 }
 
-int printer::round_width(int x)
-{
-  return x;
-}
-
 printer *make_printer()
 {
   return new ps_printer(user_paper_length);
Index: groff/src/devices/grotty/tty.cpp
diff -u groff/src/devices/grotty/tty.cpp:1.9 
groff/src/devices/grotty/tty.cpp:1.10
--- groff/src/devices/grotty/tty.cpp:1.9        Thu Oct  7 11:50:17 2004
+++ groff/src/devices/grotty/tty.cpp    Sat Oct 30 11:11:00 2004
@@ -192,11 +192,6 @@
   }
 }
 
-int printer::round_width(int x)
-{
-  return x;
-}
-
 class tty_printer : public printer {
   int is_utf8;
   glyph **lines;
Index: groff/src/include/printer.h
diff -u groff/src/include/printer.h:1.11 groff/src/include/printer.h:1.12
--- groff/src/include/printer.h:1.11    Thu Oct  7 11:50:16 2004
+++ groff/src/include/printer.h Sat Oct 30 11:11:00 2004
@@ -83,7 +83,6 @@
   virtual void end_of_line();
   virtual void special(char *arg, const environment *env,
                       char type = 'p');
-  virtual int round_width(int);
 
 protected:
   font_pointer_list *font_list;




reply via email to

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