You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What would you like to be added: Include a free and open-source coloured emoji font with grafana-image-renderer like Noto and make it the default emoji font.
Why is this needed: When grafana-image-renderer is running headless, the Chromium browser doesn't render emoji in colour - so stuff that looks great on Grafana looks sub-par after being run through grafana-image-renderer. Use cases include emoji in Grafana text boxes, axis labels, data labels, and more.
A kludgey workaround I'll share, with the caveat I am more of a hack than a programmer and parts of this solution are probably redundant or functionless... I map the .ttf to an existing fonts directory inside the image-renderer container. I then run fc-cache -fv (reference) to build the font information cache files.
What would you like to be added: Include a free and open-source coloured emoji font with grafana-image-renderer like Noto and make it the default emoji font.
Why is this needed: When grafana-image-renderer is running headless, the Chromium browser doesn't render emoji in colour - so stuff that looks great on Grafana looks sub-par after being run through grafana-image-renderer. Use cases include emoji in Grafana text boxes, axis labels, data labels, and more.
A kludgey workaround I'll share, with the caveat I am more of a hack than a programmer and parts of this solution are probably redundant or functionless... I map the .ttf to an existing fonts directory inside the image-renderer container. I then run
fc-cache -fv
(reference) to build the font information cache files.My Docker Compose file looks like this:
Entrypoint.sh looks like this:
If this gets closed, no big deal as I've found my workaround... which I wanted to share for others!
The text was updated successfully, but these errors were encountered: