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

Use a custom font,the bounding box not wrap this custom font #6432

Closed
rechardlc opened this issue Jul 3, 2020 · 5 comments
Closed

Use a custom font,the bounding box not wrap this custom font #6432

rechardlc opened this issue Jul 3, 2020 · 5 comments

Comments

@rechardlc
Copy link

Version

3.6.3

Information about environment

Chrome browser

Result:
image

Can you give me advice ? thanks

@asturur
Copy link
Member

asturur commented Jul 4, 2020

True. And we can't do much about it, the text measurement are not great for height, there are some advanced font metrics but are not available at all for ie11.
So as soon as we can drop ie11 support we can improve this.

duplicate of #1108

@indaneey
Copy link

I have the same issue, please is there any why to solve it? Thanks

@asturur
Copy link
Member

asturur commented Jan 9, 2022

We cannot solve it for now.

@asturur
Copy link
Member

asturur commented Jan 9, 2022

For long font ascend and descent, there is no solution right now.
If you are loading the fonts correctly, very few fonts will be be out of the bounding box

@Shmacked
Copy link

Shmacked commented Nov 9, 2023

For long font ascend and descent, there is no solution right now. If you are loading the fonts correctly, very few fonts will be be out of the bounding box

@asturur does opentype.js not supply enough information to fix that? I couldn't find anything on the browser compatibility of opentype.js, so I don't know if the limitation on ie11 was opentype or something else.

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

4 participants