Open ggaebee opened 1 year ago
@ggaebee can you test with the latest pre-release package and check the issue is still there?
@BobLd After testing with the latest pre-release package, the issue of extreme value discrepancies has been resolved, but there are still differences in the values. Could you check on this issue?
Windows Results
{
"PAGE": 1,
"SENTENCE": "Page 1 of 26",
"WIDTH": 5.144824218749989,
"HEIGHT": 6.753515625000006
}
Linux Results
{
"PAGE": 1,
"SENTENCE": "Page 1 of 26",
"WIDTH": 4.970507812499989,
"HEIGHT": 6.678808593750006
}
I built a project that includes the following source code in the Windows .NET 7.0 environment.
Also, I built it for the linux-x64 environment using the command:
Here is the version information.
I tested with the same PDF file as input on both OS and checked the results.
The WIDTH is
textBlock.TextLines.First().Words.First().Letters.First().GlyphRectangle.Width
and the HEIGHT istextBlock.TextLines.First().Words.First().Letters.First().GlyphRectangle.Height
.Regardless of which PDF file is input, it shows different results. Why do Windows and Linux show different results?