View Issue Details

IDProjectCategoryView StatusLast Update
0001462ScribusGeneralpublic2025-02-04 19:56
Reporterlouisdesjardins Assigned To 
PrioritynormalSeveritytweakReproducibilityalways
Status acknowledgedResolutionopen 
PlatformLinuxOSMandrakeOS Version10
Product Version1.2.1cvs 
Summary0001462: Lines (borders) on frames are drawn from the center of the edge to the outside
DescriptionWhen you need a frame around a text or pic frame, the frame is drawn from the center of the frame's edges. This means your line basically goes outside your frame for half the value of the line and of course goes into your frame for the other half. The actual result of this is to expand the size of the frame.

Although this might not be a big issue with low values (half point, 1 point...) it can be more difficult to deal with when you need a 4 pts border... You are then clearly out of any margin you've decided to use.

The actual workaround is to modify the size of the frame accordingly.

I think we need more flexibility on this useful feature. For instance, would it be possible to let users decide wether the lines are to be drawn inside the edges, outside the edge or like it is right now, from the center of the edges?
Tagslines
Patch

Relationships

has duplicate 0004259 closed Alignment of strokes frames 
related to 0014027 new Option to choose the direction of an outline border (outwards vs inwards) 
related to 0003822 feedback Stroke of letters overlap the inside of the letters themselves. 
related to 0006428 assignedchristoph_s Line colour isn't displayed correctly if blend modes are applied 

Activities

cbradney

2004-12-28 16:50

administrator   ~0003267

Yes, should be possible to have 3 options here I think.
1. draw inside using line as outside edge of line
2. draw on line as center
3. draw outside using line as inside edge of line

ale

2019-09-18 08:51

manager   ~0046671

Inner/outer/center stroke placement
https://bugs.launchpad.net/inkscape/+bug/170401
marked as invalid

good summary in a reply to "Can you control how an SVG's stroke-width is drawn?"
https://stackoverflow.com/a/7273346/5239250

the svg 2.0 proposal for the stroke has some interesting edge cases:
https://svgwg.org/specs/strokes/#SpecifyingStrokeAlignment

ale

2019-09-18 09:04

manager   ~0046672

Last edited: 2019-09-19 07:35

marc (mc) from inkscape suggests that (as long as the svg standard does not sort out every detail for inner/outer) it might be possible to implement a right/left in the direction of the path.

krtek1

2025-02-04 13:36

reporter   ~0052006

Po dvaceti letech stále nevyřešeno? Toto byl jeden z důvodů, proč jsem přestal Scibus používat.
Twenty years later, still unresolved? This was one of the reasons I stopped using Scribus.

ale

2025-02-04 16:22

manager   ~0052007

so, what is stopping scribus from implementing this?

for what i'm concerned, scribus could support this only for shapes (or segments) that are straight: it's probably where it is mostly needed!

ale

2025-02-04 19:53

manager   ~0052008

i just saw that penpot.app has the option to choose where the line is drawn...

ale

2025-02-04 19:56

manager   ~0052009

... and it's open source...
penpot-stroke.gif (103,699 bytes)   
penpot-stroke.gif (103,699 bytes)   

Issue History

Date Modified Username Field Change
2004-12-28 11:31 louisdesjardins New Issue
2004-12-28 16:50 cbradney Note Added: 0003267
2006-02-06 18:23 jo-hannes Status new => acknowledged
2006-09-27 01:39 louisdesjardins Relationship added has duplicate 0004259
2016-05-05 15:53 Kunda Tag Attached: lines
2016-05-14 12:40 Kunda Relationship added related to 0014027
2016-05-24 20:08 Kunda Relationship added related to 0003822
2019-09-18 08:51 ale Note Added: 0046671
2019-09-18 09:04 ale Note Added: 0046672
2019-09-19 07:35 ale Note Edited: 0046672
2021-01-20 07:47 PeterBenedek Relationship added related to 0006428
2025-02-04 13:36 krtek1 Note Added: 0052006
2025-02-04 16:22 ale Note Added: 0052007
2025-02-04 19:53 ale Note Added: 0052008
2025-02-04 19:56 ale Note Added: 0052009
2025-02-04 19:56 ale File Added: penpot-stroke.gif