Skip to content

eeschema: export to pdf does not respect background color fill

Description

If custom background color is set for rectangle in symbol editor, it is shown correctly in eeschema itself, but export to pdf export ignores that settings.

Steps to reproduce

  1. In symbol editor create rectangle, double click it to open properties and set fill style to fill with body background color and confirm with OK button.
  2. Select the rectangle and in shape properties (left part of the symbol editor window) set the fill color (I tried different opacities, but it seems to have no effect)
  3. save the symbol, insert it into the eeschema - it renders correctly, correct background color is shown
  4. export schema to pdf (file -> plot ... )
  5. open the pdf, background color is not changed

Rectangle properties:
image

Background color settings:
image

Look in symbol editor:
image

Look in eeschema:
image

Look in pdf:
image

KiCad Version

Application: KiCad Schematic Editor x64 on x64

Version: 8.0.6, release build

Libraries:
	wxWidgets 3.2.6
	FreeType 2.13.2
	HarfBuzz 9.0.0
	FontConfig 2.14.2
	libcurl/8.8.0-DEV Schannel zlib/1.3.1

Platform: Windows 11 (build 22631), 64-bit edition, 64 bit, Little endian, wxMSW
OpenGL: Intel, Intel(R) Iris(R) Xe Graphics, 4.6.0 - Build 31.0.101.5333

Build Info:
	Date: Oct 14 2024 01:02:33
	wxWidgets: 3.2.6 (wchar_t,wx containers)
	Boost: 1.85.0
	OCC: 7.8.1
	Curl: 8.8.0-DEV
	ngspice: 43
	Compiler: Visual C++ 1939 without C++ ABI

Build settings: