Skip to content

Possible bug in _raqm_reorder_runs #77

@deepakjois

Description

@deepakjois

for (level = max_level; level > 0; level--)

In the code:

for (level = max_level; level > 0; level--)

The spec says:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions