MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000996contextbug reportpublic2017-04-03 04:312017-04-03 04:31
Reporterananeamine 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusnewResolutionopen 
PlatformWin64OSWindowsOS VersionWindows 10
Product Version 
Target VersionFixed in Version 
Summary0000996: Wrong OTF mark positioning after the node pair +TLT and -TLT when the paragraph direction is TRT
DescriptionThe txtdirstate function in font-ots.lua does not considere the case when the stack is empty. When we add the test "if top == 0 then" below the problem is fixed.

elseif dir == "-TRT" or dir == "-TLT" then
        top = top - 1
        if stack[top] == "+TRT" then
            new = -1
        end
        -- code added
        -- when the stack is empty reset the direction to the paragrpah direction
        if top == 0 then
          new = rlparmode
        end
    else
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2017-04-03 04:31 ananeamine New Issue


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker