summaryrefslogtreecommitdiff
path: root/crates/typst-library/src/layout/stack.rs
diff options
context:
space:
mode:
authorbluebear94 <uruwi@protonmail.com>2023-10-03 09:02:27 -0400
committerGitHub <noreply@github.com>2023-10-03 15:02:27 +0200
commitce658db2f39f8472c3525a18ed1cfead23781fbb (patch)
treefc49d6bbc94421ac8be0baaca754c6c5ba626316 /crates/typst-library/src/layout/stack.rs
parentcf9bde3245817e068c8253070e7a94dcc05369fb (diff)
ShapedText::push_hyphen: Use self.base for default hyphen range (#2299)
In the unlikely chance that we hyphenate after an empty line, we set the glyph range to self.base..self.base so that subtracting Fixes #2283.
Diffstat (limited to 'crates/typst-library/src/layout/stack.rs')
0 files changed, 0 insertions, 0 deletions