Key Facts
- Category
- Document Tools
- Input Types
- textarea, select, number, checkbox, file
- Output Type
- file
- Sample Coverage
- 4
- API Ready
- Yes
Overview
The PDF RTL/LTR Support Tester allows you to preview and verify how bidirectional text flows within a PDF document, ensuring correct rendering for languages like Arabic or Hebrew alongside standard left-to-right scripts.
When to Use
- •Verifying layout consistency for documents containing both LTR and RTL languages.
- •Troubleshooting bidi reordering issues in PDF generation workflows.
- •Testing custom font rendering for right-to-left scripts before final production.
How It Works
- •Input your LTR and RTL text samples into the respective fields.
- •Adjust the base direction, alignment, and typography settings to match your document requirements.
- •Toggle guide lines or include mixed-direction samples to inspect the visual layout.
- •Generate and download the PDF to review the final bidi reordering and spacing.
Use Cases
Examples
1. Multilingual Report Layout
Technical Writer- Background
- A technical writer is creating a manual that includes both English and Arabic instructions.
- Problem
- The Arabic text is appearing in the wrong order, and the English text is misaligned when combined in the same paragraph.
- How to Use
- Input the English text in the LTR field and the Arabic text in the RTL field, then set the base direction to 'Auto' to verify the bidi flow.
- Outcome
- The tool generates a PDF preview showing the correct visual reordering of the mixed-script content, confirming the layout is ready for publication.
2. Custom Font Validation
Graphic Designer- Background
- A designer needs to ensure a specific Hebrew font renders correctly in a PDF document.
- Problem
- The default system font does not support the required character set for the Hebrew text.
- How to Use
- Upload the specific Hebrew font file, input the text in the RTL field, and adjust the font size and line height to match the design specs.
- Outcome
- The generated PDF displays the Hebrew text with the custom font, allowing the designer to verify character shaping and spacing.
Try with Samples
pdf, text, fileRelated Hubs
FAQ
What is bidi reordering?
Bidi (bidirectional) reordering is the process of arranging text characters in the correct visual order when a document contains both left-to-right and right-to-left scripts.
Can I use my own fonts?
Yes, you can upload a custom TTF or OTF font file to ensure specific RTL scripts render correctly in your PDF preview.
Does this tool support mixed-direction text?
Yes, you can enable the 'Include Mixed Sample' option to see how the PDF engine handles lines containing both LTR and RTL characters.
What page sizes are supported?
The tool supports standard A4, Letter, and Legal page sizes for your layout testing.
How do I ensure the text aligns correctly?
You can use the Alignment dropdown to set the text to Left, Center, or Right, or select 'Auto' to let the tool determine the best fit based on the base direction.