Skip to content
Permalink
Browse files

macos: Remove font size attribute from font descriptor.

  • Loading branch information...
jdm committed Oct 7, 2019
1 parent 4c76b7a commit b94615b3eb0a62db429954c112cc5119e42a64e1
Showing with 0 additions and 4 deletions.
  1. +0 −4 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);

0 comments on commit b94615b

Please sign in to comment.
You can’t perform that action at this time.