Re: How to create a PangoCairoFontMap?
- From: Behdad Esfahbod <behdad behdad org>
- To: Cosmin Humeniuc <cosmin mandrivausers ro>
- Cc: gtk-i18n-list gnome org
- Subject: Re: How to create a PangoCairoFontMap?
- Date: Sun, 09 Dec 2007 19:16:37 -0500
On Fri, 2007-12-07 at 11:48 +0200, Cosmin Humeniuc wrote:
> Hello,
Hi,
> I need to render some unantialiased text with pangocairo. The
> pango_cairo_context_set_font_options function would do just fine, but
> I'm not sure how to get a PangoContext for the first argument. The
> pango_cairo_font_map_create_context would need a PangoCairoFontMap,
> and I could only find functions that create PangoFontMap structures.
>
> Does anyone know how to create a PangoCairoFontMap?
Use pango_cairo_font_map_get_default().
> Thanks,
> Cosmin
--
behdad
http://behdad.org/
...very few phenomena can pull someone out of Deep Hack Mode, with two
noted exceptions: being struck by lightning, or worse, your *computer*
being struck by lightning. -- Matt Welsh
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]