MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0031762Open CASCADE[OCCT] OCCT:Visualizationpublic2020-09-12 10:182020-09-15 19:51
Reporterkgv 
Assigned Tonds 
PrioritynormalSeverityminor 
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version[OCCT] 6.6.0 
Target Version[OCCT] 7.5.0Fixed in Version 
Summary0031762: Visualization, Font_TextFormatter - tabulation length is respected with one extra symbol shift
DescriptionTest case below shows that Font_TextFormatter adds unexpected extra symbol shift while formatting tabulation of length 8.
Steps To Reproduce
pload MODELING VISUALIZATION
vinit View1
vdrawtext t1 "1234567890\n1\t90\n12\t90\n123\t90\n1234\t90" -pos 0 0 0

1234567890
1	9

vdrawtext t2 "1234567890\n#1\t90\n#12\t90\n#123\t90\n#1234\t90" -pos 0 0 -25

1234567890
0000001 	9

vdrawtext t3 "1234567890\n1\t 90\n12\t 90\n123\t 90\n1234\t 90" -pos 0 0 -50

1234567890
1 	9

vfit; vzoom 0.5


for old OCCT:
pload MODELING VISUALIZATION
vinit View1
vdrawtext t1 "1234567890\n1\t90\n12\t90\n123\t90\n1234\t90" -pos 0 0 0

1234567890
1	9

vdrawtext t2 "1234567890\n#1\t90\n#12\t90\n#123\t90\n#1234\t90" -pos 0 0 -25

1234567890
0000001 	9

vdrawtext t3 "1234567890\n1\t 90\n12\t 90\n123\t 90\n1234\t 90" -pos 0 0 -50

1234567890
1 	9

vfit; vzoom 0.5
TagsNo tags attached.
Test case number
Attached Filespng file icon tab8_notepad_OK.png (15,252 bytes) 2020-09-12 10:18
png file icon tab8_notepad2_OK.png (12,186 bytes) 2020-09-12 10:18
png file icon tab8_draw_740_KO.png (7,566 bytes) 2020-09-12 10:18
png file icon tab8_draw_750_OK.png (8,516 bytes) 2020-09-12 10:19
png file icon tab8_draw_654_OK.png (9,508 bytes) 2020-09-12 10:35

- Relationships
related to 0030537verifiednds Open CASCADE Visualization - wrapping text in font text formatter 
child of 0023457closedkgv Community Slow text rendering 

-  Notes
(0094529)
kgv (developer)
2020-09-12 10:23
edited on: 2020-09-12 10:32

Natalia, as 0030537 fixed first use case (3rd one remains broken), but didn't mentioned it - could you please prepare a test case for this bug?


- Issue History
Date Modified Username Field Change
2020-09-12 10:18 kgv New Issue
2020-09-12 10:18 kgv Assigned To => kgv
2020-09-12 10:18 kgv File Added: tab8_notepad_OK.png
2020-09-12 10:18 kgv File Added: tab8_notepad2_OK.png
2020-09-12 10:18 kgv File Added: tab8_draw_740_KO.png
2020-09-12 10:19 kgv File Added: tab8_draw_750_OK.png
2020-09-12 10:19 kgv Relationship added related to 0030537
2020-09-12 10:23 kgv Note Added: 0094529
2020-09-12 10:23 kgv Assigned To kgv => nds
2020-09-12 10:23 kgv Status new => assigned
2020-09-12 10:32 kgv Note Edited: 0094529 View Revisions
2020-09-12 10:34 kgv Product Version 7.4.0 => 6.6.0
2020-09-12 10:35 kgv File Added: tab8_draw_654_OK.png
2020-09-12 10:36 kgv Steps to Reproduce Updated View Revisions
2020-09-12 10:42 kgv Relationship added child of 0023457
2020-09-15 19:51 kgv Relationship added related to 0022796


Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker