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:
parent
011fad3894
commit
3dc0c78993
|
@ -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;
|
return retv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue