Problem with some Unicode chars
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 11.2k
- Forks
- 1.8k
- PR merge metrics
- No merged PRs in 30d
Description
Hi there!
I'm using dompdf 0.7.0 and facing a problem with some Unicode chars. I want to use Arial font, so I have it loaded into dompdf. Most of the text looks nice, including some special chars like "greater-or-equal" ≥ and "less-or equal" ≤. But if falls with others, like the up and down arrows (↑ and ↓). Both are in Arial's char map. If I change the font to DejaVu Sans these chars are correctly rendered.
Any idea about what is happening?
Thanks!
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 files, tests, or entry points are named. Reproduce the Unicode arrow rendering issue in dompdf 0.7.0 with Arial and DejaVu Sans, then trace the font and glyph-rendering path; done means the up and down arrows render correctly with Arial.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100