Open AmyLin2013 opened 4 months ago
Seems very appropriate for supporting Asian, Middle Eastern and other non-English languages. Thank you for your suggestion!
You essentially put two integers into a single one. If that really is intended, please consider using certain bits for the one and certain bits for the other, e.g. bits 0 and 1 for horizontal alignment and bits 2 and 3 for vertical alignment. That would leave the existing values as is and make new numberings less arbitrary.
Proposal: Enhancing PDF Free Text Alignment Options To enhance the flexibility and usability of free text annotations, I propose the addition of more alignment options, including vertical alignment. The suggested codes are as follows: Horizontal Alignment:
0: Left-justified 1: Centered 2: Right-justified 3: Justified (full justification) Vertical Alignment:
4: Top-aligned 5: Middle-aligned 6: Bottom-aligned Combined Horizontal and Vertical Alignment:
7: Top-left 8: Top-center 9: Top-right 10: Middle-left 11: Middle-center 12: Middle-right 13: Bottom-left 14: Bottom-center 15: Bottom-right Default values:
Horizontal alignment: 0 (left-justified) Vertical alignment: 4 (top-aligned) By incorporating these additional alignment options, users will have greater control over the presentation of freetext annotation , leading to improved document readability and aesthetics.
My suggestion aims to provide a comprehensive set of alignment options to enhance the functionality and flexibility of freetext annotations in PDF documents.
================= Referene: Table 177 — Additional entries specific to a free text annotation