I've found that installing GhostScript fixes the problem. Using brew: brew install gs
brew install gs