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

Load fonts from raw data on cairo backend #457

Open
JAicewizard opened this issue Jul 27, 2021 · 1 comment
Open

Load fonts from raw data on cairo backend #457

JAicewizard opened this issue Jul 27, 2021 · 1 comment
Labels
piet-cairo issue in the cairo backend

Comments

@JAicewizard
Copy link
Contributor

See https://stackoverflow.com/a/10846042/5799890 for a hacky solution
We can also write the font to a tmp file.

Tagging @ForLoveOfCats as they got their name on the note

@cmyr cmyr added the piet-cairo issue in the cairo backend label Aug 4, 2021
@khaledhosny
Copy link

The code in that link does not do much, the actual code that loads fonts in Pango is in a different file, but this blog post is a better description of what needs to be done http://mces.blogspot.com/2015/05/how-to-use-custom-application-fonts.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
piet-cairo issue in the cairo backend
Projects
None yet
Development

No branches or pull requests

3 participants