mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-10-13 12:31:55 -04:00
fix(test): read PDF text by visual rows across platforms
This commit is contained in:
1 parent
5fc563bbca
commit
3ddfff242d
2 files changed
+25
-10
No files matched your search
@@ -131,8 +131,9 @@ dotnet test OpenNest.Tests/OpenNest.Tests.csproj --filter FullyQualifiedName~Rep
|
||||
```
|
||||
|
||||
The writer tests read page sizes and content streams with PDFsharp. Text
|
||||
assertions extract with Poppler's `pdftotext -layout` and are skipped, not
|
||||
passed, when poppler-utils is absent. For manual inspection also use `pdfinfo`,
|
||||
assertions use Poppler's `pdftotext -bbox` coordinates to rebuild visual rows;
|
||||
`-layout` can return columns in a different order on Windows. They are skipped,
|
||||
not passed, when poppler-utils is absent. For manual inspection also use `pdfinfo`,
|
||||
`pdffonts` and `pdftoppm -png` (Linux verification baseline: poppler-utils
|
||||
24.02.0). Confirm page sizes, quantity rows, page X of Y, embedded fonts, native
|
||||
vector curves, unfilled holes and visible tab gaps with no connecting stroke.
|
||||
|
||||
Reference in new issue
Block a user