MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000996contextbug reportpublic2017-04-03 04:312018-02-25 17:17
Reporterananeamine 
Assigned ToHans Hagen 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
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
(0001695)
Hans Hagen (manager)
2018-02-25 17:17

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


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker