hello, im using your Comparison .Net Ui product, when i try to compare two pdf’s it appears that the text’s are written by bold characters
image.png (22.0 KB)
here’s the files that i used for comparison
95592.pdf (20.9 KB)
95600.pdf (20.8 KB)
thanks for your help
@mtiryaki
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): COMPARISONNET-4118
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.
hello, is there any update of this issue?
Hello @mtiryaki we are planed to work on it within version 24.11 the fix is expected to be released at the end of November
The issues you have found earlier (filed as COMPARISONNET-4118) have been fixed in this update. This message was posted using Bugs notification tool by anton.samarskyy
Hello,
I updated to comparison 24.11. COMPARISONNET-4118 I was expecting this development to be implemented. However, the error persists. I am sharing the error and the updated versions in the attachment.
Can you support?
Thank you.
image.png (25.0 KB)
image.png (19.3 KB)
image.png (107.6 KB)
image.png (56.4 KB)
Hi @kenankocer ,
Could you please clarify whether I understand the issue correctly?
Is the problem not with the comparison result itself, but rather that your application—which also uses the GroupDocs.Viewer component—displays the original (pre-comparison) PDF documents with bold text, even though the documents themselves do not contain bold text?
Your confirmation will help us better analyze the issue.
Looking forward to your response.
Hi,
The problem is that when the pdf, which does not have bold text in the original, is opened on the comparison page, it appears in bold text. There is detail in the pictures. There was a record that you would solve this problem in the current version, we waited and updated it when it came out, but it did not work.
Can you help?
hi @kenankocer ,
Thanks for the clarification.
We tested the latest version of the GroupDocs.Comparison-for-.NET-UI project (which uses GroupDocs.Comparison 25.2) and were unable to reproduce the issue. Below is an image showing how it looks on our side when running on .NET 8 in a Windows environment:
comparisonUi.png (13.8 KB)
The Comparison-for-.NET-UI project works as follows: It renders each document page as an image on the backend, and the frontend displays the generated image. Below is a sample code snippet that renders a page into an image using .NET GroupDocs.Comparison:
string source = @"c:\95592.pdf";
var pageNumberToRender = 1;
using (Comparer comparer = new Comparer(source))
{
IDocumentInfo documentInfo = comparer.Source.GetDocumentInfo();
string folderTempPath = @"c:\result";
PreviewOptions previewOptions = new PreviewOptions(pageNumber =>
{
var pagePath = Path.Combine(folderTempPath, $"result_{pageNumber}.png");
return File.Create(pagePath);
})
{
PreviewFormat = PreviewFormats.PNG,
PageNumbers = new[] { pageNumberToRender },
Height = documentInfo.PagesInfo[pageNumberToRender - 1].Height,
Width = documentInfo.PagesInfo[pageNumberToRender - 1].Width
};
comparer.Source.GeneratePreview(previewOptions);
}
Here is the rendered image of the first page from 95592.pdf, and it does not appear bold:
result_1.png (4.5 KB)
Could you please clarify which .NET framework version you are using in your project and which operating system you are running it on? This will help us try to reproduce the issue under the same conditions.
Looking forward to your response.
Hello,
Thanks for your feedback.
We are running the project with .net 7. Our project is a saas application installed on a Linux machine. We are opening it with the browser Windows Chrome and looking at it.
As code GitHub - groupdocs-comparison/GroupDocs.Comparison-for-.NET-UI: UI - User Interface for GroupDocs.Comparison for .NET We took your project here as an example and developed it. We cannot open the images you sent because I am not the subject owner.
1 Like
Hi @kenankocer ,
Thanks for the clarification.
I was able to reproduce the issue in the Linux operating system. A fix is planned and will be delivered by the end of March with version 25.3.
Let me know if you have any further questions.
1 Like