[Font] Update SharpFont library for additional fixes
PR Details
Successor to #2281 Must wait until pull at https://github.com/stride3d/SharpFont/pull/1 is merged and its nuget package has been updated to 1.0.1.
My understanding of Stride's build of SharpFont:
- vonderborch's repo, aka SharpFont.NetStandard did not contain any major changes compared to Robmaister's repo- it mainly moved files around (no code changes) and the single code change involved loading/switching 32bit/64bit dll, which Stride already does (I think). So the above pull only merged and modified from the latest of Robmaister's repo.
- Stride does not use
freetype6as provided in Robmaister's branch which is only on v2.6 - Stride uses v2.6.3 https://github.com/stride3d/freetype/tree/2.6.3 (and is namedfreetype), as per this https://github.com/stride3d/stride/blob/master/deps/freetype/checkout.bat
Related Issue
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.
- [ ] All new and existing tests passed.
- [ ] I have built and run the editor to try this change out.
You're a god send, thanks a ton for taking over this one @Basewq and for looking into this further than I had :)
All good, I should be thanking you! Spent hours trying to find solve a font display bug, then stumbled on your pull which helped finally figure out the issue. Really good timing, lol.
Also fixed the issue on the other repo, should be going to the right branch now.
I'll look into publishing the package once teamcity is up
Ready to merge. While there are some fixes within SharpFont, none appears to have impacted Stride at this time, so consider this more of a future proofing update.
Realistically, if there are font bugs that need fixing, consider updating the stride version of freetype repo: https://github.com/stride3d/freetype
Thanks !