[issue43694] Tkinter scaling does not work on some linux systems

2021-04-01 Thread A_D
A_D added the comment: Thanks so much for your help. To anyone in the future trying to figure this out: Apparently the default opensuse fonts (which are noto) are _not_ scalable. In my testing the following is enough to solve the issue. ``` tk.font.nametofont('TkDefaultFont').configure(famil

[issue43694] Tkinter scaling does not work on some linux systems

2021-04-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: AFAIK X Window uses two font systems: for bitmap fonts and for scalable fonts. If default fonts on your system are bitmap fonts, they are not scaled. -- resolution: -> not a bug stage: -> resolved status: open -> closed __

[issue43694] Tkinter scaling does not work on some linux systems

2021-04-01 Thread A_D
A_D added the comment: Okay that makes sense to me. But then my next question is, why does this work on some linux systems and not others without having a specified font? Something funky about the font size? because I'd expect the platform defaults to at least be the same on different linux

[issue43694] Tkinter scaling does not work on some linux systems

2021-04-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The size of of the window is determined by the size of its components. The size of the label and the munu is determined by the size of the font. If font has the same size and you output the same string (or string containing characters of the same proportio

[issue43694] Tkinter scaling does not work on some linux systems

2021-04-01 Thread A_D
A_D added the comment: I'd expect the windows themselves to change size based on the percentage requested. eg as shown here https://user-images.githubusercontent.com/4589845/95577562-0a794500-0a3b-11eb-914e-9a5afc500b65.png (semirelated issue: https://github.com/EDCD/EDMarketConnector/issues

[issue43694] Tkinter scaling does not work on some linux systems

2021-04-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What did you expect to get? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue43694] Tkinter scaling does not work on some linux systems

2021-04-01 Thread A_D
A_D added the comment: I wasnt referring to fonts, I was refering to window scaling in general, which includes widgets and other things. Which are _also_ not being scaled correctly. The example code doesnt mess with fonts at all either, which either means the default behaves in an unexpected

[issue43694] Tkinter scaling does not work on some linux systems

2021-04-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: >From "man font": FONT OPTIONS -size size The desired size of the font. If the size argument is a posi‐ tive number, it is interpreted as a size in points. If size is a negative number, its absolute value

[issue43694] Tkinter scaling does not work on some linux systems

2021-04-01 Thread A_D
New submission from A_D : When using scaling (as in root.tk.call('scaling', somenum)), some linux systems appear to simply disregard the change. I recently reinstalled from Ubuntu to OpenSUSE Tumbleweed and found that scaling straight up did not work in the application I tried or the test a