mirror of
https://github.com/typst/typst
synced 2025-08-03 09:47:54 +08:00
chore: update krilla
This commit is contained in:
parent
f87e3f8f29
commit
ded845ec34
85
Cargo.lock
generated
85
Cargo.lock
generated
@ -454,12 +454,25 @@ version = "0.4.0"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "df6916408a724339aa77b18214233355f3eb04c42eb895e5f8909215bd8a7a91"
|
checksum = "df6916408a724339aa77b18214233355f3eb04c42eb895e5f8909215bd8a7a91"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"comemo-macros",
|
"comemo-macros 0.4.0",
|
||||||
"once_cell",
|
"once_cell",
|
||||||
"parking_lot",
|
"parking_lot",
|
||||||
"siphasher",
|
"siphasher",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "comemo"
|
||||||
|
version = "0.5.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "649d7b2d867b569729c03c0f6968db10bc95921182a1f2b2012b1b549492f39d"
|
||||||
|
dependencies = [
|
||||||
|
"comemo-macros 0.5.0",
|
||||||
|
"parking_lot",
|
||||||
|
"rustc-hash",
|
||||||
|
"siphasher",
|
||||||
|
"slab",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "comemo-macros"
|
name = "comemo-macros"
|
||||||
version = "0.4.0"
|
version = "0.4.0"
|
||||||
@ -471,6 +484,17 @@ dependencies = [
|
|||||||
"syn",
|
"syn",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "comemo-macros"
|
||||||
|
version = "0.5.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "51c87fc7e85487493ddedae1a3a34b897c77ad8825375b79265a8a162c28d535"
|
||||||
|
dependencies = [
|
||||||
|
"proc-macro2",
|
||||||
|
"quote",
|
||||||
|
"syn",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "core-foundation"
|
name = "core-foundation"
|
||||||
version = "0.9.4"
|
version = "0.9.4"
|
||||||
@ -867,15 +891,6 @@ version = "2.0.0"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c"
|
checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c"
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "fxhash"
|
|
||||||
version = "0.2.1"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c"
|
|
||||||
dependencies = [
|
|
||||||
"byteorder",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "getopts"
|
name = "getopts"
|
||||||
version = "0.2.21"
|
version = "0.2.21"
|
||||||
@ -1430,14 +1445,13 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "krilla"
|
name = "krilla"
|
||||||
version = "0.4.0"
|
version = "0.4.0"
|
||||||
source = "git+https://github.com/LaurenzV/krilla?branch=main#576fb4f95d975ce366f18ad552a62286f6fbd0ec"
|
source = "git+https://github.com/LaurenzV/krilla?branch=main#1246755ed5ff18a9a8c888694e4b91f3bed1b41a"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"base64",
|
"base64",
|
||||||
"bumpalo",
|
"bumpalo",
|
||||||
"comemo",
|
"comemo 0.5.0",
|
||||||
"flate2",
|
"flate2",
|
||||||
"float-cmp 0.10.0",
|
"float-cmp 0.10.0",
|
||||||
"fxhash",
|
|
||||||
"gif",
|
"gif",
|
||||||
"hayro-write",
|
"hayro-write",
|
||||||
"image-webp",
|
"image-webp",
|
||||||
@ -1446,6 +1460,7 @@ dependencies = [
|
|||||||
"pdf-writer",
|
"pdf-writer",
|
||||||
"png",
|
"png",
|
||||||
"rayon",
|
"rayon",
|
||||||
|
"rustc-hash",
|
||||||
"rustybuzz",
|
"rustybuzz",
|
||||||
"siphasher",
|
"siphasher",
|
||||||
"skrifa",
|
"skrifa",
|
||||||
@ -1460,7 +1475,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "krilla-svg"
|
name = "krilla-svg"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/LaurenzV/krilla?branch=main#576fb4f95d975ce366f18ad552a62286f6fbd0ec"
|
source = "git+https://github.com/LaurenzV/krilla?branch=main#1246755ed5ff18a9a8c888694e4b91f3bed1b41a"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"flate2",
|
"flate2",
|
||||||
"fontdb",
|
"fontdb",
|
||||||
@ -2286,9 +2301,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rustc-hash"
|
name = "rustc-hash"
|
||||||
version = "2.1.0"
|
version = "2.1.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "c7fb8039b3032c191086b10f11f319a6e99e1e82889c5cc6046f515c9db1d497"
|
checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rustix"
|
name = "rustix"
|
||||||
@ -2515,6 +2530,12 @@ dependencies = [
|
|||||||
"read-fonts",
|
"read-fonts",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "slab"
|
||||||
|
version = "0.4.10"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "04dc19736151f35336d325007ac991178d504a119863a2fcb3758cdb5e52c50d"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "slotmap"
|
name = "slotmap"
|
||||||
version = "1.0.7"
|
version = "1.0.7"
|
||||||
@ -2604,11 +2625,11 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "subsetter"
|
name = "subsetter"
|
||||||
version = "0.2.1"
|
version = "0.2.2"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "35539e8de3dcce8dd0c01f3575f85db1e5ac1aea1b996d2d09d89f148bc91497"
|
checksum = "35725d9d2d056905865f8a36146e45be43691b15fc5d973bd7f79dd438288544"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"fxhash",
|
"rustc-hash",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@ -2920,7 +2941,7 @@ checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a"
|
|||||||
name = "typst"
|
name = "typst"
|
||||||
version = "0.13.1"
|
version = "0.13.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"comemo",
|
"comemo 0.4.0",
|
||||||
"ecow",
|
"ecow",
|
||||||
"typst-eval",
|
"typst-eval",
|
||||||
"typst-html",
|
"typst-html",
|
||||||
@ -2948,7 +2969,7 @@ dependencies = [
|
|||||||
"clap_mangen",
|
"clap_mangen",
|
||||||
"codespan-reporting",
|
"codespan-reporting",
|
||||||
"color-print",
|
"color-print",
|
||||||
"comemo",
|
"comemo 0.4.0",
|
||||||
"dirs",
|
"dirs",
|
||||||
"ecow",
|
"ecow",
|
||||||
"fs_extra",
|
"fs_extra",
|
||||||
@ -3016,7 +3037,7 @@ dependencies = [
|
|||||||
name = "typst-eval"
|
name = "typst-eval"
|
||||||
version = "0.13.1"
|
version = "0.13.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"comemo",
|
"comemo 0.4.0",
|
||||||
"ecow",
|
"ecow",
|
||||||
"indexmap 2.7.1",
|
"indexmap 2.7.1",
|
||||||
"stacker",
|
"stacker",
|
||||||
@ -3033,7 +3054,7 @@ dependencies = [
|
|||||||
name = "typst-fuzz"
|
name = "typst-fuzz"
|
||||||
version = "0.13.1"
|
version = "0.13.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"comemo",
|
"comemo 0.4.0",
|
||||||
"libfuzzer-sys",
|
"libfuzzer-sys",
|
||||||
"typst",
|
"typst",
|
||||||
"typst-assets",
|
"typst-assets",
|
||||||
@ -3046,7 +3067,7 @@ name = "typst-html"
|
|||||||
version = "0.13.1"
|
version = "0.13.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bumpalo",
|
"bumpalo",
|
||||||
"comemo",
|
"comemo 0.4.0",
|
||||||
"ecow",
|
"ecow",
|
||||||
"palette",
|
"palette",
|
||||||
"time",
|
"time",
|
||||||
@ -3063,7 +3084,7 @@ dependencies = [
|
|||||||
name = "typst-ide"
|
name = "typst-ide"
|
||||||
version = "0.13.1"
|
version = "0.13.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"comemo",
|
"comemo 0.4.0",
|
||||||
"ecow",
|
"ecow",
|
||||||
"once_cell",
|
"once_cell",
|
||||||
"pathdiff",
|
"pathdiff",
|
||||||
@ -3106,7 +3127,7 @@ dependencies = [
|
|||||||
"az",
|
"az",
|
||||||
"bumpalo",
|
"bumpalo",
|
||||||
"codex",
|
"codex",
|
||||||
"comemo",
|
"comemo 0.4.0",
|
||||||
"ecow",
|
"ecow",
|
||||||
"hypher",
|
"hypher",
|
||||||
"icu_properties",
|
"icu_properties",
|
||||||
@ -3141,7 +3162,7 @@ dependencies = [
|
|||||||
"chinese-number",
|
"chinese-number",
|
||||||
"ciborium",
|
"ciborium",
|
||||||
"codex",
|
"codex",
|
||||||
"comemo",
|
"comemo 0.4.0",
|
||||||
"csv",
|
"csv",
|
||||||
"ecow",
|
"ecow",
|
||||||
"flate2",
|
"flate2",
|
||||||
@ -3211,7 +3232,7 @@ version = "0.13.1"
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"az",
|
"az",
|
||||||
"bytemuck",
|
"bytemuck",
|
||||||
"comemo",
|
"comemo 0.4.0",
|
||||||
"ecow",
|
"ecow",
|
||||||
"image",
|
"image",
|
||||||
"infer",
|
"infer",
|
||||||
@ -3234,7 +3255,7 @@ version = "0.13.1"
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"arrayvec",
|
"arrayvec",
|
||||||
"bumpalo",
|
"bumpalo",
|
||||||
"comemo",
|
"comemo 0.4.0",
|
||||||
"ecow",
|
"ecow",
|
||||||
"regex",
|
"regex",
|
||||||
"typst-library",
|
"typst-library",
|
||||||
@ -3249,7 +3270,7 @@ name = "typst-render"
|
|||||||
version = "0.13.1"
|
version = "0.13.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bytemuck",
|
"bytemuck",
|
||||||
"comemo",
|
"comemo 0.4.0",
|
||||||
"hayro",
|
"hayro",
|
||||||
"image",
|
"image",
|
||||||
"pixglyph",
|
"pixglyph",
|
||||||
@ -3267,7 +3288,7 @@ name = "typst-svg"
|
|||||||
version = "0.13.1"
|
version = "0.13.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"base64",
|
"base64",
|
||||||
"comemo",
|
"comemo 0.4.0",
|
||||||
"ecow",
|
"ecow",
|
||||||
"flate2",
|
"flate2",
|
||||||
"hayro",
|
"hayro",
|
||||||
@ -3303,7 +3324,7 @@ name = "typst-tests"
|
|||||||
version = "0.13.1"
|
version = "0.13.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"clap",
|
"clap",
|
||||||
"comemo",
|
"comemo 0.4.0",
|
||||||
"ecow",
|
"ecow",
|
||||||
"krilla",
|
"krilla",
|
||||||
"oxipng",
|
"oxipng",
|
||||||
|
@ -180,14 +180,14 @@ impl TableCtx {
|
|||||||
let scope = table_header_scope(scope);
|
let scope = table_header_scope(scope);
|
||||||
Tag::TH(scope)
|
Tag::TH(scope)
|
||||||
.with_id(Some(id))
|
.with_id(Some(id))
|
||||||
.with_headers(cell.headers)
|
.with_headers(Some(cell.headers))
|
||||||
.with_row_span(rowspan)
|
.with_row_span(rowspan)
|
||||||
.with_col_span(colspan)
|
.with_col_span(colspan)
|
||||||
.with_location(Some(cell.span.into_raw()))
|
.with_location(Some(cell.span.into_raw()))
|
||||||
.into()
|
.into()
|
||||||
}
|
}
|
||||||
TableCellKind::Footer | TableCellKind::Data => Tag::TD
|
TableCellKind::Footer | TableCellKind::Data => Tag::TD
|
||||||
.with_headers(cell.headers)
|
.with_headers(Some(cell.headers))
|
||||||
.with_row_span(rowspan)
|
.with_row_span(rowspan)
|
||||||
.with_col_span(colspan)
|
.with_col_span(colspan)
|
||||||
.with_location(Some(cell.span.into_raw()))
|
.with_location(Some(cell.span.into_raw()))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user