1 | // Match harfbuzz code style. |
2 | #![allow (non_camel_case_types)] |
3 | #![allow (non_upper_case_globals)] |
4 | #![allow (non_snake_case)] |
5 | #![allow (clippy::collapsible_if)] |
6 | #![allow (clippy::collapsible_else_if)] |
7 | #![allow (clippy::comparison_chain)] |
8 | #![allow (clippy::needless_range_loop)] |
9 | #![allow (clippy::non_canonical_partial_ord_impl)] |
10 | #![allow (clippy::upper_case_acronyms)] |
11 | #![allow (clippy::too_many_arguments)] |
12 | #![allow (clippy::wildcard_in_or_patterns)] |
13 | #![allow (clippy::identity_op)] |
14 | #![allow (clippy::mut_range_bound)] |
15 | #![allow (clippy::enum_variant_names)] |
16 | #![allow (clippy::manual_range_patterns)] |
17 | #![allow (clippy::type_complexity)] |
18 | #![allow (clippy::wrong_self_convention)] |
19 | #![allow (clippy::match_like_matches_macro)] |
20 | #![allow (clippy::manual_range_contains)] |
21 | |
22 | mod algs; |
23 | #[macro_use ] |
24 | pub mod buffer; |
25 | mod aat_layout; |
26 | mod aat_layout_kerx_table; |
27 | mod aat_layout_morx_table; |
28 | mod aat_layout_trak_table; |
29 | mod aat_map; |
30 | pub mod common; |
31 | pub mod face; |
32 | mod kerning; |
33 | mod machine_cursor; |
34 | mod ot; |
35 | mod ot_layout; |
36 | mod ot_layout_common; |
37 | mod ot_layout_gpos_table; |
38 | mod ot_layout_gsub_table; |
39 | mod ot_layout_gsubgpos; |
40 | mod ot_map; |
41 | mod ot_shape; |
42 | mod ot_shape_fallback; |
43 | mod ot_shape_normalize; |
44 | pub mod ot_shape_plan; |
45 | mod ot_shaper; |
46 | mod ot_shaper_arabic; |
47 | mod ot_shaper_arabic_table; |
48 | mod ot_shaper_hangul; |
49 | mod ot_shaper_hebrew; |
50 | mod ot_shaper_indic; |
51 | mod ot_shaper_indic_machine; |
52 | #[rustfmt::skip] |
53 | mod ot_shaper_indic_table; |
54 | mod ot_shaper_khmer; |
55 | mod ot_shaper_khmer_machine; |
56 | mod ot_shaper_myanmar; |
57 | mod ot_shaper_myanmar_machine; |
58 | mod ot_shaper_syllabic; |
59 | mod ot_shaper_thai; |
60 | mod ot_shaper_use; |
61 | mod ot_shaper_use_machine; |
62 | #[rustfmt::skip] |
63 | mod ot_shaper_use_table; |
64 | mod aat_layout_common; |
65 | mod ot_shaper_vowel_constraints; |
66 | mod paint_extents; |
67 | mod set_digest; |
68 | pub mod shape; |
69 | #[cfg (feature = "wasm-shaper" )] |
70 | mod shape_wasm; |
71 | mod tag; |
72 | mod tag_table; |
73 | mod text_parser; |
74 | mod unicode; |
75 | mod unicode_norm; |
76 | |
77 | use ttf_parser::Tag as hb_tag_t; |
78 | |
79 | use self::buffer::hb_glyph_info_t; |
80 | use self::face::hb_font_t; |
81 | |
82 | type hb_mask_t = u32; |
83 | |
84 | use self::common::{script, Direction, Feature, Language, Script}; |
85 | |