PyQt 6.8 font problem
-
wrote on 31 Dec 2024, 19:07 last edited by Marko86s
-
wrote on 2 Jan 2025, 19:50 last edited by
wrong forum
PyQt is developed by Riverbank Computing Limited.
Visit https://www.riverbankcomputing.com/support/lists -
wrong forum
PyQt is developed by Riverbank Computing Limited.
Visit https://www.riverbankcomputing.com/support/lists -
wrote on 2 Jan 2025, 21:40 last edited by
Which OS/platform and which font/size is this?
-
wrote on 2 Jan 2025, 21:43 last edited by
@JonB thanks but PySide6 isn't an option for me. I mean, the whole project is based on PyQt6. Something is definitely wrong there with Qt6.8 and how font is rendering.
@friedemannkleint Windows font size 12px, font family is same, all is same on both images only PyQt is different, with PyQt6.8 font looks bolder and somehow bad, I can't explain.
-
@JonB thanks but PySide6 isn't an option for me. I mean, the whole project is based on PyQt6. Something is definitely wrong there with Qt6.8 and how font is rendering.
@friedemannkleint Windows font size 12px, font family is same, all is same on both images only PyQt is different, with PyQt6.8 font looks bolder and somehow bad, I can't explain.
wrote on 2 Jan 2025, 22:52 last edited by JonB 1 Feb 2025, 22:52@Marko86s said in PyQt 6.8 font problem:
@JonB thanks but PySide6 isn't an option for me. I mean, the whole project is based on PyQt6.
The idea was to test whatever you are doing that looks wrong in a two line program under PySide rather than PyQt. Then people would know whether it's a Qt or PyQt issue. Not to rewrite your application.
-
wrote on 2 Jan 2025, 23:19 last edited by
Looks I found problem
PyQt6.7 read font name like "JetBrainsMono NFP" and that's works fine.
For some reason in PyQt6.8 this does not work and font must set like "JetBrainsMono Nerd Font Propo"
3/7