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

Fontkit and Typescript #348

Open
StfBauer opened this issue Oct 16, 2024 · 0 comments
Open

Fontkit and Typescript #348

StfBauer opened this issue Oct 16, 2024 · 0 comments

Comments

@StfBauer
Copy link

Hi, I have a couple of issues with fontkit in typescript.

I have installed

npm i fontkit @types/fontkit

I impoted fontkit to typescript:

import * as fontkit from 'fontkit';

Issues like this:

image

Because of the missing typings I cannot access for example tables in the font despite it is loaded correctly in browser:

image

Any tips on that?

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