[Qgis-developer] Removing old labelling

Martin Dobias wonder.sk at gmail.com
Sun Mar 11 16:08:15 EDT 2012


On Sun, Mar 11, 2012 at 9:01 PM, Alex Mandel <tech_dev at wildintellect.com> wrote:
> On 03/11/2012 11:55 AM, Martin Dobias wrote:
>> 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
>
> Ah, that explains why the text isn't exported as text in svg files.
> Would it be possible or make sense to do both. E.g. the text stays text
> but a copy is converted and buffers are generated on the copy that is a
> path?

I haven't tried that but I expect that it will not look good because
the rendering algorithms are different.

I will be probably moving new labeling to use directly text drawing in
future since path drawing is several times slower...

Martin


More information about the Qgis-developer mailing list