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

Adobe/typekit font renders too narrow #344

Open
mdemund-scpr opened this issue Oct 6, 2022 · 0 comments
Open

Adobe/typekit font renders too narrow #344

mdemund-scpr opened this issue Oct 6, 2022 · 0 comments

Comments

@mdemund-scpr
Copy link

I'm loading an Adobe (Typekit) font using the code below in a basic bar chart but it is rendering narrower than it should: when hovering over the bar and triggering the hover feature, the datalabel text expands to the proper font width. Any ideas why this is happening or how to fix?
I've verified that the font is loaded, and it's appearing fine in other elements of the chart.

const nudistaFontFace = new FontFace(
  "FontFamily Nudista",
  "url(https://use.typekit.net/ccq2xkx.css)"
);

Thank you.

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