<div dir="ltr">I had the same problem.<br>I imported a .sld file from geoserver to qgis and it seems some (or many) things are different.<br>The worst of all is the algorithm applied for rototranslation.<br>Apparently, the offset x, y and the rotation (or data defined rotation) fields, don't work together in a rototranslation function. Searching until something like the 10th page on google and merging every little piece in as many forums, I found out if you have to apply a rototranslation data-defined formula, you must set up some things manually.<br>First of all, you have to set up the data-defined rotation field, remembering that, for some reasons, the angle is shifted by 90 degrees.<br>Then you have to place the rotated label in a coordinate computed by the  real  rototranslation formula (rotation and translation combined). To do that, I find this formula to output the best results, in the Offset X, Y field:<br><br>concat (<br>-A * sin ((90 - "field") * pi () / 180) -B * cos ((90 - "field") * pi () / 180),<br>',',<br>A * cos ((90 - "field") * pi () / 180) -B * sin ((90 - "field") * pi () / 180)<br>)<br><br>where A and B are 2 constants for offset and "field" is your data-defined field<br><br>Sorry if something is unclear, this method is a quite unfriendly way to accomplish this need<br><br>Marco<br></div>