Maybe a silly question, but does the output look bad?  Or are you just
reporting the warnings?  I don't know enough about Pango to say exactly how
to fix this.  You could try installing the font in your system, or you can
override the defaults with something like:

using Plots
gadfly()
f = "Sans"
default(tickfont = font(f,8), guidefont = font(f,11), legendfont =
font(f,8))

note: you can add this to your ~/.juliarc.jl file to always run this on
REPL startup.


On Sun, Jan 31, 2016 at 6:57 PM, digxx <[email protected]> wrote:

> I use Plot as Plotting Device with Gadfly Backend and used
>
> savefig("testfile") to save my previously plotted figure..
> Apparently it has some issues with the font. Do I need to load it in Julia
> seperately?
>
> (julia.exe:6312): Pango-WARNING **: couldn't load font "Helvetica
> Not-Rotated 10.669921875px", falling back to "Sans Not-Rotated
> 10.669921875px", expect ugly output.
>
> (julia.exe:6312): Pango-WARNING **: couldn't load font "Helvetica
> Not-Rotated 14.669921875px", falling back to "Sans Not-Rotated
> 14.669921875px", expect ugly output.
>

Reply via email to