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
This commit is contained in:
Jeff Young 2021-11-22 15:36:14 +00:00
parent 011fad3894
commit 3dc0c78993
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}