>
> 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



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

Reply via email to