GNOME Bugzilla – Bug 730232
print dialog clips off left page size label on A4 landscape mode
Last modified: 2014-12-01 12:15:46 UTC
Created attachment 276653 [details] example of clipped font This is Shotwell, but I guess it's the stock gtk print dialog, thus filed in gtk. Prerequisities: Interface font set to "Cantarell Medium 11" in tweak tool (I think this is the default, but I am not 100% sure) How to reproduce: 1. Open photo in Shotwell 2. Select File → Print... 3. Select "Page Setup" -tab 4. Set page to A4 with landscape orientation Observe the preview of image view (the width / height labels). The height label gets clipped on left side (see attachment). (Gtk version: gtk3-3.12.1-1.fc20.x86_64)
Actually, it appears the font on the preview labels does not follow system interface font settings. By visual comparison, it looks like it's using the default "Sans" font (fallback?) with the size setting (11) from system font. Cantarell is visually a bit smaller and wider. Maybe the widget sizing assumes system font metrics, but it just uses "Sans" and this does not match?
Created attachment 291723 [details] [review] Don't crop dimensions of layout preview Hi, thank you for this report. Attached patch increases the basic dimensions of the GtkDrawingArea used for drawing of the layout preview + it sets "fill" property of the drawing area to True. Marek
Review of attachment 291723 [details] [review]: sure, looks fine, if it works
Comment on attachment 291723 [details] [review] Don't crop dimensions of layout preview (In reply to comment #3) > Review of attachment 291723 [details] [review]: > > sure, looks fine, if it works Thank you for the review. I've pushed the patch to master and 3-14 branch.