Intervention / Intervention/image
Persian text results in reversed order of lines when using `wrap()`
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 14.4k
- Forks
- 1.5k
- Avg merge
- 17h 51m
- Merged PRs (30d)
- 11
Description
Hello, I checked that in Farsi language, it reverses the text when warping
Its correct form should be as below
من
سبحان قادری
نسب هستم
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
Start by reproducing the issue with wrap() and the Persian sample shown in the report, then trace the text-wrapping and rendering entry point. Compare the generated line order with the expected three lines; done means Persian text is rendered in the reported order without regressing other wrapped text.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- internationalization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100