Skip to content

Commit

Permalink
macos: Remove font size attribute from font descriptor.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdm committed Oct 7, 2019
1 parent 4c76b7a commit b94615b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions components/gfx/platform/macos/font_template.rs
Expand Up @@ -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);
Expand Down

0 comments on commit b94615b

Please sign in to comment.