naps2/NAPS2.App.Tests
Ben Olden-Cooligan 79bba70370 Improve OCR text alignment
This is nearly a full rewrite of the alignment code. Position is now based on the line baseline (provided by Tesseract) and the font size is smarter (defaulting to Tesseract's provided value with various adjustments).

The goals were:
- Have Ctrl+F highlight the word as accurately as possible.
- Have Ctrl+A/Ctrl+C end up with text that matches the original as closely as possible.
- Have PdfSharp and Pdfium produce consistent output.
On my test cases all goals are fully met.

#236
2024-03-26 19:05:17 -07:00
..
Appium Improve OCR text alignment 2024-03-26 19:05:17 -07:00
Targets Migrate to net8 2023-11-18 11:43:50 -08:00
Verification Skip appium tests on non-windows 2022-12-25 13:16:13 -08:00
.gitignore Move ClientCreds to NAPS2.Lib.Common and avoid custom prebuild 2022-07-29 22:09:34 -07:00
AppTestData.cs WIP: Cross-platform app tests 2022-12-18 13:52:33 -08:00
AppTestHelper.cs Use a config file for appium test device names 2023-03-25 12:57:08 -07:00
ConsoleAppTests.cs Increase timeout for console app tests 2022-12-29 11:32:03 -08:00
GuiAppTests.cs Add a --nogui option to "n2 test" 2022-12-25 13:15:31 -08:00
GuiTheoryAttribute.cs Add a --nogui option to "n2 test" 2022-12-25 13:15:31 -08:00
NAPS2.App.Tests.csproj Upgrade packages 2024-03-19 17:01:32 -07:00
WorkerAppTests.cs WIP: Cross-platform app tests 2022-12-18 13:52:33 -08:00