PDF Title is malformed when setting a title that contains a full-width character 'K'

Hi,

When setting a title to a PDF file using Aspose.PDF. I noticed the text gets malformed if there’s a full-width character ‘K’. Any half -width characters as well as other full-width characters appear to work well.

Code:

        var pdf = new Document(@".\PDF Title test.pdf");
        ITaggedContent taggedContent = pdf.TaggedContent;
        taggedContent.SetTitle("SBIKHネオケムTestK");
        pdf.Save(@".\malformed-title.pdf");

I’ve attached a screenshot and the test files for your reference. Could you please help to take a look?

image.png (20.1 KB)
malformed-title.zip (54.9 KB)

Thanks,

@ServerSide527
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFNET-58020

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.