Commit e59f016
committed
Fix crash rendering emoji on macOS with FontCollection that lacks default font manager
FontCollection checks if fDefaultFontManager is non-null in various
places before using it, except when determining the emoji fallback font.
This can cause a crash when the FontCollection was not initialized with
a default font manager.
This is reproducible for me on macOS with the 🍃 emoji.1 parent b72af59 commit e59f016
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
183 | 185 | | |
184 | 186 | | |
185 | 187 | | |
| |||
0 commit comments