Go Back   Forums > Community Chatterbox > Tech Corner
Memberlist Forum Rules Search Today's Posts Mark Forums Read
Search Forums:
Click here to use Advanced Search

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 10-11-2012, 09:14 AM   #1
Funkmaster5000
PRESS PLAY ON TAPE
 
Funkmaster5000's Avatar


 
Join Date: Jul 2009
Location: Weilmunster, Germany
Posts: 136
Default Font Pixelsize - Without counting?

Hey guys!

I'm currently working on a game, that involves ASCII Art. In the background I want to have my engine that does the math stuff: collisions, position changes etc.

Of course, the images (texts) differ in size (not in font size: number of chars), but use the same font.

Now I need to know how large a character is in pixels at a certain font size, so that I can define one constant to calculate with. I want to achieve that without counting the pixels manually on screen. Is there a formula or maybe information stored somewhere at the font data? Its Fixedsys.

I haven't found anything on the net so far.

Thanks in advance!
Funkmaster5000 is offline                         Send a private message to Funkmaster5000
Reply With Quote
 


Similar Threads
Thread Thread Starter Forum Replies Last Post
Final Fantasy: Endless Nova Font Issues sjdswanlund Troubleshooting 2 01-04-2009 02:10 PM
Rpg Maker 2000 Font Problem Emily Troubleshooting 2 04-02-2007 03:25 PM
Dosbox Font MrBackAlleySka Tech Corner 0 29-03-2005 11:48 PM
Font Sites JJXB Tech Corner 2 01-01-2005 09:37 PM
Download Counting Omuletzu Old Suggestions 21 25-08-2004 09:48 PM

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump
 


The current time is 03:25 AM (GMT)

 
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.