[PyQt] PYQt defaults to fonts looking bold on macOS but C++ Qt does not
Barry Scott
barry at barrys-emacs.org
Wed Jul 6 11:55:23 BST 2016
> On 6 Jul 2016, at 11:50, Phil Thompson <phil at riverbankcomputing.com> wrote:
>
> On 6 Jul 2016, at 11:26 am, Barry Scott <barry at barrys-emacs.org> wrote:
>>
>> Compare the windows snapshots taken for a PyQt5 app and a C++ Qt5 app
>> that use a QLabel control.
>>
>> http://www.barrys-emacs.org/export/Qt5.png
>>
>> http://www.barrys-emacs.org/export/PyQt5.png
>>
>> You can see that the text in PyQt5 looks like it is bold compared to the
>> Qt5 version.
>>
>> On Fedora I see that same text for Qt5 and PyQT5.
>>
>> Please fix this problem in PyQt5.
>>
>> The source code I used is in:
>>
>> http://barrys-emacs.org/export/font-example.tar.gz
>>
>> Note: This bug affects all text, list, tables, line edit everything.
>
> ...on your system. It works fine for me. PyQt does nothing with fonts.
Oh. I have not knowingly done anything that would cause this.
If I wanted to globally change the font used by PyQt5 how would I do it?
Is there a config file that PyQt5 will read that Qt will not?
Barry
>
> Phil
>
More information about the PyQt
mailing list