groff
[Top][All Lists]
Advanced

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

Re: [Groff] grohtml vertical space patch and (screwdriver, nail and hamm


From: Gaius Mulley
Subject: Re: [Groff] grohtml vertical space patch and (screwdriver, nail and hammer fix)
Date: 16 Feb 2005 13:07:14 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Werner LEMBERG <address@hidden> writes:

> > here is a better patch, I broke <pre> formatted text with the last
> > patch,
> 
> Uh, too late.  Please provide a patch w.r.t. to the current CVS.
> 
> 

Hi Werner,

sure, here it is,

Gaius


--- groff-cvs/src/devices/grohtml/post-html.cpp Wed Feb 16 14:07:24 2005
+++ groff-html/src/devices/grohtml/post-html.cpp        Wed Feb 16 14:48:43 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]