Firefox: VectorTextWidth() and VectorTextHeight() return NaN

Found an issue in SpiderBasic ? Please report it here !
Geert
Posts: 9
Joined: Sat Dec 26, 2015 10:17 am

Firefox: VectorTextWidth() and VectorTextHeight() return NaN

Post by Geert »

VectorTextWidth() and VectorTextHeight() return NaN with Firefox (on MacOS and Windows).
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()
User avatar
useful
Posts: 116
Joined: Tue Feb 25, 2014 1:15 pm

Re: Firefox: VectorTextWidth() and VectorTextHeight() return

Post by useful »

confirm
2B or not 2B = FF
Post Reply