CVSROOT:        /cvsroot/groff
Module name:    groff
Branch:         
Changes by:     Gaius Mulley <[EMAIL PROTECTED]>        05/11/10 08:36:53

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

Log message:
        * src/devices/grohtml/post-html.cpp
        (html_printer::do_heading): reset font to NULL to ensure
        that a font block is recreated during the next paragraph.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/ChangeLog.diff?tr1=1.857&tr2=1.858&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/src/devices/grohtml/post-html.cpp.diff?tr1=1.25&tr2=1.26&r1=text&r2=text

Patches:
Index: groff/ChangeLog
diff -u groff/ChangeLog:1.857 groff/ChangeLog:1.858
--- groff/ChangeLog:1.857       Fri Nov  4 07:47:42 2005
+++ groff/ChangeLog     Thu Nov 10 08:36:52 2005
@@ -1,3 +1,9 @@
+2005-11-10  Gaius Mulley  <[EMAIL PROTECTED]>
+
+       * src/devices/grohtml/post-html.cpp
+       (html_printer::do_heading): reset font to NULL to ensure
+        that a font block is recreated during the next paragraph.
+
 2005-11-04  Werner LEMBERG  <[EMAIL PROTECTED]>
 
        * aclocal.m4 (GROFF_MAKEINFO): Fix sed expression.
Index: groff/src/devices/grohtml/post-html.cpp
diff -u groff/src/devices/grohtml/post-html.cpp:1.25 
groff/src/devices/grohtml/post-html.cpp:1.26
--- groff/src/devices/grohtml/post-html.cpp:1.25        Thu May 26 21:01:58 2005
+++ groff/src/devices/grohtml/post-html.cpp     Thu Nov 10 08:36:53 2005
@@ -2577,7 +2577,12 @@
   determine_header_level(level);
   write_header();
 
-  // finally set the output to neutral for after the header
+  /*
+   *  finally set the output font to uninitialized, thus forcing
+   *  the new paragraph to start a new font block.
+   */
+
+  output_style.f = NULL;
   g = page_contents->glyphs.get_data();
   page_contents->glyphs.move_left();     // so that next time we use old g
 }


_______________________________________________
Groff-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to