Skia: Odd text alignment with space characters #3092
Labels
a:renderer-skia
Skia Renderer (mS)
a:text
Text rendering, fonts, Text input (mS,bF)
bug
Something isn't working
upstream
Needs a fix upstream
This is what renderer-winit-skia gives me, the last text's "---" should be aligned with the top one:
renderer-winit-femtovg gives me the expected alignment:
I don't think it's high severity, but the two "shouldn't align" cases 3 and 4 makes me think that it could be a simple fix if the issue were due to something like wrong spaces trimming somewhere.
Since slint-viewer doesn't seem to be built with the skia backend, here is a runnable example: https://gist.github.com/jturcotte/4d7e4011135fdddd22df123d884443c6
The text was updated successfully, but these errors were encountered: