View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0011567||Scribus||Graphics / Image Frames||public||2013-06-01 14:28||2015-02-02 09:49|
|Platform||Mac||OS||OS X||OS Version||10.6.8|
|Summary||0011567: [Feature Request] Allow user generated dot-dash line patterns of any length|
* 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.
* 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.
* 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.
<SCRIBUSLINEPATTERNS Name="My Patterns">
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.
|Tags||No tags attached.|
|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|