Re: text width

Alex Roitman <[email protected]> Sat, 20 Aug 2005 13:20:10 -0500
Newsgroups gmane.comp.gnome.print
Message-ID <[email protected]>
--===============1514332159==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="k+w/mQv8wyuph6w0"
Content-Disposition: inline


--k+w/mQv8wyuph6w0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Aug 20, 2005 at 10:03:48AM -0700, Alexander Kresin wrote:
>=20
>  could someone advise me how to determine the width of
> a text string with a selected font ?

    font.get_width_utf8(text)

where font is the gnomeprint.Font instance.

Alex

--=20
Alexander Roitman   http://ebner.neuroscience.umn.edu/people/alex.html
Dept. of Neuroscience, Lions Research Building
2001 6th Street SE, Minneapolis, MN  55455
Tel (612) 625-7566   FAX (612) 626-9201

--k+w/mQv8wyuph6w0
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDB3Ra/4Mm4cNxJ9MRAvjlAKCbAkZ0JysLUBnmB4+n1HjCgTyFpQCfUV1D
SPhCqWO1ukzD82UJxddot2g=
=GVO+
-----END PGP SIGNATURE-----

--k+w/mQv8wyuph6w0--

--===============1514332159==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
gnome-print-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-print-list

--===============1514332159==--