mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
sorted the extern crate, mod & use declarations
This commit is contained in:
parent
705ad72aee
commit
889eec364b
194 changed files with 804 additions and 870 deletions
|
@ -6,12 +6,10 @@ use euclid::point::Point2D;
|
|||
#[cfg(any(target_arch = "x86_64", target_arch = "aarch64"))]
|
||||
use simd::u32x4;
|
||||
use std::cmp::{Ordering, PartialOrd};
|
||||
use std::fmt;
|
||||
use std::mem;
|
||||
use std::u16;
|
||||
use std::vec::Vec;
|
||||
use std::{fmt, mem, u16};
|
||||
use util::geometry::Au;
|
||||
use util::range::{self, Range, RangeIndex, EachIndex};
|
||||
use util::range::{self, EachIndex, Range, RangeIndex};
|
||||
use util::vec::*;
|
||||
|
||||
/// GlyphEntry is a port of Gecko's CompressedGlyph scheme for storing glyph data compactly.
|
||||
|
|
|
@ -7,16 +7,17 @@ extern crate harfbuzz;
|
|||
use euclid::Point2D;
|
||||
use font::{DISABLE_KERNING_SHAPING_FLAG, Font, FontHandleMethods, FontTableMethods, FontTableTag};
|
||||
use font::{IGNORE_LIGATURES_SHAPING_FLAG, RTL_FLAG, ShapingOptions};
|
||||
use harfbuzz::{HB_MEMORY_MODE_READONLY, HB_DIRECTION_LTR, HB_DIRECTION_RTL};
|
||||
use harfbuzz::{HB_DIRECTION_LTR, HB_DIRECTION_RTL, HB_MEMORY_MODE_READONLY};
|
||||
use harfbuzz::{RUST_hb_blob_create, RUST_hb_face_create_for_tables};
|
||||
use harfbuzz::{RUST_hb_buffer_add_utf8};
|
||||
use harfbuzz::{RUST_hb_buffer_create, RUST_hb_font_destroy};
|
||||
use harfbuzz::{RUST_hb_buffer_destroy};
|
||||
use harfbuzz::{RUST_hb_buffer_get_glyph_infos, RUST_hb_shape};
|
||||
use harfbuzz::{RUST_hb_buffer_get_glyph_positions};
|
||||
use harfbuzz::{RUST_hb_buffer_get_length};
|
||||
use harfbuzz::{RUST_hb_buffer_set_direction};
|
||||
use harfbuzz::{RUST_hb_face_destroy};
|
||||
use harfbuzz::{RUST_hb_font_create};
|
||||
use harfbuzz::{RUST_hb_font_destroy, RUST_hb_buffer_create};
|
||||
use harfbuzz::{RUST_hb_font_funcs_create};
|
||||
use harfbuzz::{RUST_hb_font_funcs_set_glyph_func};
|
||||
use harfbuzz::{RUST_hb_font_funcs_set_glyph_h_advance_func};
|
||||
|
@ -24,23 +25,20 @@ use harfbuzz::{RUST_hb_font_funcs_set_glyph_h_kerning_func};
|
|||
use harfbuzz::{RUST_hb_font_set_funcs};
|
||||
use harfbuzz::{RUST_hb_font_set_ppem};
|
||||
use harfbuzz::{RUST_hb_font_set_scale};
|
||||
use harfbuzz::{RUST_hb_shape, RUST_hb_buffer_get_glyph_infos};
|
||||
use harfbuzz::{hb_blob_t};
|
||||
use harfbuzz::{hb_bool_t};
|
||||
use harfbuzz::{hb_buffer_t, hb_codepoint_t, hb_font_funcs_t};
|
||||
use harfbuzz::{hb_face_t, hb_font_t};
|
||||
use harfbuzz::{hb_feature_t};
|
||||
use harfbuzz::{hb_font_funcs_t, hb_buffer_t, hb_codepoint_t};
|
||||
use harfbuzz::{hb_glyph_info_t};
|
||||
use harfbuzz::{hb_glyph_position_t};
|
||||
use harfbuzz::{hb_position_t, hb_tag_t};
|
||||
use libc::{c_uint, c_int, c_void, c_char};
|
||||
use libc::{c_char, c_int, c_uint, c_void};
|
||||
use platform::font::FontTable;
|
||||
use std::char;
|
||||
use std::cmp;
|
||||
use std::ptr;
|
||||
use text::glyph::{CharIndex, GlyphStore, GlyphId, GlyphData};
|
||||
use std::{char, cmp, ptr};
|
||||
use text::glyph::{CharIndex, GlyphData, GlyphId, GlyphStore};
|
||||
use text::shaping::ShaperMethods;
|
||||
use text::util::{float_to_fixed, fixed_to_float, is_bidi_control};
|
||||
use text::util::{fixed_to_float, float_to_fixed, is_bidi_control};
|
||||
use util::geometry::Au;
|
||||
use util::range::Range;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue