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

TypeError: 'get' on proxy: property '_layoutEngine' is a read-only and non-configurable data property on the proxy target but the proxy did not return its actual value (expected '#<LayoutEngine2>' but got '#<LayoutEngine2>') #2782

Open
SleepyAsh0191 opened this issue Sep 9, 2024 · 0 comments

Comments

@SleepyAsh0191
Copy link

Uncaught (in promise) TypeError: 'get' on proxy: property '_layoutEngine' is a read-only and non-configurable data property on the proxy target but the proxy did not return its actual value (expected '#<LayoutEngine2>' but got '#<LayoutEngine2>')
    at Proxy.layout (index.js:11603:1)
    at Proxy.layoutRun (embedded.js:32:27)
    at Proxy.layoutCached (embedded.js:56:22)
    at Proxy.layout (embedded.js:81:26)
    at Proxy.widthOfString (embedded.js:118:24)
    at widthOfString (textTools.js:370:1)
    at TextTools.widthOfString (textTools.js:118:1)
    at LayoutBuilder.buildNextLine (layoutBuilder.js:804:1)
    at LayoutBuilder.processLeaf (layoutBuilder.js:714:1)
    at layoutBuilder.js:403:1

image
when i'm using Simsun.ttf for unicode text

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

1 participant