Chinese displayed not normal

I am using docker deployed invoiceninja v5 wiht tag:latest and working fine, but chinese characeter not display normal and

by referring to Invoice displays "glyph not found" character instead of Chinese characters - #3 by david

and Unable to display chinese word

Does now lates docker image already support Chinese? and why still same issue?

Hi,

@david can you please advise?

You may want to try using SnapPDF (it will enable the PDF to be generated locally on the server) but hosted_ninja will continue to work.

Feel free to create an issue on GitHub to request a change in the app.

1 Like

Just want to confirm, does only snapPDF can be gerenrated locally pdf files on my server? if yes, how can I upgrade snappdf to support more languages like Chinese? specially for self hosted docker invoiceninja?

I have did some research but nothing founded, that’s why I am asking you for the some hints?

I also have another question, for docker self-hosted email, it’s need change setting in env file or from setting-email setting area?

I am now fail to send email because I have my own email server, it’s based on mailcow and working fine for other application.

There’s info about SnapPDF here:

Are there any errors about the failed email?

Hillel thank you so much for the Snappdf , I am not familiar with Laravel but I will try fix it.

I have do a quickly glance at snappdf on github, they have suggesting spatie, it’s really difficult to me that integrated this browser into invoiceninja, and when I reading GitHub - beganovich/snappdf: Convert webpages or HTML into the PDF file using Chromium-powered browsers. it’s also difficultly located how to install required languages, would you please give me some hints?

like from GitHub - beganovich/snappdf: Convert webpages or HTML into the PDF file using Chromium-powered browsers.
"
Downloading local Chromium
snappdf can download & use local revision of Chromium. To achieve that, you can use:
./vendor/bin/snappdf download"

I enter docker by docker exec -it invoiceninja sh but can’t do anything inside of this docker, how can enable download snappdf from docker?

about errors of email failed, from screenshot I thought host may need open ipv4 forwarding, I will do some research try to fix it.

thank you , I enter into container and runing ./vendor/bin/snappdf download

it’s downloading now but speed is very slow, I will keep my laptop on whole night to see what’s happen.