naps2/NAPS2.App.Tests/Appium
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
..
AppiumTestData.cs WIP: Cross-platform app tests 2022-12-18 13:52:33 -08:00
AppiumTests.cs WIP: Improve Appium test flakiness 2023-07-08 18:26:36 -07:00
ImportAndSaveTests.cs Improve OCR text alignment 2024-03-26 19:05:17 -07:00
LanguageSelectionTests.cs Fix language dropdown on Mac/Linux 2023-12-16 21:46:50 -08:00
ScanAndSaveTests.cs WIP: Improve Appium test flakiness 2023-07-08 18:26:36 -07:00