View Issue Details

IDProjectCategoryView StatusLast Update
0010378ScribusTypographypublic2011-12-30 16:38
Reportercezaryece Assigned Tojghali  
PriorityhighSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.4.0svn 
Fixed in Version1.4.0svn 
Summary0010378: [FIX] baseline offset shifts first line from top frame border
DescriptionSome unexpected shift of first line in frame occurs when in this line some glyph is shifted to top by setting high positive value of base line offset.
Small patch for fixing that.
TagsNo tags attached.
Patch

Activities

cezaryece

2011-11-15 12:49

updater  

formatting_fix.patch (652 bytes)   
Index: Version135/Scribus/scribus/pageitem_textframe.cpp
===================================================================
--- Version135/Scribus/scribus/pageitem_textframe.cpp	(wersja 16976)
+++ Version135/Scribus/scribus/pageitem_textframe.cpp	(kopia robocza)
@@ -1571,7 +1571,7 @@
 			{
 				double diff = 0;
 				if (current.startOfCol || DropCmode)
-					diff = realAsce * scaleV + offset - (current.yPos - lastLineY);
+					diff = realAsce - (current.yPos - lastLineY);
 				else
 					diff = charStyle.font().realCharAscent(QChar('l'), hlcsize10) * scaleV + offset - (current.yPos - lastLineY);
 				if (diff >= 1 || (!DropCmode && diff > 0))
formatting_fix.patch (652 bytes)   

jghali

2011-11-15 23:03

administrator   ~0027201

Committed thanks!

Issue History

Date Modified Username Field Change
2011-11-15 12:49 cezaryece New Issue
2011-11-15 12:49 cezaryece File Added: formatting_fix.patch
2011-11-15 23:03 jghali Note Added: 0027201
2011-11-15 23:03 jghali Status new => resolved
2011-11-15 23:03 jghali Fixed in Version => 1.4.0svn
2011-11-15 23:03 jghali Resolution open => fixed
2011-11-15 23:03 jghali Assigned To => jghali
2011-12-30 16:38 cbradney Status resolved => closed