[Qgis-developer] Removing old labelling
Martin Dobias
wonder.sk at gmail.com
Sun Mar 11 14:55:08 EDT 2012
On Tue, Mar 6, 2012 at 2:37 PM, Nathan Woodrow <madmanwoo at gmail.com> wrote:
> Debug: src/core/qgspallabeling.cpp: 1108: (drawLabeling) LABELING work: 0
> ms ... labels# 0
> Debug: src/core/qgspallabeling.cpp: 1231: (drawLabeling) LABELING draw: 0
> ms
>
> Only a small sample set but there is a speed difference. The main thing
> seems to be the painting which is slowing it down.
Just a note: time for old labeling is already counted within total
layer rendering time, it is not that drawing of old labeling would be
that fast :)
Anyway it's worth noting that when rendering text there are two possibilities:
1. draw text (old labeling) - faster, hard to draw buffers (currently
being drawn by shifting the text several times)
2. convert text to vector path + draw path (new labeling) - slower,
but with nice buffers (antialiased etc). Problems: text is converted
to vectors -> harder postprocessing, bigger buffers are not drawn
correctly.
Martin
More information about the Qgis-developer
mailing list