mattt/TTTAttributedLabel — pull request #407 by coverback (2014-06-17 10:45:37+00:00)
Title: Revert link alignment fix in favor of head indent support

Commit 843d390 referencing issue #376 fixed link alignment when on the last line, but introduced a regression which breaks first line head indent support.
It stops working because offset is now only based on flush factor, disregarding values coming from framesetter (which "knows" about indents).

Broken functionality can be seen in the example project: https://dl.dropboxusercontent.com/u/69089444/TestTTTSize2.zip

I was not able to fix this properly, because either offset is taken into account, or the indent, and combining them doesn't work: when centred, it also adds indent as well. I was not able to find a workaround, except to stick to 1.9.x versions, that's why I'm proposing this revert.

This PR partially reverts the commit 843d390, keeping the refactoring, but removing the actual offset change.
This breaks fix for referenced issue #376, but link alignment can be fixed pretty easily using paragraph attributes. It was actually the recommended way, seen in the issue #228 and other ones linked there.

If there is a way to fix this properly, and someone can point me in the right direction, I'd gladly fix it the right way.