-
-
Notifications
You must be signed in to change notification settings - Fork 760
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
Doesn't support Chinese? #419
Comments
@kreja I wanna print Chinese too , do you have any idea? thx |
If one of you can provide me with one I can verify if it works |
hi I used a Chinese character font but it doesn't work.. There's no err msg but no text is printed out. Here is the font: Thanks so much for your help! |
@tina1998612 |
中文字体现在怎么处理? |
+1 |
+1 |
+1 |
+1 |
@tina1998612 Hi, I've downloaded your zip file and tested, maybe the reason that you didn't see printed text is that the color of your font is white! |
PingFang_24_BLACK_CHINESE3500.zip just make a PingFang font with black words and support chinese. including 3500 commonly used Chinese characters , Hope be helpful. const image = await Jimp.read("http://xxx.png");
const font = await Jimp.loadFont('PingFang_24_BLACK.fnt');
image.print(font, 0, 0, "长按观看视频");
await image.writeAsync('./new.png'); or if you want make your own font:
|
|
hello good sir can you help me with a japanese font, itried using noto sans from google fonts but im still getting "???" |
I can print English words on images but doesn't work with Chinese.
The text was updated successfully, but these errors were encountered: