I am using v0.5 of TGridPrinter on Lazarus 3.99 on Debian Bookworm. I am printing to cups-pdf. When I view my stringgrid on-screen, looks fine. When viewed in print preview, it looks fine. But when printed, cells with a font that is bold truncates the data if the cell is too close.
I fixed the problem for now by making by cell widths even larger.
What I wanted to know is if this is most likely due to how visual font widths are determined vs printer font widths (ie, the cups-pdf printer's font rendering makes the items larger than the preview and actual stringgrids - while another printer might not have this problem)?
I'm guessing, because of differences in printers, it might not be possible to fix programmitcally and was more curious if that is the likely reason. Or, there might be something I can set that would match the printer font size better to the original stringgrid?