Experiment with verified child segment continuation reuse
This commit is contained in:
1 parent
51db480b34
commit
64adf51b20
9 files changed
+247
-23
No files matched your search
@@ -123,13 +123,13 @@ pub struct NativeParagraph {
|
||||
pub hyphen_min: (usize, usize),
|
||||
pub missing_glyphs: Vec<(FontId, u8, Span)>,
|
||||
}
|
||||
#[derive(Clone, Copy, Debug)]
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||
pub(super) struct XeCharRun {
|
||||
pub previous: u16,
|
||||
pub last_ignored: bool,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Default)]
|
||||
#[derive(Clone, Debug, Default, PartialEq, Eq)]
|
||||
pub(super) struct Builder {
|
||||
pub initial_language: HyphenationLanguage,
|
||||
pub current_language: HyphenationLanguage,
|
||||
@@ -149,13 +149,13 @@ pub(super) struct Builder {
|
||||
pub vertical_start: usize,
|
||||
pub previous_lines: usize,
|
||||
}
|
||||
#[derive(Clone, Debug)]
|
||||
#[derive(Clone, Debug, PartialEq, Eq)]
|
||||
struct FontRun {
|
||||
font: std::sync::Arc<crate::native_font::NativeFont>,
|
||||
machine: super::ligature::Machine,
|
||||
hyphen_char: Option<char>,
|
||||
}
|
||||
#[derive(Clone, Debug)]
|
||||
#[derive(Clone, Debug, PartialEq, Eq)]
|
||||
struct PendingOpenType {
|
||||
font: Arc<OpenTypeFont>,
|
||||
text: String,
|
||||
|
||||
Reference in new issue
Block a user