calculate Static Line Layout
fun calculateStaticLineLayout(wrappedLines: List<WrappedLine>, isLineRightAligned: Boolean, canvasWidth: Float, lineHeight: Float, isRtl: Boolean): List<List<SyllableLayout>>
Calculates the final static layout positions for all syllables in the wrapped lines. Handles alignment (Left/Right/RTL), row positioning, and relative offsets within the line.
Return
List of lists of SyllableLayout, where each inner list is a row, with updated positions.
Parameters
wrapped Lines
The lines after wrapping calculation.
is Line Right Aligned
Whether the entire block should be right-aligned.
canvas Width
Total width of the canvas.
line Height
Height of a single line.
is Rtl
Whether the visual flow is RTL.