Skip to content
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

Text not rendering #30

Closed
RoyalTS opened this issue Jun 8, 2024 · 4 comments
Closed

Text not rendering #30

RoyalTS opened this issue Jun 8, 2024 · 4 comments

Comments

@RoyalTS
Copy link

RoyalTS commented Jun 8, 2024

The example from the docs

library(ggplot2)
library(marquee)
p <- ggplot(mtcars) +
  geom_point(aes(mpg, disp)) +
  labs(title = "A {.red *marquee*} title\n* Look at this bullet list\n\n* great, huh?") +
  theme_gray(base_size = 6) +
  theme(title = element_marquee())

plot(p)

Results in a plot in which the title is not rendered at all:

Screenshot 2024-06-08 at 17 01 35
@thomasp85
Copy link
Member

My guess is that it is a graphics device issue. What device and version are you using?

@RoyalTS
Copy link
Author

RoyalTS commented Jun 9, 2024

Ah, indeed. Was using the default device in Rstudio. The whole thing works if using RAG.

That does seem to be mangling my ggplot theme's font though :|

@thomasp85
Copy link
Member

Can you please open a new issue with a reprex for that?

@RoyalTS
Copy link
Author

RoyalTS commented Jun 13, 2024

Filed an issue here – I hope that was the right place for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants