Non-installed fonts with Pango
- From: Eddie Hillenbrand <eh88 nau edu>
- To: gtk-i18n-list gnome org
- Subject: Non-installed fonts with Pango
- Date: Tue, 16 Jun 2009 11:09:09 -0700
How do you use a font that is not available on the system to layout
text with Pango? I basically want to load a font from a file.
I can do this with Cairo using FreeType routines, but there doesn't
appear to be a Pango equivalent to
cairo_ft_font_face_create_for_ft_face().
I have tried setting the font using cairo and not using
pango_layout_set_font_description() when I create the layout, but that
just displays text in the default serif font.
Thanks,
Eddie
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]