showtext
showtext copied to clipboard
Acrobat distortions for certain fonts
Great package, used every time I make a figure in R.
There's a weird bug where Acrobat distorts lower case "l"s. A minimal reproducible example:
library(showtext)
library(ggplot2)
font_add_google("Roboto")
p1 <- ggplot(mtcars) +
geom_blank() +
labs(
title = "Lollipop"
) +
theme_minimal(base_family = "Roboto")
showtext_auto()
ggsave("plot 1.pdf")
when I open this pdf in Sumatra, it renders fine
Open the same file in Acrobat, and the lower case "l"s are weirdly rendered--blocky with inconsistent widths.
.
Is this a known bug?
It also looks normal in my PDF viewer (PDF-XChange). So I suppose there is some rendering issue in Acrobat? You may also try a different version of Acrobat to see if the problem remains.