[Qgis-user] non antialiased labels

Ziegler Stefan Stefan.Ziegler at bd.so.ch
Wed Oct 15 01:01:47 PDT 2014


Hi Larry

Thanks for the hints!

Regards
Stefan

Von: larry at shafferinteractive.com [mailto:larry at shafferinteractive.com] Im Auftrag von Larry Shaffer
Gesendet: Dienstag, 14. Oktober 2014 20:38
An: Ziegler Stefan
Cc: qgis-user at lists.osgeo.org
Betreff: Re: [Qgis-user] non antialiased labels

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<mailto: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<tel:%2B41%2032%20627%2075%2096>
Telefax +41 32 627 75 98<tel:%2B41%2032%20627%2075%2098>
stefan.ziegler at bd.so.ch<mailto:stefan.ziegler at bd.so.ch>
http://www.so.ch


_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org<mailto: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/20141015/9302c16b/attachment.html>


More information about the Qgis-user mailing list