Comment 5 for bug 172219

Revision history for this message
meientau (jan-schormann) wrote :

I thought I'd try and use the source, followed the instructions for the Win32_Port, and picked something from launchpad using bazaar, so it's probably head (see the date of this post).
What I found by adding some debug output in the tilt code in src/dyna-draw-context.cpp:363 (in the usetilt part of sp_dyna_draw_apply()) is that dc->xtilt and dc->ytilt only ever have values of 1 or -1.
The result *looks* as if the nib was wrong by 90 degrees *if* you hold the pen in certain positions, e.g. conveniently with your right hand, but some other tilts give strange results. Holding the pen straight up/down, for example, makes the angle flip back and forth between 45 degrees and 135 degrees, both of which are "wrong".
 - Is it possible that this only occurs for certain versions of the tablet? My tablet seems to work fine in Photoshop 7, for example. Do they have a workaround for a driver or hardware bug?
 - Am I the only one who observes that tilt has deterministic but completely arbitrary effect on the nib angle, or can someone else reproduce this behavior?
 - Would it help if I would use screen shots / drawings to explain what I mean?
 - Do you have a hint where I should continue to look for the cause, i.e. the calculation/origin of dc->{x,y}tilt, or is the 1/-1 value OK and I'm on a wrong lead?
I'd love to contribute by solving this issue - if it is seen as an issue, that is.Hence I'd be grateful for any hint!