Hi Larry

Thanks for the hints!

Regards
Stefan

Von: [email protected] [mailto:[email protected]] Im 
Auftrag von Larry Shaffer
Gesendet: Dienstag, 14. Oktober 2014 20:38
An: Ziegler Stefan
Cc: [email protected]
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 
<[email protected]<mailto:[email protected]>> 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>
[email protected]<mailto:[email protected]>
http://www.so.ch


_______________________________________________
Qgis-user mailing list
[email protected]<mailto:[email protected]>
http://lists.osgeo.org/mailman/listinfo/qgis-user

_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to