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

by Geert Sun Aug 02, 2020 8:56 am

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()
useful
 
Posts: 37
Joined: Tue Feb 25, 2014 1:15 pm

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

by useful Sun Aug 02, 2020 5:01 pm

confirm
2B or not 2B = FF
Return to Bugs Reports

Who is online

Users browsing this forum: No registered users and 2 guests