[Qgis-user] non antialiased labels

Larry Shaffer larrys at dakotacarto.com
Tue Oct 14 11:37:53 PDT 2014


Hi Stefan,

No support for non-anti-aliased fonts at this time. It could be added here,
with settings pulled from a layer's label settings:

https://github.com/qgis/QGIS/blob/master/src/core/qgspallabeling.cpp#L4296-L4343

It would need to set the painter's render hint to no anti-aliasing when the
setting calls for it, e.g. as is done for the opposite here:

https://github.com/qgis/QGIS/blob/master/src/core/qgspallabeling.cpp#L4342

Seems pretty simple to implement.

Regards,

Larry Shaffer
Dakota Cartography
Black Hills, South Dakota

On Tue, Oct 14, 2014 at 3:13 AM, Ziegler Stefan <Stefan.Ziegler at bd.so.ch>
wrote:

> Hi
>
> I'm using QGIS for generating topographic raster maps. Is there a way to
> have non-antialiased rendered labels? There is an option ("rendering
> quality") for lines but not for labels?
>
> Freundliche Grüsse
> Stefan Ziegler
> Kantonsgeometer
>
> Amt für Geoinformation
> Amtliche Vermessung
> Rötistrasse 4
> 4500 Solothurn
>
> Telefon +41 32 627 75 96
> Telefax +41 32 627 75 98
> stefan.ziegler at bd.so.ch
> http://www.so.ch
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20141014/e617f400/attachment.html>


More information about the Qgis-user mailing list