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

Multibyte characters in in visuals get garbled for pdf/png report #154

Closed
Tracked by #162
zhongnansu opened this issue Sep 13, 2021 · 3 comments
Closed
Tracked by #162
Assignees
Labels
enhancement New feature or request

Comments

@zhongnansu
Copy link
Member

zhongnansu commented Sep 13, 2021

I used these characters for test and found that this may occurs when using more than 3-bytes (UTF-8 encoding) characters. These characters look nice through when using browser.

2 bytes - ÁÂÃÄ
3 bytes - あいうえお
4 bytes - 🀀🀁🀂🀃

  • Browser
    image

  • Reports:
    image

image

Also chinsese characters have the same issue.

@zhongnansu zhongnansu added the enhancement New feature or request label Sep 17, 2021
@zhongnansu
Copy link
Member Author

zhongnansu commented Sep 23, 2021

@joshuali925 I remember you said this may be related to fonts lib used in Chromium? Could you share a bit more details

Is this issue also related? #69

@joshuali925
Copy link
Member

If the server does not have corresponding fonts installed, chromium won't be able to render them and they'll look like empty rectangles. #69 is the same issue and can be fixed by sudo yum install -y google-noto-emoji-color-fonts.noarch on centos for example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants