Pcbnew print function autofits hidden text

Bug #1746911 reported by Henrik Sandaker Palm
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Committed
Low
Jeff Young

Bug Description

Using File->Print function and ticking "fit in page". The area that is fitted includes hidden text, but the text is rightfully not shown, only the area is included.

Not all text is tried fitted. With the standard C_0805 footprint there is an extra ref.des. text on F.Fab layer that is not linked to the component with a blue airwire, which the print-fucntion does not try to fit (if it's Visible or Invisible).

The selection of layers to include in the print does not seem to affect the fitted area.

The behavior is not affected by the rendering option to show/hide "hidden text".

The included file is a Pcbnew project with the C_0805 footprint.
The footprint is placed arbitrarily,
the Value-field (F.Fab) is Invisible and is placed above the footprint,
the Ref.Des.-field (F.silk) is Invisble and placed to the right of the footprint,
The extra ref.des.-field (F.Fab) is Visible and placed to the left of the footprint.

I then go to File->print and preview the print with options "fit in page" ticked, and "print frame ref" unticked. The Footprint shows in the bottom left of the preview corner with no other text showing.

For some reason, my hidden Ref.des. field is not greyed out when checked Invisble until I hide F.Silk. layer. I've not seen this behavior before, it would be interesting to see if it follows the Pcbnew file or if it's my Kicad install.

Application: kicad
Version: 4.0.6 release build
wxWidgets: Version 3.0.2 (debug,wchar_t,compiler with C++ ABI 1010,GCC 6.3.0,wx containers,compatible with 2.8)
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Boost version: 1.60.0
Curl version: libcurl/7.52.1 OpenSSL/1.0.2k zlib/1.2.11 libssh2/1.8.0 nghttp2/1.19.0 librtmp/2.3
         USE_WX_GRAPHICS_CONTEXT=OFF
         USE_WX_OVERLAY=OFF
         KICAD_SCRIPTING=ON
         KICAD_SCRIPTING_MODULES=ON
         KICAD_SCRIPTING_WXPYTHON=ON
         USE_FP_LIB_TABLE=HARD_CODED_ON
         BUILD_GITHUB_PLUGIN=ON

Revision history for this message
Henrik Sandaker Palm (hspalm) wrote :
Jeff Young (jeyjey)
Changed in kicad:
status: New → Triaged
importance: Undecided → Low
tags: added: pcbnew printing
Jeff Young (jeyjey)
Changed in kicad:
assignee: nobody → Jeff Young (jeyjey)
milestone: none → 6.0.0-rc1
status: Triaged → In Progress
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision 375e8a2f978270c6da1b98693859a6b75d4ba21e
https://git.launchpad.net/kicad/patch/?id=375e8a2f978270c6da1b98693859a6b75d4ba21e

Changed in kicad:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.