Nov. 12, 2016
1:54 p.m.
2016-11-12 14:02 GMT+01:00 olivier auverlot <olivier.auverlot@gmail.com>:
Denis,
Could you publish a snippet of code that generates a PDF document with a text that contains russians letters ? We need to test.
See my original mail.: oneLineTest: aStream
PDFDocument new add: (PDFPage new add: (PDFTextElement new text: 'Hello ÐÑивеÑ'; from: 10mm@10mm)); exportTo: aStream.
I modified demo example.
For russian letters, I think That You need a consistent font and the proper encoding. Normally, the Helvetica / Arial should be ok. For the encoding, the standard fonts use ISO-8859-1 or windows-1252. If you use UTF8, You Could try to convert your text to this encoding before insert it in the PDF document.