Works fine with Chrome/Edge/Safari.
Code: Select all
Global Image,Font
Font=LoadFont(#PB_Any,"Arial",12)
Image=CreateImage(#PB_Any,500,500)
StartVectorDrawing(ImageVectorOutput(Image))
VectorFont(FontID(Font))
Debug VectorTextWidth("TEST")
Debug VectorTextHeight("TEST")
StopVectorDrawing()