Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (NewbieZorro, TipmyPip, 1 invisible), 19,045 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
font character sizes #100772
12/03/06 06:18
12/03/06 06:18
Joined: Aug 2006
Posts: 128
Papua New Guinea
I
Impaler Offline OP
Member
Impaler  Offline OP
Member
I

Joined: Aug 2006
Posts: 128
Papua New Guinea
Hi everyone,
I am trying to include texts in my game, but I don't know how to find the size of each character in the font. The manual says the size is the hight in pixels including spaces between characters and the width in pixels with spaces
like this:
font standard_font = <panfont.pcx>,8,10;

(this is from the manual tutorial.) I have tried counting the pixels and it doesn't work. it says bad font size, or something. so is there any way I can find the real size without having to count individual pixels?


Murphey's Law:
<< if anything can go wrong, it will >>

(Murphey was an optimist).
Re: font character sizes [Re: Impaler] #100773
12/03/06 20:34
12/03/06 20:34
Joined: Sep 2006
Posts: 27
J
JayOkay Offline
Newbie
JayOkay  Offline
Newbie
J

Joined: Sep 2006
Posts: 27
I think not, but you can open the pcx and divide the height of the image with the number of characters in the height, and the same with the width. Or you can use true type fonts.


Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1