Execute XeTeX character classes and inter-character token lists

This commit is contained in:
gloamxun committed 2026-11-21 17:31:30 +08:00
1 parent d11ac0cba1
commit 5df90f113c
15 files changed
+462 -14

No files matched your search

@@ -110,6 +110,12 @@ pub struct NativeParagraph {
pub hyphen_min: (usize, usize),
pub missing_glyphs: Vec<(FontId, u8, Span)>,
}
#[derive(Clone, Copy, Debug)]
pub(super) struct XeCharRun {
pub previous: u16,
pub last_ignored: bool,
}
#[derive(Clone, Debug, Default)]
pub(super) struct Builder {
pub initial_language: HyphenationLanguage,
@@ -123,6 +129,7 @@ pub(super) struct Builder {
run: Option<FontRun>,
opentype: Option<PendingOpenType>,
pub cancel_boundary: bool,
pub xe_char_run: Option<XeCharRun>,
pub font_steps: usize,
pub font_step_limit: usize,
pub ligature_carry: super::ligature::Carry,