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

Reply
 
Thread Tools Display Modes
Old 10-11-2012, 12:50 PM   #1
Funkmaster5000
PRESS PLAY ON TAPE
 
Funkmaster5000's Avatar


 
Join Date: Jul 2009
Location: Weilmunster, Germany
Posts: 136
Default

Thanks for your replies!

The font is called "Fixedsys", which is, indeed, 8x8 pixels in standard size (and also a quite common one in ASCII Art, because it is regular).

I simply don't grasp the connection between font size and it's size in pixels. So font size 12 means 8x8 pixels; font size 24 equals 16x16? I don't think so...

I'm using Blitz3D, because I was quite advanced with QuickBasic, which unfortunatly became obsolete, because it's for DOS.
Funkmaster5000 is offline                         Send a private message to Funkmaster5000
Reply With Quote
Old 10-11-2012, 05:16 PM   #2
florianix
Abandonia nerd
 
florianix's Avatar


 
Join Date: Nov 2011
Location: ,
Posts: 72
Default

Quote:
Originally Posted by Funkmaster5000 View Post
Thanks for your replies!
The font is called "Fixedsys", which is, indeed, 8x8 pixels in standard size (and also a quite common one in ASCII Art, because it is regular).
So the distance between lines and chars (in pixels) is still missing...

Quote:
Originally Posted by Funkmaster5000 View Post
Thanks for your replies!
I simply don't grasp the connection between font size and it's size in pixels. So font size 12 means 8x8 pixels; font size 24 equals 16x16? I don't think so...
I think this is depending on the resolution (usually given in pixels per inch) of the display or printer.

That font size refers to "typographic points".

From http://en.wikipedia.org/wiki/Point_%28typography%29
(chapter "Current DTP point system"):

"The desktop publishing point (DTP point) is defined as 1/72 of the Anglo-Saxon compromise inch of 1959 (25.4 mm) which makes it 0.0138 inch or 0.3527 mm. Twelve points make up a pica, and six picas make an inch."

Long live the imperial units.

As a result, that gives the real size of the font on the display - independent of its pixel density.
florianix is offline                         Send a private message to florianix
Reply With Quote
Old 10-11-2012, 05:35 PM   #3
Funkmaster5000
PRESS PLAY ON TAPE
 
Funkmaster5000's Avatar


 
Join Date: Jul 2009
Location: Weilmunster, Germany
Posts: 136
Default

Quote:
Originally Posted by florianix View Post
So the distance between lines and chars (in pixels) is still missing...

"The desktop publishing point (DTP point) is defined as 1/72 of the Anglo-Saxon compromise inch of 1959 (25.4 mm) which makes it 0.0138 inch or 0.3527 mm. Twelve points make up a pica, and six picas make an inch."

Long live the imperial units.

As a result, that gives the real size of the font on the display - independent of its pixel density.
Holy...

What lines do you mean? I don't quite get it!
Funkmaster5000 is offline                         Send a private message to Funkmaster5000
Reply With Quote
Old 10-11-2012, 06:02 PM   #4
florianix
Abandonia nerd
 
florianix's Avatar


 
Join Date: Nov 2011
Location: ,
Posts: 72
Default

Quote:
Originally Posted by Funkmaster5000 View Post
Holy...

What lines do you mean? I don't quite get it!
With "So the distance between lines and chars (in pixels) is still missing..." I wanted to say:
Even if you know that the font is 8x8 pixels per letter - you still need to know the distance (in pixels) between two consecutive letters (horizontally) and the distance between two lines (vertically) in order to calculate the total height of some ASCII art comprising more than one column or row.

If there would be no additional few pixels between two lines, the letters of them would "stick together".

=>
  • vertical ASCII art size in pixels = (vertical number of pixels per letter * vertical number of letters) + (distance in pixels between two letters * (vertical number of letters -1) )
  • horizontal ASCII art size in pixels = (horizontal number of pixels per letter * horizontal number of letters) + (distance in pixels between two lines * (horizontal number of letters -1) )
florianix is offline                         Send a private message to florianix
Reply With Quote
Reply


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


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 08:35 PM (GMT)

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