ststeiger / PdfSharpCore

Port of the PdfSharp library to .NET Core - largely removed GDI+ (only missing GetFontData - which can be replaced with freetype2)
Other
1.08k stars 237 forks source link

Document info becomes gibberish #339

Open nzdvis opened 1 year ago

nzdvis commented 1 year ago

Hello,

Setting the document title, subject and author is not translating right.

PdfDocument document = new PdfDocument(); 

string data = "English, Ελληνικά, 漢語";
document.Info.Title = data; 
document.Info.Subject = data;
document.Info.Author = data;

Becomes this: image

I have tried with "normal" data, this text with justed used in the test, so I tried.

Thanks