diff options
| author | Mike Skec <skec@protonmail.ch> | 2021-02-25 19:02:35 +1100 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2021-02-25 09:43:47 +0100 |
| commit | 93ca4b363b32ebd7a85cc705b5bb790c144e7066 (patch) | |
| tree | 9da0f9a1cb15ba30375ac81321251587750c0ab6 /src/cachehandler.cpp | |
| parent | a0970f024d52ece837e3448e4cb2d9466c447c74 (diff) | |
| download | kristall-93ca4b363b32ebd7a85cc705b5bb790c144e7066.tar.gz | |
DocumentStyle: fixes for font issues
This commit should hopefully fix all the font problems we were having. Instead of using font substitution for emojis, we just instead call QFont::setFamilies. Builds with Qt versions below 5.13 will not have proper emoji support.
0) emojis seem to work fine at least in my environment
1) when selecting theme with font that is not on the system, a respectable default is used instead
2) custom fonts now work great on Windows (seems to be due to the removal of insertSubstitutions, which didn't seem to work in my build)
3) the dodgey 'Kristall XX' stuff was removed, as it seems like we don't need it
Diffstat (limited to 'src/cachehandler.cpp')
0 files changed, 0 insertions, 0 deletions
