mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
removed reference to cairo
This commit is contained in:
parent
5242291b88
commit
b07b8ff2bf
1 changed files with 2 additions and 2 deletions
|
@ -345,9 +345,9 @@ pub impl Font {
|
|||
|
||||
#[cfg(target_os="linux")]
|
||||
priv fn create_azure_font(&self) -> ScaledFont {
|
||||
let cairo_font = self.handle.face;
|
||||
let freetype_font = self.handle.face;
|
||||
let size = self.style.pt_size as AzFloat;
|
||||
ScaledFont::new(self.backend, cairo_font, size)
|
||||
ScaledFont::new(self.backend, freetype_font, size)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue