stride
stride copied to clipboard
fix: [Graphics] Fix occasional overflow occuring when interfacing with fonts.
PR Details
See title, this can often be seen when running tests like TestDynamicSpriteFont, more below.
Related Issue
Similar to #1700 And https://github.com/Robmaister/SharpFont/issues/121 which is on the repo of the source we currently run on. If you follow that issue you can see that it hasn't yet been addressed, thankfully SharpFont.NetStandard did.
Types of changes
- [ ] Docs change / refactoring / dependency upgrade
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist
- [ ] My change requires a change to the documentation.
- [ ] I have added tests to cover my changes.
- [x] All new and existing tests passed.
- [x] I have built and run the editor to try this change out.