REditorSupport / REditorSupport/vscode-R
No fonts detected for basic plot
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 139
- Avg merge
- 2h 46m
- Merged PRs (30d)
- 5
Description
Describe the bug
r$> hist(c(1,2,3,1,2,3))
Warning message:
No fonts detected on your system. Using an empty font.
My config:
"r.plot.useHttpgd": true
The output:
Expected behavior
Outside vscode-R this works as expected. It seems to be that my font setup is not correctly set for httpgd.
Environment (please complete the following information):
- OS: macOS Sonoma 14.3.1
- VSCode Version: 1.87.2
- R Version: 4.3.3
- vscode-R version: 2.8.2
Also commented in https://github.com/nx10/httpgd/issues/138#issuecomment-2016534615
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the basic histogram with "r.plot.useHttpgd": true in the stated macOS, VS Code, R, and vscode-R versions, then review the related httpgd issue comment. Trace the font setup used by the httpgd-backed plot path; done means the histogram renders fonts without the warning while remaining correct outside vscode-R.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r, typescript, vscode
- Domain
- data-visualization, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100