Open albert-ying opened 3 years ago
Thanks for opening the issue.
I think this is caused by the helvetica font not being installed on the remote machine. I will see if I can find a workaround when I get time.
Could you check if the font is installed on the remote machine and if installing it fixes the issue?
Thank you! I just tried to install the Helvetica on the remote machine, and it works now!
But it is still puzzling to me, why does the ggsave to pdf works without the font installed while the httpgd doesn't?
Hey, I have the same issue. Even after registering the font with systemfonts::register_font()
the issue persists. The font is correct in ggsave
but not in httpgd, even tho the font is installed on the machine for me.
I noticed that the font in the browser is always some kind of serif font, even when I specify the font to be Helvetica.
This only happens on the remote Linux machine.
The code:
Output in httpgd
Output in pdf
Also related to #51