Create PDF with unicode text in Xojo
If you make international applications, you have a need to write PDF documents with unicode characters. Use our MBS Xojo DynaPDF Plugin to create PDFs with full unicode support. The Starter edition is enough to write such a PDF and can be purchased stand alone or as part of OmegaBundle.
As you see we picked some example text with non-latin characters like Chinese and Japanese, Cyrillic characters with Ukrainian, Greek letters and some accented characters with Czech.
If you use a font with unicode characters like Arial Unicode MS with 50377 characters supported. But for most texts you just use built-in fonts in PDF like Helvetica, Courier or Times.
Here is an example on how to use DynaPDF to write a PDF with multi language text:
If you like to create PDF in memory, please pass nil for the folderitem and later query final PDF with GetBuffer() function after calling CloseFile. Also note, that for SetFont, you don't need to specify true and kcpUnicode as that is the default.
Please let us know if you have questions about this.