Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

epar font size too small for 4k monitor #67

Open
pllim opened this issue Aug 24, 2018 · 7 comments
Open

epar font size too small for 4k monitor #67

pllim opened this issue Aug 24, 2018 · 7 comments
Labels

Comments

@pllim
Copy link
Contributor

pllim commented Aug 24, 2018

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.

@pllim pllim added the bug label Aug 24, 2018
@olebole
Copy link
Member

olebole commented Oct 4, 2021

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?

@Firestar-Reimu
Copy link

Firestar-Reimu commented Nov 23, 2021

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

@olebole
Copy link
Member

olebole commented Nov 23, 2021

Python 2 is no longer supported. Can you try out the release candidate 2.2.0RC1?

@Firestar-Reimu
Copy link

Firestar-Reimu commented Nov 23, 2021

Nope, I install Pyraf 2.2.0rc1 on pip and Iraf Snapshot 2.16.1+2021.06.14

图片

This is what epar looks like

@olebole
Copy link
Member

olebole commented Nov 23, 2021

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.

@Firestar-Reimu
Copy link

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.

@Firestar-Reimu
Copy link

Firestar-Reimu commented Nov 29, 2021

Do I need to install fonts like xgterm*font: lucidasanstypewriter-18?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants