Font style selection doesn't work for some fonts
<!-- --------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. --> There's a tiny genuine bug in here (can't select Bold on some fonts) but this is mostly a wishlist thing. Some fonts have an unusual repertoire of styles that results in KiCad making unusual choices. For example, if I write this label in Futura, it renders with the "Medium" style with these pointy stylized capitals regardless of whether I've selected Bold: ![Screenshot_2022-12-29_at_15.01.33](/uploads/a77f13680a71822da68b60a177d53fd1/Screenshot_2022-12-29_at_15.01.33.JPG) KiCad seems to fail to find the correct style when there isn't one called Regular. LibreOffice on the same system lets me pick Bold: ![Screenshot_2022-12-29_at_15.02.05](/uploads/a52f9bab2198d01f301e5e740b85e567/Screenshot_2022-12-29_at_15.02.05.JPG) It'd be nice to have a dropdown to choose font styles instead of just the B / I buttons. # 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. Select a font without a Regular style. # 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 arm64 on arm64 Version: (6.99.0-5179-g411efe6f3d), release build Libraries: wxWidgets 3.2.1 FreeType 2.12.1 HarfBuzz 5.3.1 FontConfig 2.14.0 libcurl/7.85.0 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.11 nghttp2/1.47.0 Platform: macOS Ventura Version 13.1 (Build 22C65), 64 bit, Little endian, wxMac Build Info: Date: Dec 29 2022 01:19:59 wxWidgets: 3.2.1 (wchar_t,wx containers) Boost: 1.80.0 OCC: 7.6.3 Curl: 7.77.0 ngspice: 38 Compiler: Clang 13.0.0 with C++ ABI 1002 Build settings: KICAD_SPICE=ON ```
issue