Update `emoji-icon-font` with fix for fullwidth latin characters (#7067)
* This PR is based on https://github.com/emilk/egui/pull/5877 by @danielhjacobs ## Original PR description Replace the current `emoji-icon-font.ttf` with the updated font from https://github.com/jslegers/emoji-icon-font/pull/19 to address https://github.com/emilk/egui/issues/1284. The second commit then removes the now unnecessary hack. * Closes https://github.com/emilk/egui/issues/1284 * Closes https://github.com/emilk/egui/pull/5877 --------- Co-authored-by: Daniel Jacobs <danielhunterjacobs@gmail.com>
This commit is contained in:
parent
6ccb768000
commit
f23618701f
|
|
@ -1,3 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:af99bd49ceee6bbd96cc813cd96ac01f5c135ed7d94b8ff4010fa45feac5359a
|
||||
size 127703
|
||||
oid sha256:1523b8ad99267eceb65a9009ca38d99937e61c45a1115d050644f037cadfc16c
|
||||
size 127794
|
||||
|
|
|
|||
|
|
@ -149,14 +149,6 @@ impl FontImpl {
|
|||
return false;
|
||||
}
|
||||
|
||||
if self.name == "emoji-icon-font" {
|
||||
// HACK: https://github.com/emilk/egui/issues/1284 https://github.com/jslegers/emoji-icon-font/issues/18
|
||||
// Don't show the wrong fullwidth capital letters:
|
||||
if 'S' <= chr && chr <= 'Y' {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
matches!(
|
||||
chr,
|
||||
// Strip out a religious symbol with secondary nefarious interpretation:
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in New Issue