Text and font handling

Eskil Abrahamsen Blomfeldt

Introducing the Distance Field Generator

Published Wednesday October 10th, 2018 | 18 Comments on Introducing the Distance Field Generator
Posted in Dev Loop, Graphics, OpenGL, Performance, Qt Quick 2, Text and font handling

At least from the perspective of rendering, text is often the most complex part of a traditional two-dimensional user interface. In such an interface, the two main components are rectangular images and text. The rectangular images are often quite static, and can be represented by two triangles and four indexes into a texture atlas that […]

Read More
Eskil Abrahamsen Blomfeldt

How to shoot yourself in the foot using only a scene graph (neat optimization trick inside)

Published Thursday January 19th, 2017 | 9 Comments on How to shoot yourself in the foot using only a scene graph (neat optimization trick inside)
Posted in Declarative UI, Dev Loop, Graphics, OpenGL, Performance, Qt, Qt Quick 2, Text and font handling, UI

I am trying to get into the habit of blogging more often, also about topics that may not warrant a white paper worth of text, but that may be interesting to some of you. For those of you who don’t know me, I am the maintainer of the text and font code in Qt, and recently I came across a curious customer case where the optimization mechanisms in the Qt Quick scene graph ended up doing more harm than good. I thought I would share the case with you, along with the work-around I ended up giving to the customer.

Read More
Get started today with Qt Download now