View Issue Details

IDProjectCategoryView StatusLast Update
0011567ScribusGraphics / Image Framespublic2015-02-02 09:49
ReporterGarryP Assigned To 
PrioritynoneSeverityfeatureReproducibilityN/A
Status newResolutionopen 
PlatformMacOSOS XOS Version10.6.8
Product Version1.4.5 
Summary0011567: [Feature Request] Allow user generated dot-dash line patterns of any length
DescriptionBackground:
* Currently the standard dot-dash line patterns are created by a method getDashArray() in util.cpp. This means they are invariant and cannot be changed by the user.
* Scribus also allows custom patterns but they only allow ten "stops" which isn't very flexible and they can't be shared between documents.

Request:
* Allow the user to create a file (text or XML or whatever) containing user defined line patterns.
* This would allow users to create - and share with other documents and people - their own patterns.

Further refinement:
* Use the same technique to load the standard patterns too.
* This would allow for the same code to read both standard and user-generated patterns - making things simpler.

Example:
<SCRIBUSLINEPATTERNS Name="My Patterns">
  <PATTERN1 Name="SMS">1-1-1-3-3-1-1-1---
</SCRIBUSLINEPATTERNS>

In the above, a digit represents a line segment of digit x standard lengths, and a "-" represents a gap of one standard length (so "---" means a gap of three standard lengths). So the example would be di-di-di-dah-dah-di-di-dit which is Morse code for "SMS", hence the name.

This is just my quick stab at an example (and I'm sure there will be huge gaping holes in my logic) but I'm sure someone else can think of a better way of doing this.
TagsNo tags attached.
PatchNo

Activities

GarryP

2015-02-02 09:49

developer   ~0034425

Feature has not been included in 1.4.5, as far as I can see. (Changed product version number in ticket as appropriate.)
Obviously this is only a feature request so it's not actually a problem as such.

Issue History

Date Modified Username Field Change
2013-06-01 14:28 GarryP New Issue
2015-02-02 09:49 GarryP Patch => No
2015-02-02 09:49 GarryP Product Version 1.4.2 => 1.4.5
2015-02-02 09:49 GarryP Note Added: 0034425
2015-09-17 20:10 Kunda Category Graphics / Image Frames => Graphics/Img Frames
2015-09-17 20:11 Kunda Category Graphics/Img Frames => Graphics / Image Frames