How to set the font size for labels in a legend using GMT.jl

Use the fontsize=xx inside the legend keyword. e.g.

lines(1:12, 1:12, figsize=(6,4), legend=(label="data",pos=:LT,box=:none, fontsize=12), show=true)

See the plot docs (search for legend and label). And refer also to the GMT table with the fonts names