GiovineItalia / Gadfly.jl

Crafty statistical graphics for Julia.
http://gadflyjl.org/stable/
Other
1.9k stars 250 forks source link

draw function removes specified font #621

Open bcameron43 opened 9 years ago

bcameron43 commented 9 years ago

a = plot(x=rand(10), y=rand(10), Theme(major_label_font="Times New Roman"))

produces original font, not times new roman

draw(PDF("blaha2.pdf",5inch,5inch),b)

z-m-k commented 8 years ago

I can confirm this issue on the master.

dcjones commented 8 years ago

One thing to try is updating fontconfig's cache by running fc-cache. Also, make sure the name of the font is precise (try running fc-list and making sure that it's appears there). Otherwise, I'm not sure what the issue is, as I can't reproduce this.