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

Accepted EULA with Cyrillic characters looks wrong #11175

Closed
2 tasks done
romannazarenko opened this issue May 20, 2022 · 5 comments
Closed
2 tasks done

Accepted EULA with Cyrillic characters looks wrong #11175

romannazarenko opened this issue May 20, 2022 · 5 comments
Labels
✋ bug Confirmed bug

Comments

@romannazarenko
Copy link

Debug mode

Describe the bug

If EULA or asset name has cyrillic characters, Accepted EULA.pdf contains ???? instead of text:

Reproduction steps

  1. checkout asset
  2. accept eula
  3. download accepted-eula-.pdf

Expected behavior

printable accepted EULA with Cyrillic characters

Screenshots

Capture

Snipe-IT Version

v6.0.1 build 7750 (gb2e7572fe)

Operating System

Cent OS 7

Web Server

Apache

PHP Version

7.4.19

Operating System

No response

Browser

No response

Version

No response

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

No response

Additional context

No response

@snipe snipe added the ✋ bug Confirmed bug label May 21, 2022
@snipe
Copy link
Owner

snipe commented May 21, 2022

Thanks for reporting this - can you give me some sample text I can test this with?

@romannazarenko
Copy link
Author

Thanks @snipe
Some generic russian text below:

съешь ещё этих мягких французских булок, да выпей чаю

Открытое акционерное общество (сокращенное наименование - ОАО именуемое в дальнейшем «Арендодатель», в лице Генерального директорадействующего на основании Устава, с одной стороны, и Федеральное государственное унитарное предприятие (сокращенное наименование ФГУП именуемое в дальнейшем «Арендатор», в лице Директора действующего на основании Устава, с другой стороны, совместно именуемые «Стороны», составили настоящий Акт о нижеследующим:

  1. Настоящий Акт приема-передачи удостоверяет то, ОАО передало, а ФГУП приняло в соответствии с условиями договорав количестве и комплекте, согласно Приложения № 1 к указанному Договору (далее – «Объекты»).

@Godmartinz
Copy link
Collaborator

dompdf/dompdf#1656 seems to be that dompdf just doesn't come with the font. (relatively simple solution in the attached thread)

@snipe
Copy link
Owner

snipe commented May 26, 2022

So, that shouldn't matter tho - otherwise we'd have to include every imaginable font.

@friendwnt
Copy link

image
Is there any solution to not displaying Chinese characters?

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

No branches or pull requests

4 participants