| 26 | | Negative values seem to be ignored, they do not affect the calculated offset. How do you recognize them in your parser anyway, I did not have a thorough look yet how differentiation between RelativeFloat and Float is done, but understand that both types may occur as a value. |
| | 26 | Negative values are ignored, this is because |
| | 27 | * a RelativeFloat literal is only recognized if a plus sign is preceding the number |
| | 28 | * getWidth() is reused, which discards negative absolute values |
| | 29 | |
| | 30 | I think this is desireable - or would you like to see negative offsets work? After all, it does not seem to make much sense to shift a feature to the left, that was tagged "right" - if done, then probably by error. |
| | 31 | |
| | 32 | So actually, it seems to be a good thing that this is prevented by current code.. |