eeschema plot: multiline text items inside a symbol always plotted as center-aligned (real alignment-setting is ignored)

Description

It's allowed to embed multiline simple text-items inside symbol definitions. These multiline textitems can be set to left / center / right-aligned.

Plotting a schematic (to pdwith a symbol containing left / right-aligned text yields a pdf-file with all center-aligned text-items.

  • affects only text inside symbols (normal textitems on the schematic are ok)
  • affects filetypes:
  • pdf
  • dxf
  • svg
  • postscript / hpgl: not tested

Steps to reproduce

  1. Open attached project, open schematic: print_multiline_v899.zip
  2. Look at IC2 / IC3 / IC4 - all contain a multi-line text-item with different alignment-settings. (see picture 1)
  3. File --> Plot --> filetype pdf/dxf: the resulting plot-file shows all symbol-text as center-aligned (see picture 2)

plot_multiline2

KiCad Version

Application: KiCad Schematic Editor x64 on x64

Version: 8.99.0-2558-g95bbcaffbf, release build

Libraries:
	wxWidgets 3.2.5
	FreeType 2.13.2
	HarfBuzz 9.0.0
	FontConfig 2.14.2

Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW
OpenGL: Intel, Intel(R) Iris(R) Xe Graphics, 4.6.0 - Build 30.0.100.9837

	wxWidgets: 3.2.5 (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

Locale: 
	Lang: en_GB
	Enc: UTF-8
	Num: 1,234.5
Edited by Maik Freitag