[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] How the get a font size
- To: pygame-users@xxxxxxxx
- Subject: [pygame] How the get a font size
- From: Luca <lucafbb@xxxxxxxxx>
- Date: Sun, 11 Jan 2009 15:17:21 +0100
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Sun, 11 Jan 2009 09:17:26 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=pcN1TWw7Ny4jhFd8r8AZa6aZxwcXCfwL9N6fcBOg+q8=; b=lB4VTmW+YdJXwavFGZOox3ZJXjEhzZikzZhpMojVSYJxt36v6jTYy8G9xcFz7HyG1f GSqP2v0jsOQvxRKg0NgB/Zx4ytRfXO7Fo+DeZU+jegnzo8M5v09pjG+flm1ml8v9YdqP B5OGpc2Gmq64dTgX4lR02vcf7obkPA4kU57/U=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=jE54a32iNv8QsWvrVDLPBS6PVCXoLNDuofk/fwvRz5rGrPksuXGEXiP8BoxIYEcDx1 kpl5rwJ2IxmhEmb3Mmg4feUklwRCPF8UOQ+cg2bQ1cy8O8ztpbC2VKxFofhfTSBcST3K IzvjtVtxgf81jJgv129IRrxTeUT+F4WNN+rMg=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hi all.
I'm looking at the Font class API's, but I found no way to get the
size of a given font.
When I create a new font like
f1 = pygame.font.Font("....", 12)
how can I get the size value (12) after the creation?
f1 DOT ???
Thanks!
--
-- luca