Open shadoof opened 4 years ago
This is not exactly what you are suggesting, but it should be able to address the issue. https://github.com/shadoof/rtwtr/pull/36/commits/48bfb53db655cf64def509a86b1ee3f1c8f01b66 Let me know if you can still notice any cases for repositioning when A = B.
If you look at section 3, you'll find a number of sentences (the 2nd sentence is an example) that are unchanged but which the current repositioning algorithm re-sets or word-wraps differently.
Perhaps consider an early test to see if
A_unit == B_unit
and just copy the positioning from theA_unit
, else continue with repositioning?