Alignment of text in print PDFs
When exporting an InDesign file to a print PDF, I'm finding that regardless of the horizontal alignment setting for the text frame in InDesign (left, right, or centered), the text frame in the PDF is always left aligned and the entire frame is just positioned so the text looks visually centered or right-aligned if necessary.
I'm trying to build template PDFs in which some strings (e.g., prices in a table) are modified by JavaScript after export. The problem arises that if the replacement string is not the same length as the original string, then the text is no longer centered or right-aligned in the column.
I see that the alignment of a text frame can be set from the UI inside Acrobat. Is there a way to set the alignment of a PDF text frame at the time of export from InDesign? Or programmatically in the exported PDF?
Thanks!
