Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


windows fonts for a console

This topic is 5471 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I''m pretty sick of having to recompile everytime I need to modify a variable, so I''m implementing a console for my engine, I have a couple of questions: 1. I''ll use one of Windows fonts along with wglUseFontBitmaps, to make my life easier, I''ll use a font with fixed character width, will Courier work for me? (I''m open to suggestions) 2. CreateFont first 2 variables are height and width according to MSDN, how to convert them into pixel width and height? (to be used for calculations to align words/lines correctly) thanks in advance.

Share this post

Link to post
Share on other sites
Courier New is a fixed point font I believe; basically what that means is that yeah it will work for you in a console, it also makes it a world easier if you ever want to line something up.

Not sure about CreateFont tho... I stink at windows API.


Compiler error; line 14:
blackstone.evil = false;

Does this mean I AM evil?

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!