//! mgui-text — 平台无关文本服务(无 wgpu / winit 依赖)。
//!
//! - [`text`]:parley 排版 + swash 字形栅格化 + R8 glyph atlas + TextRenderObject
//! - [`text_field`]:TextFieldRenderObject(布局/命中测试/IME 光标)
//!
//! GPU 纹理上传由 `mgui-runtime::renderer` 消费 [`text::atlas_snapshot`] 完成;
//! 软件光栅器消费 [`text::with_atlas`]。组件库只需依赖本 crate 做测量/绘制命令,
//! 不会把 wgpu/winit 编译进 UI 层。