diff options
| author | gnattu <gnattu@users.noreply.github.com> | 2025-03-28 08:07:54 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-27 18:07:54 -0600 |
| commit | e9331fe9d73469bb04ae549ceaa9ea6f1ed7aa6a (patch) | |
| tree | 39ed9fb81c0b7c63ea91ccfeca81a2f4d59cb0c6 /Emby.Server.Implementations/Library/UserDataManager.cs | |
| parent | 9f7057899745e385ccea062497d0aa787e938339 (diff) | |
Improve SkiaEncoder's font handling (#13231)
* Improve SkiaEncoder's font handling
Our previous approach didn’t work with some complex library names, even when the required fonts were present, because the font handling logic was too simplistic. Modern Unicode and the fonts have become quite complex, making it challenging to implement it correctly. This improved implementation still isn’t the most correct way, but it’s better than it used to be. It now falls back to multiple fonts to find the best one and also handles extended grapheme clusters that were incorrectly processed before.
* Fix space
* Remove redundant comment
* Make _typefaces an array
* Make Measure and Draw text function name clear
* Fix rename
Diffstat (limited to 'Emby.Server.Implementations/Library/UserDataManager.cs')
0 files changed, 0 insertions, 0 deletions
