diff options
Diffstat (limited to 'components/gfx/platform/windows')
-rw-r--r-- | components/gfx/platform/windows/font.rs | 1 | ||||
-rw-r--r-- | components/gfx/platform/windows/font_list.rs | 1 | ||||
-rw-r--r-- | components/gfx/platform/windows/font_template.rs | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/components/gfx/platform/windows/font.rs b/components/gfx/platform/windows/font.rs index 5b41b0c21f0..9e371685491 100644 --- a/components/gfx/platform/windows/font.rs +++ b/components/gfx/platform/windows/font.rs @@ -15,6 +15,7 @@ use crate::text::glyph::GlyphId; use app_units::Au; use dwrote::{Font, FontFace, FontFile}; use dwrote::{FontStretch, FontStyle}; +use log::debug; use servo_atoms::Atom; use std::fmt; use std::ops::Deref; diff --git a/components/gfx/platform/windows/font_list.rs b/components/gfx/platform/windows/font_list.rs index d9d1261dba9..9de2073d6b8 100644 --- a/components/gfx/platform/windows/font_list.rs +++ b/components/gfx/platform/windows/font_list.rs @@ -4,6 +4,7 @@ use crate::text::util::unicode_plane; use dwrote::{Font, FontCollection, FontDescriptor}; +use lazy_static::lazy_static; use servo_atoms::Atom; use std::collections::HashMap; use std::sync::atomic::{AtomicUsize, Ordering}; diff --git a/components/gfx/platform/windows/font_template.rs b/components/gfx/platform/windows/font_template.rs index 8576e3f6fc8..96923c77afc 100644 --- a/components/gfx/platform/windows/font_template.rs +++ b/components/gfx/platform/windows/font_template.rs @@ -3,6 +3,7 @@ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ use crate::platform::windows::font_list::font_from_atom; +use serde::{Deserialize, Serialize}; use servo_atoms::Atom; use std::fmt; use std::io; |