crash with custom font
Description
The steps below produce a 100% reliable crash.
Steps to reproduce
- open attached project, open schematic, open board: fill_around_text_crash.zip
- select "~{ggggg} - text (with overbar)
- "E" for text properties dialog --> change Font to Arial (shuld be installed on every windows-machine)
- "OK" to close text-dialog, text-display has changed (arial as font is applied - ok), text still selected
- recalculate zones with hotkey ("CTRL+B" on my system), text still selected
- CTRL+C to copy
- CTRL+V to paste --> crash
KiCad Version
Application: KiCad PCB Editor x64 on x64
Version: 7.0.4-20-g7cc55d2d3a, release build
Libraries:
wxWidgets 3.2.2
FreeType 2.12.1
HarfBuzz 6.0.0
FontConfig 2.14.1
Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW
wxWidgets: 3.2.2 (wchar_t,wx containers)
Boost: 1.81.0
OCC: 7.6.3
Curl: 7.88.1-DEV
ngspice: 40
Compiler: Visual C++ 1936 without C++ ABI
Build settings:
KICAD_SPICE=ON