is it possible to use ttf fonts in console applications?
You can change the Console font in the registry :-
Hive: HKEY_CURRENT_USER
Key: Console
Name: FaceName
Type: REG_SZ
Value: put the name of the font here, it must be installed on the system.
needs to use ttf chess font for console program can i use it ? can i change console font programmatically?
Not sure if that works on later editions of windows?
There's some very specific requirements that must be met; somewhere there is a link to a MSDN article that lists them. Generally, only 'console-like' fonts can be used (fixed space, etc). I like DejaVu Sans Mono, personally.
-r
http://blogs.msdn.com/b/oldnewthing/archive/2007/05/16/2659903.aspx
so chess ttf fonts is impossible to use?
You would have to check the font itself for it's criteria, against the list here. My first instinct would be to say it's not possible
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q247815
but is it possible to use images in console apps then?
The console is for text mode; emphasis on 'text'. Why not just write your chess game the real way?
there's a very complucated way of creating a window(
Quote from: topspin on January 21, 2011, 05:45:56 PM
there's a very complucated way of creating a window(
the use something simple like SDL to create the window :U
japheth has converted the header files to inc. use them in conjunction with japheths WinInc files
http://www.japheth.de/
some tutorials for using SDL. they are C tutorials but its simple to extrapolate
http://lazyfoo.net/SDL_tutorials/index.php