I have a strange problem that manifests itself with a grDevices::windows() device when ragg is loaded from IRkernel. The manifestation is that when the windows() function is called from an IRkernel prompt, the graphics device frame is shown, but there is no text in the menus. This only occurs within IRkernel and not from other terminals such as radian or from within RStudio.
To see a better description, please see IRkernel/IRkernel#751 which shows screenshots of the issue. Particularly, please see IRkernel/IRkernel#751 (comment) where I can make the graphics device show the menu text by removing the ragg library. I can load the systemfonts and textshaping libraries without any menu text issues. I am happy to repost details and screenshots here if that is helpful.
Having looked at the C code for grDevices, I am not sure how to debug the cause of the issue since I don't have an R executable with debug symbols. My guess at this point is that somehow the fonts used by grDevices or the menu creation process is being blocked.
I am wondering if someone could help me run tests to get to the bottom of the issue?