Re: [cairo] Pango font thickness



On Sat, Feb 6, 2010 at 6:08 PM,  <mpsuzuki hiroshima-u ac jp> wrote:
> Hi,
>
> I'm unfamiliar with APIs of cairomm, but I guess there might
> be some "show" like operator that renders the font strictly.
> Please search for it, or tune the width of line to thin.

Thanks! Replacing
pangoLayout->add_to_cairo_context(cr);
with
pangoLayout->show_in_cairo_context( cr );
fixed it for me. Still weird that the couple of examples I found all
used the add_to_cairo_context method.

Cheers, Edder


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]