mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
JBR-1248 Exception caused by broken font
port from JBR 11 to JBR 15 (cherry picked from commit4efa7eab3e) cherry picked from commit6e1c514c6c
This commit is contained in:
@@ -61,7 +61,7 @@ public class FontFamily {
|
||||
*/
|
||||
static void remove(Font2D font2D) {
|
||||
|
||||
String name = font2D.getFamilyName(Locale.ENGLISH);
|
||||
String name = font2D.familyName;
|
||||
FontFamily family = getFamily(name);
|
||||
if (family == null) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user