Skip to content

grDevices::windows function is broken when called from IRkernel; appears to be related to the ragg package #199

@MNRK01

Description

@MNRK01

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions