Issues with saving plot as pdf

Hi hendri54, thank you for the suggestion, I tried to use the MWE as below

plot(1:20, -10:9)

I was able to isolate the issue to this following line while retaining the rest in the plot() that I was using

fontfamily = font(48, "helvetica"),

Saved plot without the line above in the plot function
test

I am using MacOS Plots v1.6.3 with Julia v1.5.1.