Increasing Font Size when printing to the screen

This is a discussion on Increasing Font Size when printing to the screen within the C++ Programming forums, part of the General Programming Boards category; Hello everyone, I was just wondering if there was some way I could increase font size to what my program ...

  1. #1
    Registered User
    Join Date
    Jun 2003
    Posts
    12

    Increasing Font Size when printing to the screen

    Hello everyone, I was just wondering if there was some way I could increase font size to what my program prints to the screen. For example, if someone could show me where to add the code or function in the "Hello World" program it would be very helpful!

    Thank you

    I'm using Dev-C++ Ver. 4.9.8.0 compiler.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,849
    And how are you printing "hello world" at the moment?
    A simple console program, or a more complicated GUI program
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    Jun 2003
    Posts
    12

    Forgot to mention that

    Its just a simple console program.

  4. #4
    Registered User
    Join Date
    Mar 2004
    Posts
    220
    If I remember my console properties correctly, the console is only able to display one font size. So changing this purely by the console is not possible. Since the console is made up of certain cells that hold the characters you want to display, in order to display a bigger font size you would have to make the cells bigger, and thus more memory must be reserved to display the characters on screen. I do not beleive console applications are capable of such things, but why would you want too?

    In any case you would have to go another route to display a larger size font, what route I am not sure at the moment. Maybe some more advanced programmers can shed light on this subject for you, because honestly I don't know that much.
    OS: Windows XP Pro CE
    IDE: VS .NET 2002
    Preferred Language: C++.

  5. #5
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,849
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  6. #6
    Registered User
    Join Date
    Jun 2003
    Posts
    12
    Thanks Salem, I'm gonna look into it. And thank you all for your help.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Adventures in labyrinth generation.
    By guesst in forum Game Programming
    Replies: 8
    Last Post: 10-12-2008, 02:30 PM
  2. Replies: 16
    Last Post: 11-23-2007, 01:48 PM
  3. Error with a vector
    By Tropicalia in forum C++ Programming
    Replies: 20
    Last Post: 09-28-2006, 08:45 PM
  4. An exercise in optimization
    By Prelude in forum Contests Board
    Replies: 10
    Last Post: 04-29-2005, 04:06 PM
  5. How do I make the font size smaller?
    By oobootsy1 in forum C# Programming
    Replies: 0
    Last Post: 02-24-2005, 10:34 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21