diff options
Diffstat (limited to 'components/gfx/platform/windows/font.rs')
-rw-r--r-- | components/gfx/platform/windows/font.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/components/gfx/platform/windows/font.rs b/components/gfx/platform/windows/font.rs index b654b47e0cb..30fce0c963d 100644 --- a/components/gfx/platform/windows/font.rs +++ b/components/gfx/platform/windows/font.rs @@ -13,7 +13,6 @@ use crate::platform::font_template::FontTemplateData; use crate::platform::windows::font_context::FontContextHandle; use crate::platform::windows::font_list::font_from_atom; use crate::text::glyph::GlyphId; -use dwrote; use dwrote::{Font, FontFace, FontFile}; use dwrote::{FontStretch, FontStyle}; use servo_atoms::Atom; @@ -26,7 +25,6 @@ use style::values::computed::font::FontStyle as StyleFontStyle; use style::values::generics::font::FontStyle as GenericFontStyle; use style::values::generics::NonNegative; use style::values::specified::font::FontStretchKeyword; -use truetype; // 1em = 12pt = 16px, assuming 72 points per inch and 96 px per inch fn pt_to_px(pt: f64) -> f64 { |