Closed wrmadsen closed 3 years ago
Problem arose from installing with homebrew install ghostscript
. Though everything seemed fine, that did not work.
It was fixed by installing directly from: https://pages.uoregon.edu/koch/
This also worked for me (the direct download) - and embedFonts didn't need telling where to find the GhostScript afterwards. thanks for highlighting the solution. And thanks William for a v cool package.
I just switched to an M1, Big Sur Macbook. I need to embed the fonts of a number of pdfs that include plots from
ggplot2
.However, when I run the
embed_fonts()
function, it returns the following error message:GhostScript was not found
With Homebrew, I've installed
Ghostscript
. I have also reinstalledextrafont
andextrafontdb
, restarted RStudio, and then runfont_import()
andloadfonts()
again. None of this solves the error message.Have you experienced this problem? I wonder if it's because of the change to the M1's Apple Silicon?
I have also switched from using
bash
tozsh
in my terminal. Could that have affected this?A reprex: