pdf-association / pdf-issues

Industry-based resolutions for issues and errata reported against any PDF-related specification
https://pdf-issues.pdfa.org/
64 stars 2 forks source link

Proposal: Enhancing Free Text Alignment Options #450

Open AmyLin2013 opened 3 months ago

AmyLin2013 commented 3 months ago

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

image

petervwyatt commented 3 months ago

Seems very appropriate for supporting Asian, Middle Eastern and other non-English languages. Thank you for your suggestion!