mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 09:30:47 +03:00
Force emoji font on a few more characters
Looks a bit better and works around some height weirdness on my systems.
This commit is contained in:
parent
56b612c59d
commit
e03fb71b08
1 changed files with 4 additions and 1 deletions
|
@ -255,7 +255,10 @@ utils::codepointIsEmoji(uint code)
|
||||||
{
|
{
|
||||||
// TODO: Be more precise here.
|
// TODO: Be more precise here.
|
||||||
return (code >= 0x2600 && code <= 0x27bf) || (code >= 0x2b00 && code <= 0x2bff) ||
|
return (code >= 0x2600 && code <= 0x27bf) || (code >= 0x2b00 && code <= 0x2bff) ||
|
||||||
(code >= 0x1f000 && code <= 0x1faff) || code == 0x200d || code == 0xfe0f;
|
(code >= 0x1f000 && code <= 0x1faff) || code == 0x200d || code == 0xfe0f ||
|
||||||
|
code == 0x231a || code == 0x231b || (code >= 0x23e9 && code <= 0x23ff) ||
|
||||||
|
code >= 0x25aa || code == 0x25ab || code == 0x25b6 || code == 0x25c0 ||
|
||||||
|
(code >= 0x25fb && code <= 0x25fe) || (code >= 0x2460 && code <= 0x24ff);
|
||||||
}
|
}
|
||||||
|
|
||||||
QString
|
QString
|
||||||
|
|
Loading…
Reference in a new issue