groff-commit
[Top][All Lists]
Advanced

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

[Groff-commit] groff ./ChangeLog src/devices/grohtml/post-html...


From: Werner LEMBERG
Subject: [Groff-commit] groff ./ChangeLog src/devices/grohtml/post-html...
Date: Wed, 16 Feb 2005 15:20:34 -0500

CVSROOT:        /cvsroot/groff
Module name:    groff
Branch:         
Changes by:     Werner LEMBERG <address@hidden> 05/02/16 20:20:34

Modified files:
        .              : ChangeLog 
        src/devices/grohtml: post-html.cpp 

Log message:
        * src/devices/grohtml/post-html.cpp (html_printer::is_line_start,
        html_printer::start_font): Fix handling of preformatted text.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/ChangeLog.diff?tr1=1.788&tr2=1.789&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/src/devices/grohtml/post-html.cpp.diff?tr1=1.18&tr2=1.19&r1=text&r2=text

Patches:
Index: groff/ChangeLog
diff -u groff/ChangeLog:1.788 groff/ChangeLog:1.789
--- groff/ChangeLog:1.788       Wed Feb 16 14:07:23 2005
+++ groff/ChangeLog     Wed Feb 16 20:20:33 2005
@@ -1,3 +1,8 @@
+2004-02-16  Gaius Mulley  <address@hidden>
+
+       * src/devices/grohtml/post-html.cpp (html_printer::is_line_start,
+       html_printer::start_font): Fix handling of preformatted text.
+
 2004-02-15  Gaius Mulley  <address@hidden>
 
        These patches modify the indentation implementation to use `<p
Index: groff/src/devices/grohtml/post-html.cpp
diff -u groff/src/devices/grohtml/post-html.cpp:1.18 
groff/src/devices/grohtml/post-html.cpp:1.19
--- groff/src/devices/grohtml/post-html.cpp:1.18        Wed Feb 16 14:07:24 2005
+++ groff/src/devices/grohtml/post-html.cpp     Wed Feb 16 20:20:34 2005
@@ -3772,7 +3772,7 @@
     do {
       page_contents->glyphs.move_left();
       g = page_contents->glyphs.get_data();
-      result = !g->is_a_tag();
+      result = g->is_a_tag();
       if (g->is_fi())
        nf = FALSE;
       else if (g->is_nf())
@@ -3849,27 +3849,27 @@
     current_paragraph->do_italic();
   } else if (strcmp(fontname, "CR") == 0) {
     if ((! fill_on) && (is_courier_until_eol()) &&
-       is_line_start(fill_on)) {
+       is_line_start(! fill_on)) {
       current_paragraph->do_pre();
     }
     current_paragraph->do_tt();
   } else if (strcmp(fontname, "CI") == 0) {
     if ((! fill_on) && (is_courier_until_eol()) &&
-       is_line_start(fill_on)) {
+       is_line_start(! fill_on)) {
       current_paragraph->do_pre();
     }
     current_paragraph->do_tt();
     current_paragraph->do_italic();
   } else if (strcmp(fontname, "CB") == 0) {
     if ((! fill_on) && (is_courier_until_eol()) &&
-       is_line_start(fill_on)) {
+       is_line_start(! fill_on)) {
       current_paragraph->do_pre();
     }
     current_paragraph->do_tt();
     current_paragraph->do_bold();
   } else if (strcmp(fontname, "CBI") == 0) {
     if ((! fill_on) && (is_courier_until_eol()) &&
-       is_line_start(fill_on)) {
+       is_line_start(! fill_on)) {
       current_paragraph->do_pre();
     }
     current_paragraph->do_tt();




reply via email to

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