working with FONTS using c++

This is a discussion on working with FONTS using c++ within the C++ Programming forums, part of the General Programming Boards category; can someone tell me, where i can find details bout "Working with fonts using c++" on net...

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    4

    Question working with FONTS using c++

    can someone tell me, where i can find details bout "Working with fonts using c++" on net

  2. #2
    eh ya hoser, got a beer? stumon's Avatar
    Join Date
    Feb 2003
    Posts
    323
    What type of project are you working on. Dos console or Windows console?
    The keyboard is the standard device used to cause computer errors!

  3. #3
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    Or UNIX or Mac?

    Fonts are something OS-specific.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  4. #4
    Registered User
    Join Date
    Jan 2002
    Posts
    4
    i m doing project on DOS environment

  5. #5
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    Console or Graphics (Int13h) mode?

    In console I believe you can't do anything.

    In graphics you have all control because you draw yourself. If you want to do that I can give you some theory.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  6. #6
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398
    I don't have the answer either, but I can tell you why you're not getting a straight answer!

    There is not a standard way of changing fonts. The ANSI / ISO C++ standard only covers limited I/O: Text-in from the keyboard, text-out to a display, access to a storage device...

    This also means that there are no standard graphics, sound, or mouse input.

    This means if and how you can do this stuff depends on your hardware, compiler, and operating system.

    So whenever you post a question about these topics, you need to tell us what system you are using.

    Also FYI - A Windows Console Application looks like DOS, but is different internally, and won't run if you've booted in true-DOS. I'm pretty sure that there is a WinAPI function for changing the console fonts... but I don't have it at hand.

  7. #7
    Registered User
    Join Date
    Jan 2002
    Posts
    4
    Thanx DougDbug

  8. #8
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    I think there might be something about it on Adrianxw's site:

    http://www.adrianxw.dk/
    Away.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Trying to eject D drive using code, but not working... :(
    By snowfrog in forum C++ Programming
    Replies: 3
    Last Post: 05-07-2005, 08:47 PM
  2. x on upper right corner not working
    By caduardo21 in forum Windows Programming
    Replies: 1
    Last Post: 02-20-2005, 08:35 PM
  3. Question about fonts and printing
    By Gravedigga in forum Windows Programming
    Replies: 1
    Last Post: 10-17-2004, 09:54 AM
  4. How to create a working font box?
    By Michty in forum Windows Programming
    Replies: 2
    Last Post: 03-27-2004, 02:05 PM
  5. cygwin -> unix , my code not working properly ;(
    By CyC|OpS in forum C Programming
    Replies: 4
    Last Post: 05-18-2002, 05:08 AM

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