View Issue Details

IDProjectCategoryView StatusLast Update
0006760ScribusStory Editor / Text Framespublic2009-02-04 19:47
Reporterbrunod Assigned Toavox  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformintel X86 OSUbuntu 7.10 32 bitsOS Version1.3.5 svn
Product Version1.3.5svn 
Target Version1.3.5Fixed in Version1.3.5svn 
Summary0006760: text layout changed when reopening existing sla made by 1.3.3.8
DescriptionSla made last year in 1.3.3.8 has a different text layout when opened with 1.3.5 than with 1.3.3.11.
Here are two screen copies of the same sla opened with 1.3.5 and 1.3.3.11. See page numbers, alignment on right page (step effect), number of lines displayed; and more or less the same on left page.
Notice that for both version, the embedded pdf had to be placed again, but that's minor
Sla joined of 52 Pages.
TagsNo tags attached.
Patch

Activities

2008-02-11 19:28

 

FancySaiveA.sla.gz (45,216 bytes)

2008-02-11 19:29

 

135.png (433,539 bytes)   
135.png (433,539 bytes)   

2008-02-11 19:29

 

13311.png (412,439 bytes)   
13311.png (412,439 bytes)   

jghali

2008-05-15 22:08

administrator   ~0019672

Last edited: 2008-05-15 22:43

avox:
It appears that some glyphs may not be layouted if a line ends with several spaces. See line 893 in PageItem_TextFrame.cpp and what happens when a is between 25 and 28. Basically a line break occurs when a = 27 (current char is a space then) with a new line at pos 26. Characters at position 26, 27, 28 up to next parsep are all spaces. In this precise case glyph at position 28 won't be layouted and will be displayed as a missing glyph

jghali

2008-05-15 22:43

administrator   ~0019673

I can't get page 7 bottom part to display the same as your 13311 screenshot. That part displays identically in 1.3.3.10, 1.3.3.11, 1.3.3.12svn and 1.3.5svn here.

jghali

2008-07-30 23:22

administrator   ~0020074

The red square issue page 7 is now fixed.

avox

2009-01-11 17:16

administrator   ~0020906

The steps occur because of the number of tabs in those lines:
1 before Snack
2 before Traiteur
3 before Buffet ...
6 before Plats ...
8 before Sandwiches variƩs

With a default tab width of 12.7mm that is correct behaviour, including the additional lines and the text overflow. If this document was ever displayed with an even step as in your screenshot, Scribus was buggy then.

I dont have the font you use for pagenumbers, so I can't test that behaviour here.

2009-01-18 08:35

 

Gargi.ttf (74,260 bytes)

brunod

2009-01-18 08:37

reporter   ~0020933

@Avox
Here is gargy.ttf. I needed time to find it back.
Thanks (for this and for all !)
BD

cbradney

2009-01-19 23:04

administrator   ~0020940

[22:46] <jghali> MrB: for a specific frame in 1.3.3.13svn Clip has 5 point and is closed, in 1.3.5svn clip has only 4 point and is not closed

jghali

2009-02-03 20:08

administrator   ~0021067

The clip path appear to play in fact no role in the layout differences observed. The main reason is rounding differences between the QPainter::xform() function used in 1.3.3.x and QMatrix:map() function used in 1.3.5svn.

Example with point (0, 18) transformed by a specific object at position (471.86099999999999, 586.92999999999995) :
unrounded => 471.86 604.93
1.3.3.x => 471 604
1.3.5svn => 472 605
expected => 472 605

It appears that rounding performed by 1.3.3.x is wrong and 1.3.5svn is right. So no change required here.

Issue History

Date Modified Username Field Change
2008-02-11 19:28 brunod New Issue
2008-02-11 19:28 brunod File Added: FancySaiveA.sla.gz
2008-02-11 19:29 brunod File Added: 135.png
2008-02-11 19:29 brunod File Added: 13311.png
2008-02-11 19:34 cbradney Status new => assigned
2008-02-11 19:34 cbradney Assigned To => avox
2008-05-14 22:16 jghali Target Version => 1.3.5
2008-05-15 22:08 jghali Note Added: 0019672
2008-05-15 22:43 jghali Note Added: 0019673
2008-05-15 22:43 jghali Note Edited: 0019672
2008-07-30 23:22 jghali Note Added: 0020074
2009-01-11 17:16 avox Note Added: 0020906
2009-01-11 17:16 avox Status assigned => feedback
2009-01-18 08:35 brunod File Added: Gargi.ttf
2009-01-18 08:37 brunod Note Added: 0020933
2009-01-19 23:04 cbradney Note Added: 0020940
2009-02-03 20:08 jghali Note Added: 0021067
2009-02-03 21:03 cbradney Status feedback => resolved
2009-02-03 21:03 cbradney Fixed in Version => 1.3.5svn
2009-02-03 21:03 cbradney Resolution open => fixed
2009-02-04 19:47 cbradney Status resolved => closed
2015-09-17 20:08 Kunda Category Story Editor / Text Frames => Story Ed/Txt Frames
2015-09-17 20:12 Kunda Category Story Ed/Txt Frames => Story Editor / Text Frames