mirror of https://github.com/stelzo/typst.git
This creates a smaller state machine helper type for softness coalescing, which does not own the resulting nodes. While this creates a bit more duplication in stack and par builder, it makes it a lot easier to integrate additional logic into the paragraph builder.
Furthermore:
- Line breaks are now "hard", that is, not coalesced with each other.
- Text nodes with equal style are now merged allowing for example `f{}i` to form a ligature.
|
||
|---|---|---|
| .. | ||
| array.typ | ||
| assoc.typ | ||
| block-invalid.typ | ||
| block-scoping.typ | ||
| block.typ | ||
| call-invalid.typ | ||
| call.typ | ||
| closure.typ | ||
| dict.typ | ||
| ops-invalid.typ | ||
| ops.typ | ||
| prec.typ | ||