Gamestudio Links
Zorro Links
Newest Posts
SGT_FW
by Aku_Aku. 11/30/26 08:19
Removing outliers from files
by JeyKey II. 11/29/26 10:01
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (JeyKey II, AndrewAMD, EvanTJ), 5,495 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 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