# PDF RTL/LTR Support Tester (PDF双向文字测试)

Preview left-to-right and right-to-left text flow in PDF with bidi reordering

> Canonical page: https://elysiatools.com/en/tools/pdf-rtl-ltr-support

- **Category:** Document Tools

- **Keywords:** pdf, rtl, ltr, bidi, arabic, hebrew, direction, text, 双向, 排版

## Overview

Test bidirectional text flow by rendering LTR and RTL samples side by side.

**Features:**
- Bidi reordering with RTL detection or manual direction
- Alignment and spacing controls
- Optional guide lines to inspect layout
- Mixed-direction sample line

## Inputs

- **LTR Text** (textarea): Enter left-to-right text...
- **RTL Text** (textarea): أدخل نصًا من اليمين إلى اليسار...
- **Base Direction** (select)
- **Alignment** (select)
- **Font Size (pt)** (number)
- **Line Height** (number)
- **Page Size** (select)
- **Top Margin (pt)** (number)
- **Bottom Margin (pt)** (number)
- **Left Margin (pt)** (number)
- **Right Margin (pt)** (number)
- **Show Guides** (checkbox)
- **Include Mixed Sample** (checkbox)
- **Font File (Optional)** (file): Upload a font file for RTL 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

- Validating multilingual document templates for international business reports.
- Debugging text direction errors in automated PDF generation pipelines.
- Creating visual proofs for designers working with mixed-script typography.

## Frequently asked questions

### 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.

## Related tools

- [PDF Watermark Tool](https://elysiatools.com/en/tools/pdf-watermark-tool): Apply document-level or page-level text/shape watermarks with rotation and transparency
- [2026 PDF Calendar Designer](https://elysiatools.com/en/tools/pdf-2026-calendar-designer): Design and export stylish 2026 printable PDF calendars with bimonthly, quarterly, semiannual, or annual single-page layouts
- [PDF Diff](https://elysiatools.com/en/tools/pdf-diff): Compare two PDF documents page by page and highlight text differences
- [PDF Poster Maker](https://elysiatools.com/en/tools/pdf-poster-maker): Create poster/flyer PDF templates with headline, background image, gradients, and CTA button text
- [PDF to Text Advanced](https://elysiatools.com/en/tools/pdf-to-text-advanced): Advanced PDF to text converter with page selection, formatting options, and metadata extraction
- [Text File to PDF Converter - 文本文件转PDF转换器](https://elysiatools.com/en/tools/text-file-to-pdf-converter): Convert text files (.txt, .md, .csv, etc.) to PDF documents with customizable formatting and encoding support
- [PDF Deskew](https://elysiatools.com/en/tools/pdf-deskew): Automatically detect and correct skewed (tilted) PDF pages. Preserves text pages as searchable vector content and only rasterizes image pages (e.g. scans).
- [PDF Secure Redaction Sanitizer](https://elysiatools.com/en/tools/pdf-secure-redaction-sanitizer): Permanently remove PDF text and hidden page objects by rebuilding an image-only PDF.

## Samples

- [PDF Samples](https://elysiatools.com/en/samples/pdf-samples): Generated PDF samples from tools dated 2026-02-01 to 2026-02-10
- [Markdown Slide Deck Samples](https://elysiatools.com/en/samples/md-slide-deck-to-pdf): Remark/Marp style Markdown slide decks for testing PDF export layouts
- [Time Zone Workflow Scheduler ICS Samples](https://elysiatools.com/en/samples/time-zone-workflow-scheduler-ics-samples): ICS files generated in the same structure returned by the Time Zone Workflow Scheduler, with multiple VEVENT meeting candidates exported from overlap windows
- [Distributed Tracing Samples](https://elysiatools.com/en/samples/distributed-tracing-samples): Comprehensive distributed tracing examples using Jaeger, OpenTelemetry, and other modern observability tools for microservices architecture

## Related content

- [PDF Assembly, Layout, and Protection Tools](https://elysiatools.com/en/hubs/pdf-utility): Compare PDF page assembly, layout control, watermarking, stationery overlays, anonymization, password protection, and redaction helper tools in one hub.
- [Print-Ready PDF Layout and Publishing Workflow Tools](https://elysiatools.com/en/hubs/print-pdf-layout-workflows): Build print-ready PDFs from HTML, Markdown, or text with layout control, headers, footers, page numbering, TOC generation, and typography tuning in one hub.
- [Text Case, Encoding, and Normalization Conversion Tools](https://elysiatools.com/en/hubs/text-convert): Compare text case conversion, character-width conversion, encoding conversion, quoted-printable handling, and inline text normalization tools in one hub.
- [PDF Conversion and Document Export Tools](https://elysiatools.com/en/hubs/pdf-convert): Compare tools that convert documents, images, and structured extractions into or out of PDF in one hub for publishing, sharing, and downstream processing.
