diff --git a/components/gfx/platform/macos/font_template.rs b/components/gfx/platform/macos/font_template.rs index d5ae5138872..1544f6d9c66 100644 --- a/components/gfx/platform/macos/font_template.rs +++ b/components/gfx/platform/macos/font_template.rs @@ -108,10 +108,6 @@ impl FontTemplateData { CFString::new("NSFontNameAttribute"), CFString::new(&*self.identifier).as_CFType(), ), - ( - CFString::new("NSFontSizeAttribute"), - CFNumber::from(clamped_pt_size).as_CFType(), - ), ]); let descriptor = font_descriptor::new_from_attributes(&attributes);