CORRECTION
Maybe the point size is the number of pixels. I forgot that I was using a font size of 40 in this test which just about matches my calculated number of 39.38. I'm still not sure how to calculate the font size I need to use because I somehow need to account for word wrap and dropping of spaces to accommodate left justification, but I least I have a basis with which to start.
END OF CORRECTION
I have another question related to this discussion.
I would like to be able to allow my program to size the font so that a page of information comes close to filling the entire screen without overflowing it or leaving a huge amount of space unused.
Is there any way to do this?
I was trying to figure out exactly how wide a font would be, but I can't make sense of the numbers. Clearly, when we say that a font is a 16 pt. font that doesn't mean it's 16 pixels high or wide, does it?
As an example, if I run my program full screen, it is then running at a resolution of 2560 x 1440 (on my machine at least). I get 65 characters across on the screen and that works out to roughly 39.38 pixels width per character (and yes, that is monospaced).
Maybe the point size is the number of pixels. I forgot that I was using a font size of 40 in this test which just about matches my calculated number of 39.38. I'm still not sure how to calculate the font size I need to use because I somehow need to account for word wrap and dropping of spaces to accommodate left justification, but I least I have a basis with which to start.
END OF CORRECTION
I have another question related to this discussion.
I would like to be able to allow my program to size the font so that a page of information comes close to filling the entire screen without overflowing it or leaving a huge amount of space unused.
Is there any way to do this?
I was trying to figure out exactly how wide a font would be, but I can't make sense of the numbers. Clearly, when we say that a font is a 16 pt. font that doesn't mean it's 16 pixels high or wide, does it?
As an example, if I run my program full screen, it is then running at a resolution of 2560 x 1440 (on my machine at least). I get 65 characters across on the screen and that works out to roughly 39.38 pixels width per character (and yes, that is monospaced).