nextcloud / nextcloud/richdocuments
Eastern Arabic numerals (٠–٩) render incorrectly in Collabora Online
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 453
- Forks
- 147
- Avg merge
- 14h 54m
- Merged PRs (30d)
- 83
Description
Describe the Bug
Eastern Arabic numerals (٠، ١، ٢، ٣، ٤، ٥، ٦، ٧، ٨، ٩) do not render correctly in documents opened via Collabora Online. The numerals either appear as Western Arabic numerals (0–9), render inconsistently, or lose their expected glyph shaping, resulting in incorrect visual representation for Arabic content.
Steps to Reproduce
- Open Nextcloud.
- Create or upload a DOCX or ODT document containing Eastern Arabic numerals (e.g. "١٢٣٤٥٦٧٨٩٠") with Arabic text.
- Open the document using Collabora Online.
- Observe the rendering of the Eastern Arabic numerals in the document.
Expected Behavior
Eastern Arabic numerals should render correctly using their proper glyphs (٠–٩), consistently and accurately, matching how they appear in desktop LibreOffice and Microsoft Word.
Actual Behavior
Eastern Arabic numerals render incorrectly:
- In some cases, they appear as Western numerals (0–9).
- In other cases, the glyphs are misaligned or visually incorrect.
- The rendering does not match LibreOffice desktop or Microsoft Word behavior.
Screenshots
Screenshots can be provided comparing:
- Rendering in Collabora Online
Desktop
(Please complete the following information)
- Collabora Office version:
COOLWSD version: 25.04.8.1 (git hash: 278cb3481b)
LOKit version: Collabora Office 25.04.8.1 (git hash: 489cb5d73b) - OS and version: Windows 10 / Windows 11
- Browser and version: Google Chrome (latest) / Microsoft Edge (latest)
Additional Context
-
Issue occurs when documents are served via:
- WOPI host: Nextcloud 32.0.4.1
- Nextcloud app: richdocuments 9.0.2
-
The same document renders correctly in:
- LibreOffice Desktop
- Microsoft Word
-
This issue impacts Arabic-language documents and official documents that require correct numeral localization.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is identified. Reproduce the issue with the provided DOCX or ODT steps through Nextcloud and Collabora Online, then compare the Eastern Arabic numeral rendering with LibreOffice Desktop and Microsoft Word. Done means the numerals consistently retain their proper glyphs and alignment in Arabic documents.
Written by the indexing model from the issue text.
Assessment
- Domain
- localization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100