dompdf / dompdf/dompdf

Hebrew is mirrored next to numbers

Open
#1,079 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
11.2k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

Hello,
I am using dompdf to convert html page to PDF. The site is to create a PDF recipe book, in the ingredients field I enter the ingredient and the amount you should put but in Hebrew the letters next to the numbers are mirrored. Attached are the files with and without numbers in the ingredients section (recipedetails 6 is without numbers in the ingredients and the Hebrew is fine, whether in RecipeDetails there are numbers before the ingredients and the Hebrew is mirrored).
Looking forward for a solution.
RecipeDetails (6).pdf
RecipeDetails.pdf
pdfrecipe.txt
recipelist.txt

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the attached pdfrecipe.txt and recipelist.txt inputs, then compare RecipeDetails.pdf with RecipeDetails (6).pdf to reproduce the Hebrew ordering difference beside numbers. No source file or test is named; done means Hebrew text remains correctly ordered when numeric ingredients are present without breaking the case that already renders correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, php
Domain
backend, internationalization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.