We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello fontkit!
I really appreciate this fantastic library and am excited to be building a multi-page document editor with it and canvas.
I, probably like other amateurs, have ran into some issues calculating the correct sizing and thus positioning of my characters.
Thankfully, all of my code is easily accessed here in a single React Hook: https://github.com/alexthegoodman/commonos/blob/feature/multi-page-docs/hooks/useCanvasRTE.ts
As you can see in getCharacterBoundingBox(), I must be calculating something incorrectly. Basically, my characters are off. See the attached image.
getCharacterBoundingBox()
Thank you for any assistance!
The text was updated successfully, but these errors were encountered:
It appears that I had loaded Inter as a font for fontkit, but was rendering some system font.
Feel free to delete this issue or keep it as reference for others! Thanks!
Sorry, something went wrong.
No branches or pull requests
Hello fontkit!
I really appreciate this fantastic library and am excited to be building a multi-page document editor with it and canvas.
I, probably like other amateurs, have ran into some issues calculating the correct sizing and thus positioning of my characters.
Thankfully, all of my code is easily accessed here in a single React Hook: https://github.com/alexthegoodman/commonos/blob/feature/multi-page-docs/hooks/useCanvasRTE.ts
As you can see in
getCharacterBoundingBox()
, I must be calculating something incorrectly. Basically, my characters are off. See the attached image.Thank you for any assistance!
The text was updated successfully, but these errors were encountered: