diff options
Diffstat (limited to 'components/gfx/platform/macos/font.rs')
-rw-r--r-- | components/gfx/platform/macos/font.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/components/gfx/platform/macos/font.rs b/components/gfx/platform/macos/font.rs index d346dc1838c..eff3d51789d 100644 --- a/components/gfx/platform/macos/font.rs +++ b/components/gfx/platform/macos/font.rs @@ -2,6 +2,13 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ +use crate::font::{ + FontHandleMethods, FontMetrics, FontTableMethods, FontTableTag, FractionalPixel, +}; +use crate::font::{GPOS, GSUB, KERN}; +use crate::platform::font_template::FontTemplateData; +use crate::platform::macos::font_context::FontContextHandle; +use crate::text::glyph::GlyphId; /// Implementation of Quartz (CoreGraphics) fonts. use app_units::Au; use byteorder::{BigEndian, ByteOrder}; @@ -13,13 +20,6 @@ use core_graphics::geometry::CGRect; use core_text::font::CTFont; use core_text::font_descriptor::kCTFontDefaultOrientation; use core_text::font_descriptor::{SymbolicTraitAccessors, TraitAccessors}; -use crate::font::{ - FontHandleMethods, FontMetrics, FontTableMethods, FontTableTag, FractionalPixel, -}; -use crate::font::{GPOS, GSUB, KERN}; -use crate::platform::font_template::FontTemplateData; -use crate::platform::macos::font_context::FontContextHandle; -use crate::text::glyph::GlyphId; use servo_atoms::Atom; use std::ops::Range; use std::sync::Arc; |