removed reference to cairo

This commit is contained in:
Jamie Knight 2013-04-17 21:44:35 +02:00
parent 5242291b88
commit b07b8ff2bf

View file

@ -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)
}
}