//! Rust Display Layout Engine.
//!
//! Replaces the C display engine (xdisp.c) for computing glyph layout.
//! Reads buffer data via FFI and produces `FrameGlyphBuffer` for the renderer.

#![allow(unsafe_op_in_unsafe_fn)] // FFI-heavy layout code; migrate to explicit blocks incrementally.

pub mod bidi;
pub mod bidi_layout;
pub mod emacs_types;
pub mod engine;
pub mod font_loader;
pub mod font_match;
pub mod font_metrics;
pub mod fontconfig;
pub mod hit_test;
pub mod matrix_builder;
pub mod neovm_bridge;
pub mod status_line;
pub mod types;
pub mod unicode;

pub use engine::*;
pub use hit_test::{hit_test_charpos_at_pixel, hit_test_window_charpos};
pub use types::*;
