How can i print Glyphs like german Umlauts to a PDFTextArea?
I’ve already tried to use a Text Object instead of a String object. And the encoding is UTF8 (text is created within the App, not taken from anexternal source).
Currently Emojis like and Umlauts like ö resulting in garbage text.
Var d As New PDFDocument(PDFDocument.PageSizes.A4)
Var f As FolderItem
f = SelectDestinationForPDF
Var g As Graphics = d.Graphics
g.FontName = PDFDocument.StandardFontNames.Helvetica
Var intMaxLength As Integer = 800
Do
Var ta As New PDFTextArea(d.CurrentPage, 80, 100, d.PageWidth-180, d.PageHeight-180, "Beschreibung " + Str(d.CurrentPage), txtTextForPDF)
ta.ReadOnly = True
d.AddControl(ta)
g.NextPage
LoremIpsum = LoremIpsum.Middle(intMaxLength)
Loop Until LoremIpsum.Length < intMaxLength
d.Save(f)