[Qgis-developer] Removing old labelling

Anita Graser anitagraser at gmx.at
Sun Mar 11 16:57:34 EDT 2012


Hi,

I think text output in SVG is essential. Labels are one of the things that
can always be improved in post-processing. But if labels are only available
as paths, all of them have to be redone to maintain consistency ... awful
amount of work.

Best wishes,

Anita


On Sun, Mar 11, 2012 at 9:08 PM, Martin Dobias <wonder.sk at gmail.com> wrote:

> 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
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20120311/122b3a03/attachment-0001.html


More information about the Qgis-developer mailing list