pyraf
pyraf copied to clipboard
epar font size too small for 4k monitor
User has HiDPI display, with 4K resolution, and has problems with PyRAF epar
GUIs, with labels being too small. According to @cdsontag , there does not appear to be a way for user to configure font size.
I do not have this problem -- it seems that the Tk default were improved in the last years. It worked well at least under Linux. For Mac, I don't have a HighDPI screen to test; on 1920x1200 (a VirtualBox) it looks OK. Coould someone re-check?
Same issue on my 2560x1600 screen.
https://forum.manjaro.org/t/how-to-make-the-x-window-show-better/91646/
pyraf 2.1.15 iraf 2.16.UR.1 python 2.7.18 tk 8.6.11
Python 2 is no longer supported. Can you try out the release candidate 2.2.0RC1?
Nope, I install Pyraf 2.2.0rc1 on pip and Iraf Snapshot 2.16.1+2021.06.14
This is what epar
looks like
You could install the xrdb
command and run the following:
echo Xft.dpi: 300 | xrdb -merge
Adjust the 300 to get the size you want. To make it permanent, put the line
Xft.dpi: 300
into your ~/.XResources
.
echo Xft.dpi 192 | xrdb -merge
xrdb: colon missing on line 1, ignoring line
If I put the line
Xft.dpi: 300
into my ~/.XResources
, and run xrdb ~/.Xresources
All the x-window become larger (for example, fcitx, as the right one is 192 dpi)
BUT epar
is not influenced.
Do I need to install fonts like xgterm*font: lucidasanstypewriter-18
?