Replies: 1 comment
-
The only way I'm aware of is by making the font available to fontconfig, and then loading it in pango via the font description. You probably want to ask this at https://discourse.gnome.org as it's more about how to use pango in general. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i'm trying to load a custimized font, it's not a file but
static &[u8]
.it's a small font and only used for numbers.
but i can only manage to load it into
cairo::FontFace
withfreetype
but don't know how to use it withpango::Layout
:Beta Was this translation helpful? Give feedback.
All reactions