In "Fill and Stroke" dialogue box (Shift+Ctrl+F) I have a lot of not needed dash styles. After finding out how to add the ones I need with the preferences.xml file I want to delete all the other ones.
I thought deleting them in the preferences.xml file would do the trick but it does not. As soon as I restart all the default dash styles are back in.
Where (else) does Inkscape get the style info or how do I delete an unwanted dash style properly?
how to delete dashes styles
-
- Posts: 2344
- Joined: Sun Apr 14, 2013 12:04 pm
- Location: Michigan, USA
Re: how to delete dashes styles
Looks like they are hard-coded coded in based on ID.
So while you cannot delete the standard IDs, you can re-write the standard numeric sequences to your custom styles at the top of the list and ignore the remainder of the pick list.
e.g. solid is always at the top
Can be re-written:
Do this at your own risk.
So while you cannot delete the standard IDs, you can re-write the standard numeric sequences to your custom styles at the top of the list and ignore the remainder of the pick list.
e.g. solid is always at the top
Code: Select all
<dash
id="solid"
style="stroke-dasharray:none" />
Can be re-written:
Code: Select all
<dash
id="solid"
style="stroke-dasharray:12,1,12,1" />
Do this at your own risk.
Have a nice day.
I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1
The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/
I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1
The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/
Re: how to delete dashes styles
Hard coded ... i feared it was so. Would have made life a little easier if not ... but who said it would be easy 
Anyway thanks for the help.

Anyway thanks for the help.