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

Getting different results from different browsers on same machine #1

Open
mattbrailsford opened this issue Mar 3, 2017 · 5 comments

Comments

@mattbrailsford
Copy link

Running in Chrome and Firefox on Windows 10, I'm getting a different results across different browsers. Specifically, on Chrome "Sundanese" is detected, but in Firefox it's not.

@mattbrailsford
Copy link
Author

Increasing the fontsize to 201 seemed to resolve the issue for me.

@mattbrailsford
Copy link
Author

I had to switch it to use span and inline CSS though as well to make it work

"<span style = 'font-family:" + this.fontFace + "; font-size:" + this.fontSize + "px;'>&#" + c + "</span>";

@Song-Li
Copy link
Owner

Song-Li commented Mar 3, 2017 via email

@jerrypy
Copy link

jerrypy commented Jul 19, 2017

Using canvas, the results are also different in different browsers. @Song-Li

image

FYI:
macOS 10.12.4
Google Chrome 59.0.3071.115
Firefox 54.0.1
Safari 10.1

@Song-Li
Copy link
Owner

Song-Li commented Jul 19, 2017

@jerrypy Very interesting. If so, Safari may have its own writing scripts. I'll check this problem. Do you have any suggestions?

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

3 participants