# Exporting to pdf with GR results in font size 1.5 larger

**URL:** <https://discourse.julialang.org/t/exporting-to-pdf-with-gr-results-in-font-size-1-5-larger/42953>\
**Category:** General Usage\
**Tags:** plotting\
**Created:** [July 12, 2020, 3:41pm UTC](https://discourse.julialang.org/t/exporting-to-pdf-with-gr-results-in-font-size-1-5-larger/42953 "2020-07-12T15:41:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yanivab](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yanivab/32/9164_2.png) [@yanivab](https://discourse.julialang.org/u/yanivab)\
**Post date:** [July 12, 2020, 3:41pm UTC](https://discourse.julialang.org/t/exporting-to-pdf-with-gr-results-in-font-size-1-5-larger/42953/1 "2020-07-12T15:41:59Z")

</div>

Hello,

I’m using Plots.jl with GR for plotting, and trying to export my figures to pdf. I set font size using the theme command:

```julia
theme(:default, xguidefontsize=9, yguidefontsize=9, xtickfontsize=7, ytickfontsize=7,
    guidefontfamily = "Helvetica", tickfontfamily = "Helvetica")

```

which looks fine in the VSCode pane. But when I explort to pdf using savefig, and open the resultant file with illustrator, I see that the axis labels are size 14pt, and tick labels size 11pt.

I tried dividing the sizes in my call to theme by 1.5, but that results in using default font size, presumably because you can’t set non-integer font size?

I’m using Plots.jl version 1.5.4 on Julia 1.4.2

Any help on this most appreciated,
