-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unicode text fails after attaching ragg #35
Comments
I'm not able to reproduce this issue... What do you get when you run |
Thanks for the quick response! I've attached a csv with the output from |
Hi @StefanoMezzini — are you still experiencing this. If so, can I get you to provide a session info as well as let me know where you are observing the behaviour. The code snippet you provided indicates that you see it in the plot pane in RStudio / the graphics window in the R gui |
Hi @thomasp85, I still have the same issue. Here is my session info before attaching
and after attaching
If I run
and attaching
I've attached the plots that result from the first two calls of
and the pdf I attached. |
So, you are experiencing issues, not with the ragg devices but with the default devices, and those issues seem to appear after you attach ragg? |
I believe so? I am only using the default figure pane with the code in the first message, and I have updated |
And if you go into "global options">"general">"graphics", what does it say as the backend? |
I have it set to |
Can you try installing the latest dev versions and test if the problem still exists? install.packages("textshaping", repos = "https://r-lib.r-universe.dev") |
Off the top of my head, the only thing this reminds me of is FontConfig caching producing the wrong glyphs (in a very complicated set up). |
Thanks - this is unfortunately happening on windows so FontConfig doesn't play in |
Attaching the
ragg
package prevents one from using unicode characters in baseplot()
andggplot()
, as any string with unicode will be blank. However, printing a plot (with eitherplot()
orggplot()
) before attaching ragg fixes the issue:I am using
R
4.2.1, RStudio 2022.07.1+554 "Spotted Wakerobin", andragg
1.2.3 on Windows 10.The text was updated successfully, but these errors were encountered: