Right-to-left documents

Arabic and Urdu documents. Page configuration in the DocStudio designer user guide.

DocStudio supports English, Arabic and Urdu, left to right and right to left.

Set up

  1. Select nothing and open the Page group.
  2. Set direction to rtl.
  3. Set locale to ar or ur so numbers and dates follow the language.
  4. Write your text. Bound values are isolated, so Latin names and numbers inside Arabic text stay readable.

What mirrors

With rtl text aligns to the right, rows run from right to left, tables put the first column on the right and logical spacing mirrors.

What does not mirror

Frames in a fixed region use the physical left and top, so a position means the same in both directions. The rulers are also physical.

Mixed directions

Use a section with direction: rtl inside an English document for an Arabic note. See Section.

Fonts

Arabic and Urdu need a font that has the letters. The PDF service embeds the fonts the host provides. See Font problems.

The designer itself

The designer interface supports right-to-left: panels, tabs and toolbar mirror when the host sets direction="rtl". Translations of the interface text are supplied by the host.

Limits

Exact Arabic and Urdu number formatting depends on the browser or Node version.