Commit Graph

13 Commits

Author SHA1 Message Date
Jonathan Thomas
1832899526 Removing debug code 2023-03-27 13:48:43 -05:00
Jonathan Thomas
b37ec87d3e Updating windows x86 unit test values to align with Windows x86 2023-03-27 12:52:21 -05:00
Jonathan Thomas
01c3c62c99 Adding additional debugging code for an x86 Windows issue with font rendering 2023-03-27 11:16:10 -05:00
Jonathan Thomas
44d318949a Small windows unit test regression 2023-03-27 01:27:39 -05:00
Jonathan Thomas
2b07f93e51 Fixing unit tests with correct Linux and Windows pixel coordinates - since default font sizes have been adjusted. 2023-03-27 01:07:45 -05:00
Jonathan Thomas
c34fa59b8f Switching Caption effect from font "Points" to "Pixels", so fonts are scaled correctly in High DPI environments. 2023-03-27 00:24:09 -05:00
Jonathan Thomas
9daf04f14e Take 2: Adjust caption scaling logic, to keep different resolution projects from having dramatically different font sizes. More debug code for Windows. 2023-03-26 23:22:12 -05:00
Jonathan Thomas
c250151c33 Adjust Caption margins and fix unit tests, which have changed the text position. Adding Debug output to unit test for Windows troubleshooting. 2023-03-25 18:10:33 -05:00
Jonathan Thomas
450af52f64 WIP: Experimental Unit Tests without Display (#900)
* Experimental test for unit tests without display

* Ignore unit tests running on an invalid QT Platform (i.e. offscreen - running as a test on GitHub)

* Fix whitespace on Caption effect

* Check for env variable for QT_QPA_PLATFORM == offscreen, and ignore Caption unit tests (for GitHub checks)
2023-02-14 01:44:38 -06:00
Jonathan Thomas
fbbe4571a5 Removing debug code for Caption effect unit tests 2023-02-14 00:30:25 -06:00
Jonathan Thomas
bcade0c276 Enabling high DPI support for Caption unit test, and using different values for Windows and Linux unit tests, since fonts are rendering using different systems... and are not equal. 2023-02-14 00:16:41 -06:00
Jonathan Thomas
2131d38a72 Adding debug code for failed windows unit test 2023-02-13 23:35:10 -06:00
Jonathan Thomas
06c140c23c Improvement to Caption effect, including Caption unit-tests, and the following fixes:
- improved regex, which now detects lines without blank lines separating them, and detects captions that start with numbers
- line wrapping fixed for languages that don't use spaces
- forced line wrapping of long strings of characters
2023-02-10 15:14:10 -06:00