hrbrthemes icon indicating copy to clipboard operation
hrbrthemes copied to clipboard

pdf output uses Adobe Serif MM instead of Roboto or Arial Narrow

Open bshor opened this issue 5 years ago • 0 comments

I am trying to get PDF files using ggsave. PNG files work correctly and display the fonts I want to use like Roboto or Arial Narrow. But when I try PDF output using Acrobat Reader, the PDF file properties list RobotoCondensed being used, but the Actual Font as Adobe Serif. See below

image

As you can imagine, it's pretty ugly!

image

What could be causing this?

One clue is something wrong with Acrobat Reader. I tried looking at the file with SumatraPDF and it showed Roboto Condensed output just fine. When I was working with a LaTeX compiler, the preview window also displayed the file with the correct font. But not Acrobat Reader. This is a problem, as Reader is the most common software for reading PDFs!

bshor avatar Jun 14 '19 18:06 bshor