Skip to content

Move line break opportunity overrides into parley_core - #648

Merged
tomcur merged 1 commit into
linebender:mainfrom
tomcur:parley-core-lboverride
Jun 27, 2026
Merged

Move line break opportunity overrides into parley_core#648
tomcur merged 1 commit into
linebender:mainfrom
tomcur:parley-core-lboverride

Conversation

@tomcur

@tomcur tomcur commented Jun 23, 2026

Copy link
Copy Markdown
Member

On top of #647.

Temporarily removes #[non_exhaustive] from LineBreakContext to allow parley to construct it (becomes non_exhaustive again once the next PR lands).

/// # use parley::{CHROMIUM_LINE_BREAK_OVERRIDE, FontContext, LayoutContext};
/// # let mut font_cx = FontContext::default();
/// # let mut layout_cx: LayoutContext<[u8; 4]> = LayoutContext::new();
/// ```ignore

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similarly to the non_exhaustive, this doctest is re-enabled in the next PR.

@tomcur
tomcur force-pushed the parley-core-lboverride branch from 18e3eb4 to 0b59996 Compare June 26, 2026 14:21
Temporarily removes `#[non_exhaustive]` from `LineBreakContext` to allow
`parley` to construct it.
@tomcur
tomcur force-pushed the parley-core-lboverride branch from 0b59996 to 4976ea3 Compare June 26, 2026 14:41
@tomcur
tomcur added this pull request to the merge queue Jun 27, 2026
Merged via the queue into linebender:main with commit 9888508 Jun 27, 2026
24 checks passed
@tomcur
tomcur deleted the parley-core-lboverride branch June 27, 2026 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants