You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
L2. From the highest level found in the text to the lowest odd level on each line…
The code above seems to assume that the lowest odd level is always 1. I am not sure if it makes any difference in practice. I was reading through the code because I want to reimplement parts of this file in Lua, and this seemed to be not according to my understanding of the spec.
The text was updated successfully, but these errors were encountered:
A spec-compliant implementation would be to determine minimum level as well as maximum level for the line. Something similar what is done in the BiDi reference implementation (reproduced below in Lua):
libraqm/src/raqm.c
Line 996 in 3241d49
In the code:
The spec says:
The code above seems to assume that the lowest odd level is always 1. I am not sure if it makes any difference in practice. I was reading through the code because I want to reimplement parts of this file in Lua, and this seemed to be not according to my understanding of the spec.
The text was updated successfully, but these errors were encountered: