Can't use SVG format files in PlayCanvas?

Can you use svg format files?

Hi @alpaK,

You can’t use svg files for textures or UI elements.

You can use them in any HTML you are loading on top of Playcanvas.

thank you

Hi !

Yes of course it’s possible but with a little cheating. You can use this website: https://icomoon.io/
it will allow you to transform your SVG file into a TTF font file that can be integrated in playcanvas

Good luck See ya !

B.R. Antoine From France

5 Likes

I was just looking at doing a font / ttf file to a SVG file because of https://github.com/playcanvas/engine/issues/2948 :joy: I guess I can’t win either way and stuck with certain fonts as png images only :disappointed_relieved:

1 Like

:rofl: :rofl: :rofl: :rofl: :rofl: