Labelling issues with followLine and maxAngleDelta

Description

See https://osgeo-org.atlassian.net/browse/GEOS-9152 for a reproducible example
The code checking angle changes is not working properly, since there is an older version that used to work fine, I'm going to revert to that one (this one I've tried to fix a few times already, it's time to accept it was ill conceived and put it to pasture)

Environment

None

Assignee

Andrea Aime

Reporter

Andrea Aime

Triage

None

Components

Fix versions

Priority

Medium
Configure