Quote:
Originally Posted by Funkmaster5000
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) )