mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Untry
This commit is contained in:
parent
7af5a7fd54
commit
316cd35767
34 changed files with 261 additions and 264 deletions
|
@ -88,9 +88,9 @@ impl FontContext {
|
|||
font_variant_caps::T::normal => pt_size,
|
||||
};
|
||||
|
||||
let handle = try!(FontHandle::new_from_template(&self.platform_handle,
|
||||
let handle = FontHandle::new_from_template(&self.platform_handle,
|
||||
template,
|
||||
Some(actual_pt_size)));
|
||||
Some(actual_pt_size))?;
|
||||
|
||||
Ok(Font::new(handle, variant, descriptor, pt_size, actual_pt_size, font_key))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue