diff --git a/gfx/wr/wrench/src/wrench.rs b/gfx/wr/wrench/src/wrench.rs index 4116ff1726fc..e3cbcbafa5f3 100644 --- a/gfx/wr/wrench/src/wrench.rs +++ b/gfx/wr/wrench/src/wrench.rs @@ -511,7 +511,6 @@ impl Wrench { size: f32, flags: FontInstanceFlags, render_mode: Option, - bg_color: Option, synthetic_italics: SyntheticItalics, ) -> FontInstanceKey { let key = self.api.generate_font_instance_key(); @@ -521,9 +520,6 @@ impl Wrench { if let Some(render_mode) = render_mode { options.render_mode = render_mode; } - if let Some(bg_color) = bg_color { - options.bg_color = bg_color; - } options.synthetic_italics = synthetic_italics; txn.add_font_instance(key, font_key, size, Some(options), None, Vec::new()); self.api.send_transaction(self.document_id, txn); diff --git a/gfx/wr/wrench/src/yaml_frame_reader.rs b/gfx/wr/wrench/src/yaml_frame_reader.rs index 2cbe30a51c7a..e67e749d56a9 100644 --- a/gfx/wr/wrench/src/yaml_frame_reader.rs +++ b/gfx/wr/wrench/src/yaml_frame_reader.rs @@ -329,7 +329,7 @@ pub struct YamlFrameReader { image_map: HashMap<(PathBuf, Option), (ImageKey, LayoutSize)>, fonts: HashMap, - font_instances: HashMap<(FontKey, FontSize, FontInstanceFlags, Option, SyntheticItalics), FontInstanceKey>, + font_instances: HashMap<(FontKey, FontSize, FontInstanceFlags, SyntheticItalics), FontInstanceKey>, font_render_mode: Option, allow_mipmaps: bool,