httpgd icon indicating copy to clipboard operation
httpgd copied to clipboard

No fonts detected for basic plot

Open memeplex opened this issue 11 months ago • 0 comments

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

  • OS: macOS Sonoma 14.3.1
  • R version: 4.3.3
  • httpgd version: 2.0.1

memeplex avatar Mar 23 '24 16:03 memeplex