Replies: 3 comments
-
|
The minified code you mention is built from the source code at and is the same for both the web app version and the integration version, and is a fallback when fontBoundingBoxAscent is not supported on the environment. So it seems that in your case the browser supports it (and hence using the actual line height) and the integration environment doesn't (and thus fallback to 1.5). Things to consider which I am not sure for now:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Changed to 1.15 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
When I started to use Integrations, I found my Text Labels were visually "falling apart".
I found the relevant code fragment in the minified rayOptics.js. I recommend to change
t.fontBoundingBoxAscent?s+=t.fontBoundingBoxAscent+t.fontBoundingBoxDescent:s+=1.5*this.fontSizeto
t.fontBoundingBoxAscent?s+=t.fontBoundingBoxAscent+t.fontBoundingBoxDescent:s+=1.15*this.fontSizeBeta Was this translation helpful? Give feedback.
All reactions