Skip to content

Commit

Permalink
Update allsorts
Browse files Browse the repository at this point in the history
  • Loading branch information
fschutt committed Feb 22, 2025
1 parent 1ccf3d0 commit ff3b115
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions azul-core/src/pagination.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ use crate::dom::NodeData;
use crate::ui_solver::PositionedRectangle;
use alloc::collections::BTreeMap;

/// The per-page output: a partial `NodeHierarchy` plus the subset of `PositionedRectangle`s
/// that appear on that page. Both arrays map 1:1 by index: if the partial-hierarchy
/// has `n` nodes, then `page_rects.internal.len()` = `n` as well, and index #5 in the new
/// hierarchy corresponds to index #5 in the `page_rects`.
/// The per-page output: a partial `NodeHierarchy` plus the
/// subset of `PositionedRectangle`s that appear on that page.
/// Both arrays map 1:1 by index.
pub struct PaginatedPage {
pub node_hierarchy: NodeHierarchy,
pub page_rects: NodeDataContainer<PositionedRectangle>,
Expand Down
4 changes: 0 additions & 4 deletions azul-text-layout/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,3 @@ allsorts = { version = "0.15.0", git = "https://github.com/fschut
tinyvec = { version = "1.6.0", default-features = false }
rayon = { version = "1.5.3", default-features = false }
ttf-parser = { version = "0.15.2", default-features = false, features = ["variable-fonts"] }

[features]
default = ["woff2"]
woff2 = ["allsorts/brotli"]

0 comments on commit ff3b115

Please sign in to comment.