Skip to content

Commit d8c2c6c

Browse files
authored
Remove Noto Color Emoji fallback (#13838)
It's causing browser errors logged in Firefox under certain circumstances, and I think we're better off recommending Linux users to install a proper emoji font into their system.
1 parent 654c480 commit d8c2c6c

File tree

4 files changed

+4
-209
lines changed

4 files changed

+4
-209
lines changed

docs/content/doc/help/faq.en-us.md

+4
Original file line numberDiff line numberDiff line change
@@ -336,3 +336,7 @@ for the database_name and run `ALTER TABLE table_name CONVERT TO CHARACTER SET u
336336
for each table in the database.
337337

338338
You will also need to change the app.ini database charset to `CHARSET=utf8mb4`.
339+
340+
## Why are Emoji displaying only as placeholders or in monochrome
341+
342+
Gitea requires the system or browser to have one of the supported Emoji fonts installed, which are Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji and Twemoji Mozilla. Generally, the operating system should already provide one of these fonts, but especially on Linux, it may be necessary to install them manually.

web_src/fonts/noto-color-emoji/LICENSE

-201
This file was deleted.
-8.95 MB
Binary file not shown.

web_src/less/_base.less

-8
Original file line numberDiff line numberDiff line change
@@ -132,14 +132,6 @@
132132
font-weight: 500;
133133
}
134134

135-
@font-face {
136-
font-family: "Noto Color Emoji";
137-
src:
138-
local("Noto Color Emoji"),
139-
local("Noto-Color-Emoji"),
140-
url("../fonts/noto-color-emoji/NotoColorEmoji.ttf") format("truetype");
141-
}
142-
143135
textarea {
144136
font-family: var(--fonts-regular);
145137
}

0 commit comments

Comments
 (0)