Center text vertically based on capital letter sizes, not lowercase descenders
Description
When telling the PCB editor to center justify some text, this works for horizontal justification but does not entirely work for vertical justification. It seems to be biased upwards by approximately 10% judging by my Mk.I eyeballs.
I took a screenshot demonstrating the issue; I have used an image editor to draw a green line through what I most perceive to be the center of the text, and a green circle around the grid point that the text is anchored to. They're not the same.
I should stress that the error is only approximately 0.1mm, so nothing major to worry about, but it will upset those that have obsessive tendencies.
KiCad Version
Application: KiCad PCB Editor x64 on x64
Version: (7.0.0), release build
Libraries:
wxWidgets 3.2.1
FreeType 2.12.1
HarfBuzz 5.0.1
FontConfig 2.14.1
libcurl/7.83.1-DEV Schannel zlib/1.2.13
Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Feb 12 2023 01:35:19
wxWidgets: 3.2.1 (wchar_t,wx containers)
Boost: 1.80.0
OCC: 7.6.2
Curl: 7.83.1-DEV
ngspice: 39
Compiler: Visual C++ 1934 without C++ ABI
Build settings:
KICAD_SPICE=ON
Edited by Aaron Jones