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 6 years ago. Updated over 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:-
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

Description

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 over 5 years ago

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

History

#1 Updated by Antonio Locandro over 6 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 6 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 over 5 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF