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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user