obs-studio
obs-studio copied to clipboard
obs-text: Fix alignment with extents
Description
make alignment and vertical alignment work as expected
Made a new version to keep old gdi+ text sources the same.
Motivation and Context
Make the alignment options do what people expect it to do. Fixes #3373
How Has This Been Tested?
On windows 11 by creating the text sources you see in the screenshot above
Types of changes
- Bug fix (non-breaking change which fixes an issue)
Checklist:
- [x] My code has been run through clang-format.
- [x] I have read the contributing document.
- [x] My code is not on the master branch.
- [x] The code has been tested.
- [x] All commit messages are properly formatted and commits squashed where appropriate.
- [x] I have included updates to all appropriate documentation.
Can confirm this fixes the issue. Pulled the artifact from this build, started a clean instance and tested the word wrap.
Thank you for your work on this @exeldro