J.B.C.Engelen@...1578... wrote:
The "allowshorthands" option seems not used anywhere in
Inkscape code.
Does anybody know what happened with this option? (I have
commented it
out, so it does not show up in Pref dialog)
Indeed, it's not used. I'm not really sure (anymore at least) how it ended up in the preferences file. While working on the code to generate path data with relative commands I considered also letting Inkscape generate path data with shorthands (h/v commands), but finally decided against it because of the increased complexity and very minor gains.
Aha! Actually Peter and I were thinking about adding axis aligned path segments to 2geom, which makes the complexity for Inkscape
neglegible. > It's good that the option is called "Allow..." because indeed I don't
think it is worth actively converting lines to axis aligned lines when possible.
Sure, that wouldn't be any trouble at all. The option was for letting PathString use h/v commands for lines that are horizontal/vertical if it would result in a smaller path data description.
But as I said before, the option isn't used (I only tried this locally) and I have no idea (anymore) how it ended up in the preferences in SVN.