[Bug 170049] Re: Inverted ruler co-ordinate system

2016-05-11 Thread vaifrax
@ yharrow

I did create a patch to just visually change the ruler and coordinate display, 
but more experienced devs pointed out that this was not the best way to address 
the issue (see #76).
Time has passed, I don't know how much work is still necessary. I'd also love 
to see a fix and still suggest to use the svg viewbox element for internal 
coordinates and visual representation or rulers.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/170049

Title:
  Inverted ruler co-ordinate system

To manage notifications about this bug go to:
https://bugs.launchpad.net/inkscape/+bug/170049/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 170049] Re: Inverted ruler co-ordinate system

2016-02-18 Thread vaifrax
@Thorjelly

I wrote scripts writing out geometries at scale (in mm). For debugging
and other purposes it is most useful if the numeric values in the
document stay these numbers and the rulers also show the same numbers.
This is not only useful for the scale but also where on the page the
origin is and if it is a right-handed or left-handed coordinate system.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/170049

Title:
  Inverted ruler co-ordinate system

To manage notifications about this bug go to:
https://bugs.launchpad.net/inkscape/+bug/170049/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 170049] Re: Inverted ruler co-ordinate system

2013-02-28 Thread vaifrax
I tried looking at the svg side and I'm a little confused.

How about, as a first step, modifying inkscape so that rulers and mouse pointer 
coordinate status use the origin that is indirectly defined by the viewbox? 
What about the viewbox units? Second step would be a gui to actually configure 
the viewbox within inkscape in a user friendly way. Finally, using those 
coordinates directly for new objects instead of inserting another 
transformation (I think this is what Krzysztof wrote in the previous post).
(viewbox reference: http://www.w3.org/TR/SVG/coords.html#ViewBoxAttribute )
I played around with a hand coded svg, in case anyone else is interested I 
attached it.

This alone does not allow setting up an inverted y axis (to enable having y 
axis pointing up like now) but it looks like there is a ‘svg:transform’ 
attribute for that. Inverting the axis would also require things like flipping 
text, I think?
(svg:transform reference: 
http://www.w3.org/TR/SVG/coords.html#SVGGlobalTransformAttribute )

Maybe it helps if we can agree on how coordinate systems should be defined in 
the svg and how inkscape should display units and rulers?
I feel like I haven't really understood all issues.

** Attachment added: viewbox with origin in the center of the page
   
https://bugs.launchpad.net/inkscape/+bug/170049/+attachment/3551689/+files/viewbox-test.svg

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/170049

Title:
  Inverted ruler co-ordinate system

To manage notifications about this bug go to:
https://bugs.launchpad.net/inkscape/+bug/170049/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 170049] Re: Inverted ruler co-ordinate system

2013-02-26 Thread vaifrax
@jarl-arntzen: Thanks. Even though I spent many days trying to get this
little bit of patch working (mainly because of lack of experience), I'm
not sure if this idea of mine will be an accepted solution and make it
into the official build. I'm not against receiving money but especially
in this case it is probably better spent for something else.

If I continue to improve this does not depend on money but rather on some dev's 
opinions if this makes sense. And I hope this will be soon as I will have very 
little time from April on.
Anyway, I will write an email to the dev mailing list and try to get some 
attention to the topic there.

Can someone give a hint where money is needed most? Servers, build
infrastructure? Support for meetings for developers?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/170049

Title:
  Inverted ruler co-ordinate system

To manage notifications about this bug go to:
https://bugs.launchpad.net/inkscape/+bug/170049/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 170049] Re: Inverted ruler co-ordinate system

2013-02-23 Thread vaifrax
Could someone else than me test the patch and report back, please?
I won't continue with improvements until the more experienced devs agree that 
this is the way to go.
cheers

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/170049

Title:
  Inverted ruler co-ordinate system

To manage notifications about this bug go to:
https://bugs.launchpad.net/inkscape/+bug/170049/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 170049] Re: Inverted ruler co-ordinate system

2013-02-16 Thread vaifrax
another update, in case you use autotools the new files were not
compiled, fixed now (thanks ~suv)

** Patch added: added new files to Makefile_insert for building with autotools
   
https://bugs.launchpad.net/inkscape/+bug/170049/+attachment/3531626/+files/bugfix170049_partial2.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/170049

Title:
  Inverted ruler co-ordinate system

To manage notifications about this bug go to:
https://bugs.launchpad.net/inkscape/+bug/170049/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 170049] Re: Inverted ruler co-ordinate system

2013-02-15 Thread vaifrax
I rewrote the gui code and hopefully fixed all issues, please test.
Use the patch or branch 
https://code.launchpad.net/~vaifrax/inkscape/bugfix170049

future work:
- for convenience, add buttons to set origin relative to page (see #62)
- for convenience, add draggable origin (see #61, #63)
- use origin as default for new grids
- optionally specify guides relative to this origin


** Patch added: first part of a solution for custom ruler coordinate system
   
https://bugs.launchpad.net/inkscape/+bug/170049/+attachment/3530899/+files/bugfix170049_partial2.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/170049

Title:
  Inverted ruler co-ordinate system

To manage notifications about this bug go to:
https://bugs.launchpad.net/inkscape/+bug/170049/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 170049] Re: Inverted ruler co-ordinate system

2013-02-15 Thread vaifrax
oops, found some debugging messages I forgot, updated now

** Patch added: removed some more debugging messages
   
https://bugs.launchpad.net/inkscape/+bug/170049/+attachment/3530900/+files/bugfix170049_partial2.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/170049

Title:
  Inverted ruler co-ordinate system

To manage notifications about this bug go to:
https://bugs.launchpad.net/inkscape/+bug/170049/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 170049] Re: Inverted ruler co-ordinate system

2013-02-14 Thread vaifrax
Due to some problems I have with the gui and to make future changes
easier, I'm rewriting the gui code I had so far.

@jarl-arntzen: have you tested my partial solution?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/170049

Title:
  Inverted ruler co-ordinate system

To manage notifications about this bug go to:
https://bugs.launchpad.net/inkscape/+bug/170049/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 170049] Re: Inverted ruler co-ordinate system

2013-02-14 Thread vaifrax
@lemasney: here is a partially working first step to a possible solution which 
only affects rulers and mouse pointer status coordinates:
https://code.launchpad.net/~vaifrax/inkscape/bugfix170049
You can find text boxes in the document properties; in the current state 
keyboard input does not always trigger an update, make sure to subsequently 
click on the spinner buttons (up/down) to trigger the update.
Thanks for testing.

My attempt rewriting the GUI part currently fails with a crash, I guess
it will still take me some time to finish.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/170049

Title:
  Inverted ruler co-ordinate system

To manage notifications about this bug go to:
https://bugs.launchpad.net/inkscape/+bug/170049/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 170049] Re: Inverted ruler co-ordinate system

2013-02-09 Thread vaifrax
I have partly implemented what I described in #57, I still have work to do on 
the GUI elements.
See attached image for how it could look like (this is also the easiest to 
implement that I can think of for now).

@lemasney: I did not quite understand, click and drag on that corner then moves 
the origin? Or is the origin set where the mouse drag is released?
Your suggestion from #61 could be used in addition, good idea.

-- Scaling of offset/origin --
In which units should the origin be specified? It could use the 'default units' 
or the same ones as in the page size settings, but this would in general not 
match the rulers. If it was scaled by the ruler multiplier it would also change 
when the multiplier was changed.

-- Grid origin --
It probably often makes sense to specify the grid origin relative to the ruler 
origin. But sometimes you may want to keep an existing grid steady while just 
moving the ruler origin, so should there be an option for each grid to choose 
either 'relative to ruler origin' or 'absolute position'?

I will try to fix a few remaining gui glitches and will report back
within a few days.

** Attachment added: possible user interface
   
https://bugs.launchpad.net/inkscape/+bug/170049/+attachment/3521809/+files/ruler-ui-suggestion.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/170049

Title:
  Inverted ruler co-ordinate system

To manage notifications about this bug go to:
https://bugs.launchpad.net/inkscape/+bug/170049/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 170049] Re: Inverted ruler co-ordinate system

2013-02-07 Thread vaifrax
I tried to simply add a multiplier and an offset for each ruler which
seems to work as expected. (I did not yet manage to link scalar input
values of the gui to the actual values but this should not be hard.)

This idea could solve the problem of some users I guess, however there would be 
a few open questions or issues:
- should new grids by default have their origin set at the current ruler origin?
- coordinates in the svg are not influenced, it's just the ruler numbers that 
change
- what's the best way to integrate in the gui? 4 number input fields for 
multipliers and offsets could be used
- for my default A4 page, setting an inverted y axis requires the user to enter 
a non integer ruler offset, that's not user friendly at all
- with this solution, an inverted y axis might introduce precision issues due 
to a double transformation
- an advantage is compatibility, nothing changes (except additional metadata 
how to display the rulers)

Would this be an acceptable solution? How should the gui look like?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/170049

Title:
  Inverted ruler co-ordinate system

To manage notifications about this bug go to:
https://bugs.launchpad.net/inkscape/+bug/170049/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs