Symbol SVG export reference and value fields misplaced

Description

SVG exporting a symbol using either the command line or the GUI results in the reference and value fields in the exported SVG to be misplaced.

Correct image with reference and value placed to the right of the symbol (taken in symbol editor) image

Chrome rendering of the exported SVG. Both fields are there, just clipped by the viewbox. image

Steps to reproduce

  1. Open Symbol Editor
  2. Open R_Photo
  3. Export to SVG
  4. View SVG

KiCad Version

Application: KiCad Symbol Editor x86_64 on x86_64

Version: 10.0.0-rc1-fa0b591efb~186~ubuntu24.04.1, release build

Libraries:
	wxWidgets 3.2.4 GLX
	FreeType 2.13.2
	HarfBuzz 8.3.0
	FontConfig 2.15.0

Platform: Ubuntu 24.04.4 LTS, 64 bit, Little endian, wxGTK, X11, x11, ubuntu:GNOME, ubuntu
OpenGL: Intel, Mesa Intel(R) UHD Graphics 620 (KBL GT2), 4.6 (Compatibility Profile) Mesa 25.2.8-0ubuntu0.24.04.1, GLX 1.4

	wxWidgets: 3.2.4 (wchar_t,wx containers) GTK+ 3.24
	Boost: 1.83.0
	OCC: 7.6.3
	Curl: 8.5.0
	ngspice: 43
	Compiler: GCC 13.3.0 with C++ ABI 1018
	KICAD_IPC_API=ON
	KICAD_USE_PCH=OFF

Locale: 
	Lang: en_US
	Enc: UTF-8
	Num: 1,234.5
	Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)