can someone tell me, where i can find details bout "Working with fonts using c++" on net
Printable View
can someone tell me, where i can find details bout "Working with fonts using c++" on net
What type of project are you working on. Dos console or Windows console?
Or UNIX or Mac?
Fonts are something OS-specific.
i m doing project on DOS environment
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.
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.
Thanx DougDbug
I think there might be something about it on Adrianxw's site:
http://www.adrianxw.dk/