View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010378 | Scribus | Typography | public | 2011-11-15 12:49 | 2011-12-30 16:38 |
Reporter | cezaryece | Assigned To | jghali | ||
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.4.0svn | ||||
Fixed in Version | 1.4.0svn | ||||
Summary | 0010378: [FIX] baseline offset shifts first line from top frame border | ||||
Description | Some 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. | ||||
Tags | No tags attached. | ||||
Patch | |||||
|
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)) |
|
Committed thanks! |
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 |