Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hyphenation of words with hyphens not as expected #1988

Closed
1 task done
eiswurm opened this issue Feb 14, 2024 · 3 comments
Closed
1 task done

Hyphenation of words with hyphens not as expected #1988

eiswurm opened this issue Feb 14, 2024 · 3 comments

Comments

@eiswurm
Copy link

eiswurm commented Feb 14, 2024

Guidelines

Description of the bug

The hyphenation of words which are connected with a hyphen does not work as expected.

Original:
Schupfnudel-Gemüse-Pfanne

PDF:
Schupfnudel-Gemüse-P-
fanne

maybe this is related to #1831

mPDF version

8.2

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

8.2

Reproducible PHP+CSS+HTML snippet suffering by the error

language is set via $pdf->SHYlang = 'de';

@finwe
Copy link
Member

finwe commented Feb 14, 2024

The code example is not exactly reproducible by copy-paste, is it? Can you update it?

@eiswurm
Copy link
Author

eiswurm commented Feb 14, 2024

Sorry for that. We use mPDF as part of a cms bundle https://github.com/do-while/contao-mpdf-template-bundle. So the code is somehow different.

@finwe
Copy link
Member

finwe commented Mar 9, 2024

OK, closing, can reopen when a reproducible code example is added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants