Categories

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

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

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

Click to upload file or drag and drop file here

Maximum file size: 10MB Supported formats: font/ttf, font/otf, application/x-font-ttf, application/x-font-opentype, application/octet-stream

API Documentation

Request Endpoint

POST /en/api/tools/pdf-rtl-ltr-support

Request Parameters

Parameter Name Type Required Description
ltrText textarea Yes -
rtlText textarea Yes -
baseDirection select No -
alignment select No -
fontSize number No -
lineHeight number No -
pageSize select No -
marginTop number No -
marginBottom number No -
marginLeft number No -
marginRight number No -
showGuides checkbox No -
includeMixedSample checkbox No -
fontFile file (Upload required) No -

File type parameters need to be uploaded first via POST /upload/pdf-rtl-ltr-support to get filePath, then pass filePath to the corresponding file field.

Response Format

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
File: File

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-pdf-rtl-ltr-support": {
      "name": "pdf-rtl-ltr-support",
      "description": "Preview left-to-right and right-to-left text flow in PDF with bidi reordering",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=pdf-rtl-ltr-support",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

Supports URL file links or Base64 encoding for file parameters.

If you encounter any issues, please contact us at [email protected]