Feature request #2739
patch to scale label buffers and offsets for printing
|Pull Request or Patch supplied:||Resolution:||fixed|
|Easy fix?:||No||Copied to github as #:||12799|
The following patch adds scaling of label buffers and offsets for printing. Additionally, the font is requested in a larger size and the painter is downscaled to have a better font appearance when printing (to avoid the so-called Qt font scale bug). Finally, the buffer size is considered in the label size calculation.
Martin, could you review this patch (just to avoid I'm breaking something in the new labeling engine)? But no hurry, I know you are very busy these days.
#2 Updated by Martin Dobias over 11 years ago
- Resolution set to fixed
- Status changed from Open to Closed
Applied in b1db818a (SVN r13600).
I've simplified the calculations of positions as it was starting to be hairy. I think the buffer size shouldn't be considered for the labels as it complicates things and actually it might be desirable to allow the buffers of neighboring labels to coalesce. But we could add a "margin" property, which would allow the user to set properly the minimum distance from other labels.