Re: Hacktext availability



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Jody,

> There are two simple approaches.
> 1) Use the existing affine support in gnomecanvas to rotate the
>    text.  It's not perfect but it works.

     Hmmm.  When I tried this before, it rotated the position of the
character only, but not the character itself.  This is what prompted me to
look for other solutions, and eventually to Hacktext.  Maybe the problem
has been fixed since.

> 2) Use the new pango-1.8 level apis
>     pango_context_get_matrix (context);
>     pango_matrix_rotate (&rotmat, rv->rotation);
>     pango_context_set_matrix (context, &rotmat);
> in gnomecanvas.

     OK, I will give this a try.  Thanks for bringing it to my attention.

> Drop by #gnumeric on irc.gnome.org some time.

     Will do!

Sincerely,
Tom
- --
Thomas J. Duck <tomduck fizz phys dal ca>

  Department of Physics and Atmospheric Science, Dalhousie University,
    Halifax, Nova Scotia, Canada, B3H 3J5.
  Tel: (902)494-1456 | Fax: (902)494-5191 | Lab: (902)494-3813
  Web: http://aolab.phys.dal.ca/~tomduck/
  Public key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x17D965DB
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCH2AWndxDHhfZZdsRAjrpAJoDV+HzCpr7A3HIdXvOHxP7xsbURgCfZal1
9Nc+knYGmV9QcGzhTpymKPM=
=KnTm
-----END PGP SIGNATURE-----




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