mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
macos: Remove font size attribute from font descriptor.
This commit is contained in:
parent
4c76b7a758
commit
b94615b3eb
1 changed files with 0 additions and 4 deletions
|
@ -108,10 +108,6 @@ impl FontTemplateData {
|
||||||
CFString::new("NSFontNameAttribute"),
|
CFString::new("NSFontNameAttribute"),
|
||||||
CFString::new(&*self.identifier).as_CFType(),
|
CFString::new(&*self.identifier).as_CFType(),
|
||||||
),
|
),
|
||||||
(
|
|
||||||
CFString::new("NSFontSizeAttribute"),
|
|
||||||
CFNumber::from(clamped_pt_size).as_CFType(),
|
|
||||||
),
|
|
||||||
]);
|
]);
|
||||||
|
|
||||||
let descriptor = font_descriptor::new_from_attributes(&attributes);
|
let descriptor = font_descriptor::new_from_attributes(&attributes);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue