T1mVo / shadowed

Box shadows for Typst
https://typst.app/universe/package/shadowed
MIT License
2 stars 0 forks source link

Broken in 0.12 #1

Closed Enivex closed 1 hour ago

Enivex commented 2 weeks ago
#import "@preview/shadowed:0.1.0": shadowed

#set par(justify: true)

#shadowed(radius: 4pt, inset: 12pt)[
    #lorem(50)
]

now renders as image

instead of

image

T1mVo commented 2 weeks ago

Its already fixed here. I will merge it when Typst 0.12.0 releases as it breaks compatibility with 0.11.

T1mVo commented 1 day ago

Fixed with 0.1.1

Enivex commented 2 hours ago

@T1mVo It's still broken when there's not enough content to get a full line

#import "@preview/shadowed:0.1.1": shadowed

#set par(justify: false)

#shadowed(radius: 4pt, inset: 12pt)[
    #lorem(5)
]

renders as image