Open PDF Document in NET 8 with hieroglyphs

Questions, comments and suggestions concerning VintaSoft PDF .NET Plug-in.

Moderator: Alex

Post Reply
DuempertM
Posts: 6
Joined: Tue Jun 02, 2015 3:14 pm

Open PDF Document in NET 8 with hieroglyphs

Post by DuempertM »

Hello,
We use the current Vintasoft Image SDK 14.0 in our software and one of our customers reported a problem with a PDF file. We get hieroglyphs displayed on several pages. If we open the PDF file with Adobe Reader or PDF X-Change, for example, the pages look normal. In the Vintasoft demos we get the pages displayed normally in NET 4, samples compiled for NET 8 also with hieroglyphs.

Could it be due to the change in standard encoding from NET 7? Encoding.Default has since been UTF8. Or can you please help us solve this problem.

Correct Page
http://www.wpm-ingenieure.de/downloads/ ... orrect.jpg

Wrong Page
http://www.wpm-ingenieure.de/downloads/ ... _wrong.jpg

Testfile PDF
http://www.wpm-ingenieure.de/downloads/ ... tasoft.pdf
Alex
Site Admin
Posts: 2378
Joined: Thu Jul 10, 2008 2:21 pm

Re: Open PDF Document in NET 8 with hieroglyphs

Post by Alex »

Hello,

Thank you for information and PDF document.

We was not able to reproduce the problem in VintaSoft PDF Reader Demo for .NET Framework 4 ("[SdkInstallPath]\VintaSoft\Imaging .NET 14.0\Bin\DotNet4\AnyCPU\PdfReaderDemo.exe") and VintaSoft PDF Reader Demo for .NET 9 ("[SdkInstallPath]\VintaSoft\Imaging .NET 14.0\Bin\DotNet9\AnyCPU\PdfReaderDemo.exe").

Please run VintaSoft PDF Reader Demo for .NET 9 ("[SdkInstallPath]\VintaSoft\Imaging .NET 14.0\Bin\DotNet9\AnyCPU\PdfReaderDemo.exe") and see the result. If SDK will have problems, you will see red text with errors in the bottom panel of application window.

I think you have problem because PDF document has external fonts and SDK was not able to find external fonts in your system.

Please read how to work with external fonts in PDF document here: https://www.vintasoft.com/docs/vsimagin ... ument.html

Also please see source codes of CustomFontProgramsController class in VintaSoft PDF Reader Demo: "[SdkInstallPath]\VintaSoft\Imaging .NET 14.0\Examples\WinForms\CSharp\PdfReaderDemo\DemosCommonCode.Imaging\Fonts\CustomFontProgramsController.cs".

Let me know if you will have any question or problem.

Best regards, Alexander
DuempertM
Posts: 6
Joined: Tue Jun 02, 2015 3:14 pm

Re: Open PDF Document in NET 8 with hieroglyphs

Post by DuempertM »

Hello,

we have the VintaSoft\Imaging .NET 14.0\Examples\WPF\CSharp\WpfPdfEditorDemo\WpfPdfEditorDemo.Net9.csproj
opened, entered license key, recompiled. This means we can always reproduce it. The same is true in our software, which runs on .NET 8 basis. Always reproducible on our other clients. The error does not occur in Adobe Reader or other PDF viewing programs.

I also had this problem twice with VintaSoft\Imaging .NET 14.0\Bin\DotNet9\AnyCPU\PdfEditorDemo.exe. I've already tried to figure out reproduction steps, but it worked a few times without any problems.

Image
Post Reply