Tables in PCB editor, font is reset to KiCad font after closing and reopening
<!-- --------Before Creating a New Issue----------- * Limit report to a single issue. * Search the issue tracker to verify the issue has not already been reported. * Complete all instructions between `template comment markers <>. * Keep report contents limited to the necessary information required to fix the issue. * When creating an issue against the stable version of KiCad, make sure the latest available stable version is installed as issues may have already been resolved in later stable versions. --> # Description <!-- What is the current behavior and what is the expected behavior? --> <!-- If the issue is visual/graphical, please attach screenshots of the problem. --> <!-- Add the issue details below this line and before the "Steps to reproduce" heading. --> Current behavior: - When you create a table in the PCB editor and change the font in one or more cells, the font in the cells always resets to KiCad font after closing and re-opening the PCB editor Expected behavior: - If you change the font in a table cell in the PCB editor, it should keep the font you chose after closing and reopening the PCB editor. Tables in the schematic editor do have this expected behavior. # Steps to reproduce <!-- If there are multiple steps to reproduce it or it is a visual issue, then providing a screen recording as an attachment to this report is recommended. --> <!-- If this issue is specific to a project, please attach the necessary files to this issue. --> <!-- Add the steps to reproduce using the numbers below --> <!-- Add new step numbers before the "KiCad Version" heading. --> 1. Open the PCB editor, create a table (on any layer) with text in at least one cell 2. Change the font to anything other than KiCad font 3. Save and then close the PCB editor 4. Re-open the PCB editor, notice that the font was reset to KiCad font 5. Perform the same steps in the schematic editor, and notice that the custom font you chose is not reset through open/close cycles # KiCad Version <!-- Copy version information (from main menu Help->About KiCad ->Copy Version Info) and paste it between the triple backticks below to preserve the formatting. --> ``` ``` ``` Application: KiCad PCB Editor x64 on x64 Version: 9.0.1, release build Libraries: wxWidgets 3.2.6 FreeType 2.13.3 HarfBuzz 10.2.0 FontConfig 2.15.0 Platform: Windows 11 (build 26100), 64-bit edition, 64 bit, Little endian, wxMSW OpenGL: ATI Technologies Inc., AMD Radeon RX 7900 XTX, 4.6.0 Compatibility Profile Context 24.4.1.240409 wxWidgets: 3.2.6 (wchar_t,wx containers) Boost: 1.86.0 OCC: 7.8.1 Curl: 8.11.1-DEV ngspice: 44 Compiler: Visual C++ 1942 without C++ ABI KICAD_IPC_API=ON Locale: Lang: en_US Enc: UTF-8 Num: 1,234.5 Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8) ```
issue