Bug report #10554

text annotations fails to apply anti-aliasing font when rendered on canvas

Added by Mathieu Pellerin - nIRV over 9 years ago. Updated almost 8 years ago.

Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:worksforme
Crashes QGIS or corrupts data:No Copied to github as #:18961


Text strings rendered within a Text Annotation on the main canvas are not anti-aliased, resulting in a visually displeasing annotation. The anti-aliasing is applied when maps are exported via the Composer. See attached screenshot to see the difference between the rendering on the qgis main canvas, and an exported map @ 90dpi (which normally should look the same as the main canvas).

It's easy to see this issue by increasing the Text Annotation's font size to a large value.

no-antialiasing-on-canvas.png (1.19 MB) Mathieu Pellerin - nIRV, 2014-06-11 08:12 PM

canvas-label_vs_annotation.png (230 KB) Mathieu Pellerin - nIRV, 2014-06-11 08:20 PM


#1 Updated by Mathieu Pellerin - nIRV over 9 years ago

Actually, here's an even better comparison: the upper text is rendered within a Text Annotation, while the lower text is a rendered label over a point within the main QGIS map canvas.

#2 Updated by Jürgen Fischer almost 8 years ago

  • Status changed from Open to Feedback

Was this meanwhile fixed?

#3 Updated by Mathieu Pellerin - nIRV almost 8 years ago

  • Resolution set to worksforme
  • Status changed from Feedback to Closed

Jef, it seems so, closing.

Also available in: Atom PDF