Open andrewni4313 opened 8 months ago
Hi, I'm currently migrating the rendering to use polyclip
polygons instead of sp
/sf
, so I anticipate this issue will be resolved shortly. (I'm hoping in the coming days, but we'll see.)
In the meantime, a potential workaround is to use plot_style="gg"
which renders labels using ggplot2
output instead of base R graphics.
For troubleshooting, my thinking is to review the locale (Sys.getlocale()
) to ensure it is UTF-8 compatible. If you see "C"
then it might be worth trying "en_US.UTF-8"
(or relevant string). Something like Sys.setlocale(LANG="en_US.UTF-8")
? Then see if that resolves the output text.
Thanks for submitting the issue!
I have updated the venndir()
function, among other changes it now uses grid
graphics by default. In theory this should make it more directly configurable for font selection. However I don't have a great way to test the weird edge effects of fonts on different systems. So if you have a chance to run a quick test, and are willing, let me know if your test cases are now resolved?
Thank you for reporting the issue!
I think this bug is fixed, however I cannot reproduce your output (missing text) on my end so I can't readily test it.
The venndir graphical output now uses grid
which I suspect has improved handling of fonts, so you should see text - or hopefully a more informative warning or error message. If you have a chance to test again in similar environment, I would appreciate it.
For some reason the labels/text are all missing for the venn diagram. Not sure what is happening. I never managed to get them to show up. The only thing I can think of is:
Warning: font family not found in Windows font database