Picture property google font

I could use google fonts into canvas Drawtext but I can’t into Picture property

Google Fonts will load on the browser side, and in Web 2.0 Canvas is now browser side so you see it working. To use the fonts with server side Picture you’ll need to install the fonts on the server.

1 Like

The font is install on the server and doesn’t work

dim vPic as new Picture(g.Width, g.Height)

vPic.Graphics.FontName = “Orbitron”
vPic.Graphics.FontSize = 36
vPic.Graphics.DrawText(“Allo les enfants de la terre qui se multiplie”,0,100,g.Width)

g.DrawPicture(vPic,0,0)

Thanks