For the warning, the config file and related files for fontconfig is not attached to the binary pacakge even if qt anf gd uses fontconfig I tested qt and the gd terminals png, jpeg and gif without the etc/ directory, they do not produce the error message "Fontconfig error: Cannot load default ...". However, as etc/ seems to remove the error message for the other terminals when the pango/cairo backend is changed, please include etc/ in the next windows binary package.
Thanks at lot, your etc.zip works fine. BTW: I am aware of sprintf(), but decided not to use sprintf("%.1f", GPVAL_VERSION), since it will break when the minor version becomes greater 10, i.e. 5.11+.
Thank you Tatsuro for this workaround. I noted more issues with both variants, while using gnuplot 5.4.6. I am using: dpi = 96 versionOut = system('gnuplot --version') version = word(versionOut, 2).'.'.word(versionOut,4) backend = "`echo %PANGOCAIRO_BACKEND%`" if ( strstrt(backend,"PANGOCAIRO_BACKEND") ) backend = "none" scale = dpi/96.0 sizeX = 640.0*scale sizeY = 480.0*scale fontSize=sprintf("%f", 11.0*scale) set terminal pngcairo size sizeX, sizeY font "Arial,".fontSize linewidth scale set output...
no version info when redirected to file, Gnuplot 5.4.3
I can reproduce the same behavior as described in the original post with Gnuplot 5.4.3 on Windows 10 (21H2) using the same script and login off after changing the Windows display scaling: set term pngcairo enhanced font "Arial,12" size 960, 720 rounded set output 'labels.png' plot x t 'LabelSize' Attached are results for scalings 100%, 125% and 150%. Since the status of this ticket is closed-fixed , I vote for reopening this ticket. Edit: Sorry, i messed up the script running the different versions,...
I can reproduce the same behavior as described in the original post with Gnuplot 5.4.3 on Windows 10 (21H2) using the same script and login off after changing the Windows display scaling: set term pngcairo enhanced font "Arial,12" size 960, 720 rounded set output 'labels.png' plot x t 'LabelSize' Attached are results for scalings 100%, 125% and 150%. Since the status of this ticket is closed-fixed , I vote for reopening this ticket.