From c94bec658a58788ff4b3f4736ce8c423f282307a Mon Sep 17 00:00:00 2001 From: Jimmy Brisson Date: Thu, 28 May 2020 15:06:49 -0500 Subject: [PATCH] Allow font fallback --- src/renderer/font_options.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/font_options.rs b/src/renderer/font_options.rs index 337c879..fdf426c 100644 --- a/src/renderer/font_options.rs +++ b/src/renderer/font_options.rs @@ -32,7 +32,7 @@ impl FontOptions { .map(|fallback| fallback.to_string()) .collect(); - if parsed_fallback_list.is_empty() && self.fallback_list != parsed_fallback_list { + if !parsed_fallback_list.is_empty() && self.fallback_list != parsed_fallback_list { self.fallback_list = parsed_fallback_list; updated = true; }