View Issue Details

IDProjectCategoryView StatusLast Update
0000996contextbug reportpublic2018-02-25 17:17
Reporterananeamine Assigned ToHans Hagen  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformWin64OSWindowsOS VersionWindows 10
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.

Activities

Hans Hagen

2018-02-25 17:17

manager   ~0001695

probaly ok now, no example anyway

Issue History

Date Modified Username Field Change
2017-04-03 04:31 ananeamine New Issue
2018-02-25 17:17 Hans Hagen Note Added: 0001695
2018-02-25 17:17 Hans Hagen Status new => closed
2018-02-25 17:17 Hans Hagen Assigned To => Hans Hagen
2018-02-25 17:17 Hans Hagen Resolution open => fixed