Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: i.measureText is not a function #2

Open
abow opened this issue Aug 8, 2022 · 3 comments
Open

Uncaught TypeError: i.measureText is not a function #2

abow opened this issue Aug 8, 2022 · 3 comments

Comments

@abow
Copy link

abow commented Aug 8, 2022

It looks like this might be the result of OffscreenCanvasRenderingContext2D not having a measureText function in Firefox. Here is the error message:

Uncaught TypeError: i.measureText is not a function
measureFont TextMetrics.js:590
measureText TextMetrics.js:104
updateText Text.js:147
get Text.js:558
LabeledProgressBar LabeledProgressBar.js:26
init LevelScreen.js:136
LevelScreen LevelScreen.js:8
newGame (index):169
init (index):148
(index):120

@abow
Copy link
Author

abow commented Aug 8, 2022

@brianrisk
Copy link
Owner

Hey, thanks for reporting this. What is your system? I'm Mac 10.15.7 with the latest Firefox and synthblast is loading

@abow
Copy link
Author

abow commented Aug 8, 2022

Windows 10 Pro
Nvidia Geforce GTX 960
Firefox 103.0.1 (64 bit)

It is working on my Windows 10 Home laptop that has an integrated GPU (same version of FF).

@brianrisk brianrisk changed the title Not loading in Firefox Uncaught TypeError: i.measureText is not a function Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants