New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scheduled report shows square character in HTML report in date #21186
Comments
The "problem" is that various languages are using special space characters (e.g. half width, non breakable, ...) within the date format definition. The font we are using the generate the graphs simply doesn't support those characters. We implemented a fix for french only in the past, where numbers weren't displayed correctly due to using a special space chart. See #20953 This time we should definitely aim to find a more global solution to fix all problems around that. This might also be solved when using a new charting library, which we might need to do anyway. See #20570 |
@sgiehl Did this used to work and is a regression? Or did it never work? I don't remember seeing this in the mobile app where we maybe use the same graphs (not 100% sure though). |
I guess it kind of used to work at some point before we were using date format definitions from CLDR. Those definitions are updated from time to time. Maybe those unusual spaces in English came in with one of the latest updates. |
👍 Thanks for that. Could we label it as a regression in that case? cc @Stan-vw |
It's a bit tough to see if this is a proper regression, given the CLDR move sounds like a strategic choice and it's potentially been part of it ever since. But given that it potentially affects A LOT of users / report consumers and it's pretty embarrassing, I'm keen to prioritise is either way. |
Today a user reported:
|
Two known problematic characters introduced by CLDR 42 (thin space, narrow non-breaking space) have been treated in #21897 to fix rendering for the default non-unicode font. That is only an extension to the work done in #20953. Having #21854 for general font improvements (everything outside graphs), and #20570 to replace the image library, should this be closed as solved? Or is there more we need to improve until a long-term solution is in place? |
See below screenshot:
I created a scheduled report including graphs. Not PDF but HTML.
Then I clicked on "Download" on the created report.
The issue is visible on every graph.
This is on Matomo 5 on demo.matomo.org .
The text was updated successfully, but these errors were encountered: