Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

10 years ago by mohd874

I am having a problem with drawing arabic font in impactjs. I created a font using the font tool with the last char as 1644. I checked the output image and it does contains the the proper characters. However, when I try to draw it using ig.Font, I get weird characters (like © and ø).

I added ##<meta charset="utf-8" />## to my html and my files are all utf-8 encoded. I check the other posts here but could not solve the issue.

Is there a way to draw the fonts properly?

Thank you

10 years ago by FelipeBudinich

Depending on your game resolution, it may be a better solution to use a BMFont generated with shoebox instead of the default impact font: https://gist.github.com/jessefreeman/5001810

Also, there's a tool called SpriteFont Builder, I just bought it so I can't tell if it's any good. I'll let you know later.
Page 1 of 1
« first « previous next › last »