Open paarriagadap opened 2 months ago
To discuss with @marcelgerber in the next issue triage: we probably don't want to invest time in fixing this in some mobile phone cases - but we could consider moving this code from the client to always use our CF workers. TBD
Sadly, there's an issue where for some memory-intensive charts, the CF workers will fail with OOM (see #3723) and a thumbnail can thus not be generated.
This makes it so that I'm still a bit hesitant to use dynamic thumbnails in this place.
Description
When downloading a chart as png, the file shows the wrong fonts. This is only happening on mobile.
Expected behaviour
The png file should look like the the desktop download (see screenshots)
Steps to reproduce
Steps to reproduce the behavior:
Screenshots
This is how it looks in mobile:![share-of-population-in-extreme-poverty (9)](https://github.com/owid/owid-grapher/assets/63430031/694567da-bd8e-474f-84dd-a25c92371dc1)
This is how it should look (desktop download):![share-of-population-in-extreme-poverty (7)](https://github.com/owid/owid-grapher/assets/63430031/05ce72a6-8661-44db-907e-01e203490ca1)
Environment
For desktop, provide:
For smartphone, instead provide:
Additional context