Hi there, the following describes an issue we are facing using Aspose PDF for .NET. Where the text refers to the sample please see the file Rotation_Test_TEXT_Utility_out.pdf in the attached files.
We are facing an issue whereby the text anchor position appears to be being lost for text that is rotated. Our specific application uses template PDF documents which are populated at runtime with the required text. This works fine with a variety of fonts (types, sizes etc.) when in normal use (see the Normal section at the top of the sample) . However when we rotate the fields on the template without doing anything else, the text appears to shrink (see Rotated section in sample). This suggested to us that the text had transposed the X & Y scale and was shrinking to fit. So we used a much larger square text label so X & Y are the same. This now displays the text at the appropriate size (see rightmost text in Rotated section in the Sample). However the position of the text is centred. We need to place this at the edge of a document which is not possible. We have tried forcing formatting on the template, but every time this is ignored and the text remains centred (See BoxLeftTop through to BoxRightMiddle on Sample).
I have attached sample examples of a template PDF (Rotation_Test_TEXT_Utility.pdf), and a populated version of this (Rotation_Test_TEXT_Utility_out.pdf).
We have tested this using 8.1.0 dlls although our production system is using an older version