|
From: hchiPer <hc...@gm...> - 2022-02-14 20:12:51
|
Hi, I use gnuplot 5.4 on a Debian 11 based distro. I have plots with 2-lines title with a font-face and font-size different from the default. When the first line in the title contains an (escaped) *ampersand*, the font-face and font-size are reset to the default ones when using the following terminals: pngcairo, pdfcairo, epscairo. No problem with other terminals (png, wxt, qt, ...) This problem appeared when I upgraded gnuplot from 5.2 to 5.4. Is this a bug? Thanks for your help. Code to reproduce: tit1 = "A \\& B" tit2 = "X + Y" set title tit1."\n".tit2 font "Serif,24" set terminal wxt plot x set terminal pngcairo # or pdfcairo or epscairo set output "ampersand.png" # or .pdf or .eps replot set output |