PLot to pdf/svg: embedded textboxes with default line style get dashed border
# Description
If a symbol contains embedded textboxes (admittedly a rare case) and these textboxes have a border with default linestyle, then these border gets falsely plotted as dashed border.
# Steps to reproduce
1. open attached project, open schematic:[plot_textbox_inside_symbol.zip](/uploads/88ac926ae9d7d4b5dbb6164c408e68a4/plot_textbox_inside_symbol.zip)
2. notice IC1 contains embedded textboxes with defasult linestyle. These border is drawn as solid line in eeschema. (see picture 1)
3. File-->Plot--> to pdf/SVG
4. examine pdf: textbox border is dashed (see picture 2)
5. examine svgf: textbox border is also dashed (see picture 3)

# KiCad Version
```
Application: KiCad Schematic Editor x64 on x64
Version: 7.99.0-4189-gbe21c689e8, release build
Libraries:
wxWidgets 3.2.4
FreeType 2.12.1
HarfBuzz 8.3.0
FontConfig 2.14.2
Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW
wxWidgets: 3.2.4 (wchar_t,wx containers)
Boost: 1.83.0
OCC: 7.7.1
Curl: 8.4.0-DEV
ngspice: 42
Compiler: Visual C++ 1936 without C++ ABI
Build settings:
```
issue