[Interest] [SOLVED] Text rendering problem.

Elvis Stansvik elvstone at gmail.com
Fri Jul 24 09:22:30 CEST 2015


2015-07-24 1:20 GMT+02:00 william.crocker at analog.com
<william.crocker at analog.com>:
>
>>
>> I have this working with DirectWrite on Windows,
>> but it only appears to work when my app is built with debug mode.
>> If I build it in release mode then it does *not* work
>> and the text appears badly kerned.
>>
>
> This was all my fault.
> (D'oh My release build was not using the intended dlls.)
>
> The original problem: Small point size text looked bad
> when rendered on Windows. It looked bad because the individual
> characters were not kerned well. Some chars were too close
> together and some were too far apart and all in the same word.
>
> This was fixed by using a version of Qt (4.8.6 in my case)
> which was built with the -directwrite option.
>
> Bill
>
> ------------------------------------------
> I built Qt on windows like this.
> My command window was opened from Visual Studio 2008
> (Pull down tools to VisualStudio2008CommandPrompt)
>
> set INCLUDE=%INCLUDE%C:\Program Files\Microsoft SDKs\Windows\v7.0\Include;
>
> set PATH=%PATH%;C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin;
>
> cd 4.8.6
>
> ..\qt-everywhere-enterprise-src-4.8.6\configure -directwrite -no-declarative
> -no-qt3support -no-webkit -nomake demos -nomake examples -nomake docs -nomake
> translations
>
> nmake

Thanks for sharing and glad you figured it all out finally.

Elvis

>
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest



More information about the Interest mailing list