diff options
Diffstat (limited to 'components/gfx/text/shaping/harfbuzz.rs')
-rw-r--r-- | components/gfx/text/shaping/harfbuzz.rs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/components/gfx/text/shaping/harfbuzz.rs b/components/gfx/text/shaping/harfbuzz.rs index f87906325e0..462d5bf485c 100644 --- a/components/gfx/text/shaping/harfbuzz.rs +++ b/components/gfx/text/shaping/harfbuzz.rs @@ -14,37 +14,37 @@ use text::util::{float_to_fixed, fixed_to_float, is_bidi_control}; use euclid::Point2D; use harfbuzz::{HB_MEMORY_MODE_READONLY, HB_DIRECTION_LTR, HB_DIRECTION_RTL}; use harfbuzz::{RUST_hb_blob_create, RUST_hb_face_create_for_tables}; -use harfbuzz::{hb_blob_t}; -use harfbuzz::{hb_bool_t}; use harfbuzz::{RUST_hb_buffer_add_utf8}; use harfbuzz::{RUST_hb_buffer_destroy}; 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::{hb_face_t, hb_font_t}; -use harfbuzz::{hb_feature_t}; 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}; use harfbuzz::{RUST_hb_font_funcs_set_glyph_h_kerning_func}; -use harfbuzz::{hb_font_funcs_t, hb_buffer_t, hb_codepoint_t}; 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_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 harfbuzz::{RUST_hb_shape, RUST_hb_buffer_get_glyph_infos}; use libc::{c_uint, c_int, c_void, c_char}; -use util::geometry::Au; -use util::range::Range; use std::char; -use std::mem; use std::cmp; +use std::mem; use std::ptr; +use util::geometry::Au; +use util::range::Range; macro_rules! hb_tag { ($t1:expr, $t2:expr, $t3:expr, $t4:expr) => ( |