[Qt-creator] Blurry fonts

BogDan bog_dan_ro at yahoo.com
Thu Jun 4 10:33:08 CEST 2015


Hi,
I "fixed" the problem by setting QT_DEVICE_PIXEL_RATIO=1 to my env vars.
Cheers,BogDan.  


     On Thursday, June 4, 2015 10:31 AM, Christian Hönig <list at hoenig.cc> wrote:
   

 Hi,

> Please note that the fonts being blurred not only in the code editor, but in GUI too. This is very strange behavior, as in other applications compiled with the same Qt5 libraries, fonts are rendered normally. 
> 
> This bug was introduced between v3.4.0 and 79d3d2348830508d6bc4789027a9c5b009eba7bd (approximately). Unfortunately I can not use git bisect to find commit with font bug.

The bug was introduced by the following commit:

commit b3fa02d0ed16f8a63654e17ed089fab091e1abc9
Author: Eike Ziller <eike.ziller at theqtcompany.com>
Date:  2015-04-20 12:36:12 +0200

    Automatically choose device pixel ratio
    
    Change-Id: Ic595ee0f45b7d3ec22b4c4086c0c6785b41c21f4
    Task-number: QTCREATORBUG-11179
    Reviewed-by: Friedemann Kleint <Friedemann.Kleint at theqtcompany.com>
    Reviewed-by: Eike Ziller <eike.ziller at theqtcompany.com>


Reverting the commit fixes the problem for me.

take care, have fun
/christian


> On 25.05.2015 23:58, Filippo Cucchetto wrote:
>> In this image you can clearly see that the QtCreator on the right side  is far more blurry and the one on the left.
>> 
>> 2015-05-25 19:55 GMT+02:00 Filippo Cucchetto <filippocucchetto at gmail.com>:
>> Actually both QtCreator are built with the same Qt version 5.4.1.
>> i'll try with a new Qt version, maybe with the one released by QtCompany istead of the one packaged by my distro
>> 
>> F.
>> 
>> 2015-05-22 8:21 GMT+02:00 Ziller Eike <Eike.Ziller at theqtcompany.com>:
>> 
>> > On May 22, 2015, at 12:12 AM, Filippo Cucchetto <filippocucchetto at gmail.com> wrote:
>> >
>> > Hi,
>> > i built QtCreator from git however the font of both the UI and TextEditor are both blurry compared to the one packaged in my distro.
>> > Is a known problem? or am i missing something?
>> 
>> Depends. Is the one packaged in your distro based on Qt5? (Help > About Qt Creator)
>> There have been quite some changes regarding font rendering in Qt 5.
>> See e.g. https://bugreports.qt.io/browse/QTBUG-37749 (though it seems people there complained about “too sharp” font rendering).
>> There seem to have been some changes/fixes in Qt 5.4(.1?) as well, so you might want to try a different Qt5 version as well.
>> 
>> Br, Eike
>> 
>> --
>> Eike Ziller, Senior Software Engineer - The Qt Company GmbH
>> 
>> The Qt Company GmbH, Rudower Chaussee 13, D-12489 Berlin
>> Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
>> Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B
>> 
>> 
>> 
>> 
>> -- 
>> Filippo Cucchetto
>> 
>> 
>> 
>> -- 
>> Filippo Cucchetto
>> 
>> 
>> _______________________________________________
>> Qt-creator mailing list
>> 
>> Qt-creator at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/qt-creator
> 
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator

_______________________________________________
Qt-creator mailing list
Qt-creator at qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator

  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20150604/6ddf758f/attachment.html>


More information about the Qt-creator mailing list