Set font family in download plot as a PNG?

My app uses a local font file, but when I export a plot with the “Download plot as a png” button, the resulting font in the rasterized image is completely different. I suspect it’s the system’s default font, but I’m not 100% sure of that. Either way, is it possible to somehow specify the font family to be used when creating a PNG from a graph object?

Hi, unfotunately this seems to be a known issue, see also: