View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003091 | Scribus | Scripter | public | 2006-01-24 21:31 | 2006-05-02 08:09 |
Reporter | sleighboy | Assigned To | subik | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | duplicate | ||
Platform | x86 | OS | Windows | OS Version | 2000 SP4 |
Product Version | 1.3.2 | ||||
Fixed in Version | 1.3.4cvs | ||||
Summary | 0003091: createLine does not like vertical lines | ||||
Description | I want to create vertical lines for a chart. Passing identical x coords produces strange results. Lines that are too short and near invisible, or not corectly following thier porportions. Yet lines with identical y coords work fine every time. | ||||
Steps To Reproduce | margins = (.25, .25, .25, .25) size = (6.5, 8.5) newDocument(size, margins, 0, 1, 2, NOFACINGPAGES, FIRSTPAGELEFT) setUnit(2) #Top thicker line , this line works col_head_top = createLine(0.25,0.8,6.25,0.8) setLineWidth(2,col_head_top) #Lower thinner line, this line works col_head_bot = createLine(0.25,0.925,6.25,0.925) setLineWidth(1,col_head_bot) #First vertical line, THIS LINE DOES NOT RENDER CORRECTLY! sheet_vert_line_one = createLine(0.8, 1, 0.8, 6) setLineWidth(1,sheet_vert_line_one) #A nother vertical line, THIS LINE DOES NOT RENDER CORRECTLY! sheet_vert_line_two = createLine(1, 4.5, 2, 0.8) setLineWidth(1,sheet_vert_line_two) | ||||
Tags | No tags attached. | ||||
Patch | |||||
|
Can you reproduce the problem if you use the default units (points) ? |
|
Yes I can. Here is the modified code I tested with. margins = (.25, .25, .25, .25) size = (600.5, 800.5) newDocument(size, margins, 0, 1, 0, NOFACINGPAGES, FIRSTPAGELEFT) setUnit(0) #A nother vertical line, THIS LINE DOES NOT WORK! sheet_vert_line_two = createLine(100, 45, 100, 308) setLineWidth(1,sheet_vert_line_two) |
|
Yeah, there's certainly something very odd going on here. The lines are visible in the outline palette, but seem to end up at very strange locations and angles, and with zero apparent width. Dragging them to resize them often collapses them to a point, from which the correct line is dragged. |
|
Reminder sent to: subik Subik, is this the same as 0003294? Sounds like it. If so, please close this as duplicate. |
|
all examples works fine now. Fixed by bug no. 0003294. |
Date Modified | Username | Field | Change |
---|---|---|---|
2006-01-24 21:31 | sleighboy | New Issue | |
2006-01-25 08:02 |
|
Note Added: 0008333 | |
2006-01-25 08:02 |
|
Status | new => acknowledged |
2006-01-25 18:01 | sleighboy | Note Added: 0008348 | |
2006-01-25 23:09 | sleighboy | Note Edited: 0008348 | |
2006-01-26 07:29 |
|
Note Added: 0008370 | |
2006-01-26 07:29 |
|
Status | acknowledged => confirmed |
2006-04-29 00:02 | cbradney | Relationship added | related to 0003294 |
2006-04-29 00:03 | cbradney | Note Added: 0010621 | |
2006-05-02 07:25 | subik | Status | confirmed => resolved |
2006-05-02 07:25 | subik | Fixed in Version | => 1.3.4cvs |
2006-05-02 07:25 | subik | Resolution | open => duplicate |
2006-05-02 07:25 | subik | Assigned To | => subik |
2006-05-02 07:25 | subik | Note Added: 0010764 | |
2006-05-02 08:09 | mhanski | Status | resolved => closed |