Unless the non-default configure option -directwrite is passed to qtbase at 
configure time, the Windows QPA plugin generates glyph paths using GDI. See 
qtbase/src/plugins/platforms/windows/qwindowsfontengine.cpp. If configured with 
DirectWrite, the experimental DirectWrite font engine is used.

Note that there is a comment saying that the Windows font engine "Will probably 
be superseded by a common Free Type font engine in Qt 5.X.", but I'm not aware 
of the status of that.

-ak

________________________________________
From: interest-bounces+andrew.knight=digia....@qt-project.org 
[interest-bounces+andrew.knight=digia....@qt-project.org] on behalf of John C. 
Turnbull [ozem...@ozemail.com.au]
Sent: Wednesday, August 21, 2013 12:02 PM
To: 'Joseph Crowell'; interest@qt-project.org
Subject: Re: [Interest] Native text rendering in Qt 5.1 on Windows

Thanks Joseph but that link doesn’t answer my question as to how the native 
text is actually rendered i.e. what library/technology.

I would like to know because my (limited) understanding of Qt is that it uses 
OpenGL for graphics (even on Windows) and, given that OpenGL does not have any 
native font rendering API, how is the text rendered in a “native” way so that 
it appears in an OpenGL context?  For example, is DirectWrite used to render 
the text to a buffer which is then blasted into the OpenGL context?

From: interest-bounces+ozemale=ozemail.com...@qt-project.org 
[mailto:interest-bounces+ozemale=ozemail.com...@qt-project.org] On Behalf Of 
Joseph Crowell
Sent: Wednesday, 21 August 2013 18:32
To: interest@qt-project.org
Subject: Re: [Interest] Native text rendering in Qt 5.1 on Windows

Here's an blog about that feature from digia. 
http://blog.qt.digia.com/blog/2012/08/08/native-looking-text-in-qml-2/

On 21/08/2013 08:33 AM, ozem...@ozemail.com.au<mailto:ozem...@ozemail.com.au> 
wrote:
With Qt 5.1 I am able to choose "native" text rendering for my QML text objects.

What does "native" actually mean here on Windows?
What is actually used to render such text on Windows? (i.e. is it DirectWrite 
or some other method)

Thanks,

-jct




_______________________________________________

Interest mailing list

Interest@qt-project.org<mailto:Interest@qt-project.org>

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

Reply via email to