perf(render): optimize text rendering & feat(render): add border support

This commit is contained in:
SGavrl committed 2026-07-02 19:38:00 +00:00
1 parent dec56fa42f
commit 6d33783ddf
6 files changed
+118 -52

No files matched your search

+4 -3
View File
@@ -8,14 +8,15 @@ description = "Optional scoped render layer for Obscura: layout (taffy) and, wit
[features]
default = []
# Rasterize the laid-out tree to a pixmap (tiny-skia). Off by default; the
# layout core (getBoundingClientRect etc.) works without it.
paint = ["dep:tiny-skia"]
# Rasterize the laid-out tree to a pixmap (tiny-skia) with text (ab_glyph).
# Off by default; the layout core (getBoundingClientRect etc.) works without it.
paint = ["dep:tiny-skia", "dep:ab_glyph"]
[dependencies]
taffy = { workspace = true }
obscura-dom = { workspace = true }
tiny-skia = { workspace = true, optional = true }
ab_glyph = { workspace = true, optional = true }
[lib]
path = "src/lib.rs"