Skip to content

draft: Apply italic correction

Matthias Clasen requested to merge italic-correction into main

This is a work-in-progress attempt to implement Italic correction between runs of different slant.

To merge this without regressing on accurate accounting for line widths, we need to do ltr reordering on-the-fly, so we know which runs will be visually adjacent as we add them to the line.

Behdad pointed at https://github.com/fribidi/linear-reorder for an implementation of rtl reordering that could be useful here.

Edited by Matthias Clasen

Merge request reports