dompdf / dompdf/dompdf

Problem with some Unicode chars

Open
#1,279 4 comments 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

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.