Discussions
Advanced PDFs: Is there a way to print numbers in Chinese characters?
I can change the language of the form to Chinese using:
' <link name="NotoSans" type="font" subtype="truetype" src="${nsfont.NotoSans_Regular}" src-bold="${nsfont.NotoSans_Bold}" src-italic="${nsfont.NotoSans_Italic}" src-bolditalic="${nsfont.NotoSans_BoldItalic}" bytes="2" />'
But this doesn't convert numbers into Chinese characters. E.g. 16 would be 十六. 1920.99 would be 一千九百二点九九. Is there a way to achieve this within the PDF? I'm currently trying to convert the {subtotal} field on my form.
It might be a bit too much for now, requiring scripting and a API to convert numbers to characters. If that's the case, then don't worry about it, I'll just make a custom field for now and it'll have to be done manually.
Sam Dainton
ERP Project Manager, MPUK
Mobile Power ltd - www.mopo.co.uk