Skip to content

Commit 2588363

Browse files
Remove no longer relevent emoji font hack
1 parent 66e88a9 commit 2588363

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

crates/epaint/src/text/font.rs

-8
Original file line numberDiff line numberDiff line change
@@ -149,14 +149,6 @@ impl FontImpl {
149149
return false;
150150
}
151151

152-
if self.name == "emoji-icon-font" {
153-
// HACK: https://github.com/emilk/egui/issues/1284 https://github.com/jslegers/emoji-icon-font/issues/18
154-
// Don't show the wrong fullwidth capital letters:
155-
if 'S' <= chr && chr <= 'Y' {
156-
return true;
157-
}
158-
}
159-
160152
matches!(
161153
chr,
162154
// Strip out a religious symbol with secondary nefarious interpretation:

0 commit comments

Comments
 (0)