Re: rotated chinese text
- From: Behdad Esfahbod <behdad behdad org>
- To: Travis Griggs <travisgriggs gmail com>
- Cc: pango maillist <gtk-i18n-list gnome org>
- Subject: Re: rotated chinese text
- Date: Tue, 14 Sep 2010 13:37:18 -0400
On 09/14/10 12:49, Travis Griggs wrote:
> I'm trying to reproduce something like the text shown on Behdad's blog here:
>
> http://mces.blogspot.com/2007/05/advanced-opentype-features-in-pango.html
>
> 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.
behdad
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]