Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Tue Jul 13, 2021 12:05 pm

hello
I'm currently using FreeSpire.PDF nuget version 7.20 inside a .NET application, the application runs and executes correctly, anyhow, when changing the targeted CPU from Any/x86 to x64 the output gets all messed up; attached to the Post the output comparission
C# code:
Code: Select all
  class FreeSpirePDF_tester
    {
        public void WriteTestDocument(string QRData)
        {
            string value = QRData;         
            var doc = new PdfDocument(PdfConformanceLevel.None);
            var page = doc.Pages.Add(PdfPageSize.A4, new PdfMargins());
            var font = new PdfTrueTypeFont(new Font("Arial", 10f, FontStyle.Bold), true);
            var labelBounds = new RectangleF(20, 20, 400, font.Height);
            page.Canvas.DrawString(value, font, PdfBrushes.Black, labelBounds, new PdfStringFormat() { RightToLeft = true });

            doc.SaveToFile("arabic.pdf");
        }
    }

ameer_it
 
Posts: 2
Joined: Tue Jul 13, 2021 11:59 am

Wed Jul 14, 2021 7:37 am

Hello,

Thank you for your inquiry.
I tested your case indeed found that the messy text. I have logged the issue into our Bug tracking system with the ticket number SPIREPDF-4462. Our development team will investigate and fix it. Once it is resolved, I will inform you. Sorry for the inconvenience caused.

Sincerely,
Annika
E-iceblue support team
User avatar

Annika.Zhou
 
Posts: 1657
Joined: Wed Apr 07, 2021 2:50 am

Wed Jul 14, 2021 12:38 pm

thank you for your reply
i will await your updates, until then i will add some... pasta, or spaghetti to the boiler code i have

again
thank you for your reply.

ameer_it
 
Posts: 2
Joined: Tue Jul 13, 2021 11:59 am

Thu Jul 15, 2021 3:17 am

Hello,

You're welcome.
I will keep you informed if there is any good news.

Sincerely,
Annika
E-iceblue support team
User avatar

Annika.Zhou
 
Posts: 1657
Joined: Wed Apr 07, 2021 2:50 am

Wed Jun 25, 2025 3:34 am

Hello,

Thank you for your patience.
We have released the latest Spire.PDF Pack(Hotfix) Version:11.6.14, which fixes issue SPIREPDF-4462.
Download Link from Website: https://www.e-iceblue.com/Download/down ... t-now.html
NuGet Links:
https://www.nuget.org/packages/Spire.PDF/11.6.14
https://www.nuget.org/packages/Spire.PD ... rd/11.6.14

If you have any further questions or need additional assistance, please let us know.

Sincerely,
William
E-iceblue support team
User avatar

William.Zhang
 
Posts: 757
Joined: Mon Dec 27, 2021 2:23 am

Return to Spire.PDF