mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Merge pull request #376 from JamieKnight/patch-1
Removed reference to cairo from servo-gfx/font.rs
This commit is contained in:
commit
c3c9baf1c9
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