Axis label skewed and wrongly positioned when setting guidefont

Hi all,

I noticed that my x axis label is somehow weirdly positioned and rotated when setting a particular font as guidefont (plot p2). I’m using the Plots.jl package with the GR backend. In case I don’t set the guidefont everything looks fine (plot p1). Please see an example code, versions and images below. I’m glad for any help on what is going on here.

Best

using Plots
gr()

# plot p1: everything looks fine
fnt = Plots.font("Helvetica", 12.0)
p1=plot(legend=false, grid=false, legendfont=fnt, xtickfont=fnt, ytickfont=fnt, margin=6Plots.mm);
plot!([1,2,3], [1,2,3]);
ylabel!("my y label");
xlabel!("my x label");
display(p1)
savefig(p1, "test1.pdf")

# plot p2: when setting guidefont=fnt, x axis label looks weird
fnt = Plots.font("Helvetica", 12.0)
p2=plot(legend=false, grid=false, guidefont=fnt, legendfont=fnt, xtickfont=fnt, ytickfont=fnt, margin=6Plots.mm);
plot!([1,2,3], [1,2,3]);
ylabel!("my y label");
xlabel!("my x label");
display(p2)
savefig(p2, "test2.pdf")

# verions:
VERSION # Julia: v"1.3.1"
pkgs = Pkg.installed()
pkgs["Plots"] # Plots: v"0.28.4"

p1 plot:
test1

p2 plot:
test2

EDIT: It actually also affects the legend labels when legend=true. See image:

test2