Re: rotated chinese text

On 09/14/10 12:49, Travis Griggs wrote:
> I'm trying to reproduce something like the text shown on Behdad's blog here:
> The last picture. But... I can't seem to get it work. I tried rotating
> the cairo context by 90, and setting the pango context gravity to east.
> I'm wondering if I need to use the APIs that get the cr to create the
> layout, rather than the current way of getting the font map and creating
> from that?

As long as you do a pango_cairo_update_layout() with the rotated cairo_t you
should be fine.


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