instead of unknown panic, we get a useful message

macos-click-through
exoticus 5 years ago
parent 7c9924ba57
commit 2975d599bd

@ -266,7 +266,7 @@ impl CachingShaper {
.normal .normal
.itemize("a") .itemize("a")
.next() .next()
.unwrap() .expect("Cannot get font metrics")
.1 .1
.font .font
.metrics() .metrics()

Loading…
Cancel
Save