Browse Source

Workaround baseline alignment issue in wxHtmlWindow

In particular, don't allow a cell boundary between Japanese/Chinese
chars and Roman chars.

Fixes https://gitlab.com/kicad/code/kicad/issues/9718
6.0.7
Jeff Young 4 years ago
parent
commit
3dc0c78993
  1. 4
      common/dialogs/wx_html_report_panel.cpp

4
common/dialogs/wx_html_report_panel.cpp

@ -225,6 +225,10 @@ wxString WX_HTML_REPORT_PANEL::generateHtml( const REPORT_LINE& aLine )
}
}
// wxHtmlWindow fails to do correct baseline alignment between Japanese/Chinese cells and
// Roman cells. This keeps the line in a single cell.
retv.Replace( " ", " " );
return retv;
}

Loading…
Cancel
Save