Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
b12fa22
improve colr emoji detection and testing
fundon May 6, 2026
00b4501
rename to is_emoji_presentation
fundon May 6, 2026
206d4fa
tweak test name
fundon May 6, 2026
4ce9fcc
fix text presentation unicode
fundon May 7, 2026
169aa6b
update test
fundon May 7, 2026
88ff476
should update mapped
fundon May 7, 2026
6ebfa0a
impl emoji segmenter
fundon May 9, 2026
1606321
add copyright header
fundon May 9, 2026
5594eef
add copyright header
fundon May 9, 2026
12ef6c0
fix typo
fundon May 9, 2026
21a01da
fix doc link
fundon May 9, 2026
76601d0
fix doc
fundon May 9, 2026
ed68315
fix doc
fundon May 9, 2026
75c726d
fix clippy
fundon May 9, 2026
a9e6205
adjust eq order
fundon May 9, 2026
a1c62ca
adjust eq order
fundon May 9, 2026
893855c
fix copyright year
fundon May 9, 2026
2b08218
add comments
fundon May 10, 2026
1c217cf
add comments
fundon May 10, 2026
cc2ebcc
fix doc
fundon May 10, 2026
ed09679
fix doc link
fundon May 10, 2026
555511e
fast path
fundon May 10, 2026
240add8
add const
fundon May 10, 2026
a9e5244
fix tag sequence range
fundon May 10, 2026
6d74b7c
impl Emoji DFA
fundon May 12, 2026
1ed251e
add inline
fundon May 12, 2026
908ca46
add copyright
fundon May 12, 2026
d7cbdb8
clippy
fundon May 12, 2026
a81965a
add state macro
fundon May 13, 2026
da934e1
delete redundant types
fundon May 14, 2026
fc2106c
fix size
fundon May 15, 2026
71c2336
bake emoji properties
fundon May 18, 2026
93b0cfd
fix
fundon May 18, 2026
eef87bb
fix mask
fundon May 18, 2026
5efcdb9
Optimize baking data
fundon May 18, 2026
02d4924
Add emoji_properties
fundon May 18, 2026
3e7641b
expand Ri
fundon Jul 20, 2026
ffa996d
use EmojiState::Reject to init trans
fundon Jul 20, 2026
85b6740
remove is_emoji
fundon Jul 20, 2026
e03acd1
add comments and c-emoji license
fundon Jul 21, 2026
219e86a
remove redundant cast methods
fundon Jul 21, 2026
a1a59a4
revert
fundon Jul 21, 2026
5c680ec
impl Default for EmojiDFA
fundon Jul 21, 2026
e2ed955
add emoji dfa logic back
fundon Jul 21, 2026
c772351
improve comments
fundon Jul 21, 2026
cee9b4e
remove unnecessary comments
fundon Jul 21, 2026
9e3d281
no need to check map_len
fundon Jul 23, 2026
daafb2a
remove redundant const eq
fundon Jul 23, 2026
d506f6d
improve presentation recognition logic
fundon Jul 23, 2026
14d9e6b
add comments
fundon Jul 23, 2026
14e258b
add comments
fundon Jul 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions parley/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,12 @@ mod tests;

pub use linebender_resource_handle::FontData;
pub use parlance::BaseDirection;
pub use parley_engine::AnalysisDataSources;
pub use parley_engine::break_overrides::{
AsciiLineBreakTable, AsciiLineBreakTableBuilder, CHROMIUM_LINE_BREAK_OVERRIDE,
LineBreakContext, LineBreakOverrideFn,
};
pub use parley_engine::emoji;

pub use builder::{RangedBuilder, StyleRunBuilder, TreeBuilder};
pub use context::LayoutContext;
Expand Down
1 change: 1 addition & 0 deletions parley/src/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@

mod test_analysis;
mod test_builders;
mod test_emoji_segmenters;
mod utils;
2 changes: 1 addition & 1 deletion parley/src/tests/test_analysis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1296,7 +1296,7 @@ fn test_whitespace_contiguous_interspersed_in_latin_mixed() {
}

#[test]
fn test_color_emoji_with_non_printing_variation_selector() {
fn test_color_emoji_with_presentation() {
verify_analysis("\u{270c}\u{fe0f}", |_| {})
.expect_is_emoji_or_pictograph_list(vec![true, false])
.expect_is_variation_selector_list(vec![false, true]);
Expand Down
Loading
Loading