Is anyone seeing strange spacing on (for example) ...
# advancedpdf
m
Is anyone seeing strange spacing on (for example) German PDFs where the PDF looks mostly okay in the browser but when downloaded the encoding is leading to there not being appropriate spacing between the currency symbol and the first digit of the rate and the
,
for thousands place is being replaced by a space instead of no space? Seeing this only on invoices where commas are used for the decimal separator
watching following 1
s
actually, does the issue show up even if the thousands separator is , instead of . ? Reason I ask is I have seen this too with our Euro transactions, and I was wondering if it was just a font issue (the euro symbol not having any spacing on the right side). Maybe even try a different font? I am redoing our invoices soon to use a new font, so I plan to test this theory out within the next week or two. If I find out anything helpful about this issue I’ll post back here.
m
I don't know offhand, if it comes up i'll report back thanks for the note scott
a
I'm working in EU and the issue it's happening with all countries / currencies. Possible solutions are to format as a number in the template and add currency symbol as separated field so that you can handle spacing better
s
I did some testing and there is something odd with how Netsuite is formatting the currency values, it’s not the font. If I manually construct the string with the currency symbol followed by a number, it looks fine in every font including the default Helvetica/sans-serif. It feels like a NetSuite bug, and must have something to do with how the string value is being passed into Freemarker. Maybe contact them and get a defect created (though I imagine it will be treated as low priority)
a
Exactly as I wrote, without that work around the possibility of getting a weird PDF it's high with lot of digits. So I would really recommend the "format as you need" pattern for every template