/[groff]/groff/src/devices/grohtml/post-html.cpp
ViewVC logotype

Diff of /groff/src/devices/grohtml/post-html.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.18 by wl, Wed Feb 16 14:07:24 2005 UTC revision 1.19 by wl, Wed Feb 16 20:20:34 2005 UTC
# Line 3772  int html_printer::is_line_start (int nf) Line 3772  int html_printer::is_line_start (int nf)
3772      do {      do {
3773        page_contents->glyphs.move_left();        page_contents->glyphs.move_left();
3774        g = page_contents->glyphs.get_data();        g = page_contents->glyphs.get_data();
3775        result = !g->is_a_tag();        result = g->is_a_tag();
3776        if (g->is_fi())        if (g->is_fi())
3777          nf = FALSE;          nf = FALSE;
3778        else if (g->is_nf())        else if (g->is_nf())
# Line 3849  void html_printer::start_font (const cha Line 3849  void html_printer::start_font (const cha
3849      current_paragraph->do_italic();      current_paragraph->do_italic();
3850    } else if (strcmp(fontname, "CR") == 0) {    } else if (strcmp(fontname, "CR") == 0) {
3851      if ((! fill_on) && (is_courier_until_eol()) &&      if ((! fill_on) && (is_courier_until_eol()) &&
3852          is_line_start(fill_on)) {          is_line_start(! fill_on)) {
3853        current_paragraph->do_pre();        current_paragraph->do_pre();
3854      }      }
3855      current_paragraph->do_tt();      current_paragraph->do_tt();
3856    } else if (strcmp(fontname, "CI") == 0) {    } else if (strcmp(fontname, "CI") == 0) {
3857      if ((! fill_on) && (is_courier_until_eol()) &&      if ((! fill_on) && (is_courier_until_eol()) &&
3858          is_line_start(fill_on)) {          is_line_start(! fill_on)) {
3859        current_paragraph->do_pre();        current_paragraph->do_pre();
3860      }      }
3861      current_paragraph->do_tt();      current_paragraph->do_tt();
3862      current_paragraph->do_italic();      current_paragraph->do_italic();
3863    } else if (strcmp(fontname, "CB") == 0) {    } else if (strcmp(fontname, "CB") == 0) {
3864      if ((! fill_on) && (is_courier_until_eol()) &&      if ((! fill_on) && (is_courier_until_eol()) &&
3865          is_line_start(fill_on)) {          is_line_start(! fill_on)) {
3866        current_paragraph->do_pre();        current_paragraph->do_pre();
3867      }      }
3868      current_paragraph->do_tt();      current_paragraph->do_tt();
3869      current_paragraph->do_bold();      current_paragraph->do_bold();
3870    } else if (strcmp(fontname, "CBI") == 0) {    } else if (strcmp(fontname, "CBI") == 0) {
3871      if ((! fill_on) && (is_courier_until_eol()) &&      if ((! fill_on) && (is_courier_until_eol()) &&
3872          is_line_start(fill_on)) {          is_line_start(! fill_on)) {
3873        current_paragraph->do_pre();        current_paragraph->do_pre();
3874      }      }
3875      current_paragraph->do_tt();      current_paragraph->do_tt();

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26