Bug report #7476

print composer rulers do not show correctly if qgis font size is bigger than the default one

Added by Giovanni Manghi over 9 years ago. Updated almost 9 years ago.

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


subject says it all. See attached screenshots. It seems that the "0" in the vertical ruler is never visible.

Capture.JPG (15.1 KB) Giovanni Manghi, 2013-03-29 10:58 AM

Capture2.JPG (20.8 KB) Giovanni Manghi, 2013-03-29 10:58 AM

Associated revisions

Revision 53c654ff
Added by Nyall Dawson almost 9 years ago

[composer] Make sure ruler size is based off font size (fix #7476).
Only do ruler calculations once, not on every paint event.


#1 Updated by Antonio Locandro over 9 years ago

Confirmed, the "0" is never visible, also it seems that when the font is above 11 font size it gets truncated. While we are at it, I think the ruler would benefit from having subdivisions and telling you the exact x & y position of the guide something like Inkscape has

#2 Updated by Tim Sutton over 9 years ago

Yes it would be nice to use a much smaller font e.g. 8point by default for this.

#3 Updated by Nyall Dawson almost 9 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF