Plot to PDF text not an exact match dimensionally to the stroke font
Description
Plot to PDF allows me to search for text in PDF's. While searching works, it is not always right. For instance, if I search for the word "Support", it is found which means the text is maintained in the PDF (as opposed to Raster, Like "Print"), but the alignment isn't right:
This issue doesn't appear when searching for something short and closer to the origin like searching for "U3" does what I expect:
I tested this in two different PDF viewers and the result is the same in both.
Being able to search for text in PDF output is a valuable capability.
Steps to reproduce
1.Place a long Text string in the Schematic
2.Plot to PDF
3.Open in a PDF Viewer
4.Search in the PDF Viewer for text near the end of the long string
5.Notice alignment issue.
KiCad Version
Application: KiCad Schematic Editor (64-bit)
Version: (6.0.7), release build
Libraries:
wxWidgets 3.1.7
libcurl/7.83.1-DEV Schannel zlib/1.2.12
Platform: Windows 10 (build 19044), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Jul 26 2022 02:49:38
wxWidgets: 3.1.7 (wchar_t,wx containers)
Boost: 1.79.0
OCC: 7.6.0
Curl: 7.83.1-DEV
ngspice: 37
Compiler: Visual C++ 1929 without C++ ABI
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON