Hello,
Whenever I use any enhanced text feature in the key, the font reverts to the one specified in "set term", rather than the one specified in "set key", i.e.:
set term pdfcairo font "Serif"
set out "test.pdf"
set key font "Sans"
plot x title "plain" # so far so good: key is in Sans
plot x title "with ^{superscript}" # wrong: key is in Serif!
plot x title "with {/:Italic italics}" # wrong: key is in Serif!
Am I doing something wrong or is this a bug? I'm using gnuplot 5.0 patchlevel 3 on Linux Mint 18.2 with Xfce.
Best regards,
Armando
Can reproduce this on 5.0pl1, but not 5.2pl2. Seems this has been fixed?
Found this in the changelog:
2016-01-31 Ethan A Merritt merritt@u.washington.edu
Funnily, 5.0pl3 was released five days later.
The ChangeLog entry only mentions the wxt terminal, not the other cairo terminals.
The same fix is needed in cairo.trm for both 5.2 and 5.3 (and 5.0 if anyone cares).