Unable to write द्वितीय in PDF

Open
#1,882 6 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 5 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
12/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
php

Research direction

The payload names no files or tests, and its reproduction section says "Below" but contains no snippet, so the first step is to get a minimal PHP and HTML example and the font in use. Then render the Devanagari string द्वितीय and check how mPDF shapes Indic conjuncts and vowel signs. Done means the word appears correctly in the generated PDF. The issue is over 180 days stale and needs maintainer input on the expected approach.

Written by the indexing model from the issue text.

Description

bug/fix help wanted
Guidelines
Description of the bug

I am unable to write the hindi word द्वितीय in the PDF file generated by mpdf. When I am trying to display द्वितीय then it is being displayed as दिवतीय in the PDF file. So can any one help me to fix this issue so that I can correctly display the hindi word द्वितीय in the PDF file.

mPDF version

8.1.0

PHP Version and environment (server type, cli provider etc., enclosing libraries and their respective versions)

7.4

Reproducible PHP+CSS+HTML snippet suffering by the error

Below

Dominant language
PHP
Stars
4.7k
Forks
1.1k
Avg merge
6d 11h
Merged PRs (30d)
4

Getting set up

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.

More from mpdf/mpdf

All issues in mpdf/mpdf

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.