-
Notifications
You must be signed in to change notification settings - Fork 25
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
Layout is empty #16
Comments
Hmm, turns out I needed to call |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My code looks something like this, based on your code in https://github.com/dfrg/piet-gpu-text
I had to make a small modification to
font.rs
to compile on Linux sinceLibrary::default
is missing.For some reason the
layout
is always empty and contains no data. I'm not relying on any system paths and instead manually registering the font, then using the font family name returned byFontContext
.The text was updated successfully, but these errors were encountered: