nx10 / httpgd

Asynchronous http server graphics device for R.
https://nx10.github.io/httpgd
GNU General Public License v2.0
398 stars 19 forks source link

No fonts detected for basic plot #173

Open memeplex opened 8 months ago

memeplex commented 8 months ago

Describe the bug

May be related to https://github.com/nx10/httpgd/issues/138 but since that one seems to be focused in Linux and remote usage of VSCode I'm not sure.

As I commented in https://github.com/nx10/httpgd/issues/138#issuecomment-2016534615, when using vscode-R with httpgd, basic plots fail to find fonts:

r$> hist(c(1,2,3,1,2,3))
Warning message:
No fonts detected on your system. Using an empty font. 

And the result doesn't look good:

image

If I run this in a detached terminal I get no such error and:

image

Also reported to https://github.com/REditorSupport/vscode-R/issues/1505 because I can't tell whether this is an httpgd issue or just because of its specific setup inside vscode-R.

Environment