Change Font Size In Dev C++
The index of the font whose size is to be retrieved. This index is obtained by calling the GetCurrentConsoleFont function. Return value. If the function succeeds, the return value is a COORD structure that contains the width and height of each character in the. Print colored message with different fonts and sizes in C In C/C we can use graphics.h header file for creation of programs which uses graphical functions like creating different objects, setting the color of text, printing messages in different fonts and size, changing.
Hello all,
I need your help. I trying to change the font of texts displayed in the output of my program. I know that we can use settextstyle() for changing fonts. But there are only four types of fonts( GOTHIC, SANS SERIFF , TRIPLEX , DEFAULT) available. I want to use some other fonts like Lucida calligraphy and all other installed fonts in PC . Is there any way to do that? or should i change any thing in the header file graphics.h. I am using Turbo c++ .
Thanks all in advance!
- 4 Contributors
- forum 8 Replies
- 3,193 Views
- 6 Years Discussion Span
- commentLatest Postby afvLatest Post
WaltP2,905
Then you need to find some fonts compatible with Borland's graphics library. 3utools how to downgrade. Dev c++ windows 10.
Err i touched upon ita while back just forgot it XD.Im running vista but getting problems.
847 C:UsersChazz & BillDocumentsprogexercises.tictactoemain.cpp `HANDLE' undeclared (first use this function) |
848 C:UsersChazz & BillDocumentsprogexercises.tictactoemain.cpp `CONSOLE_FONT_INFOEX' undeclared (first use this function) |
849 C:UsersChazz & BillDocumentsprogexercises.tictactoemain.cpp `GetCurrentConsoleFontEx' undeclared (first use this function) |
852 C:UsersChazz & BillDocumentsprogexercises.tictactoemain.cpp `SetCurrentConsoleFontEx' undeclared (first use this function) |
Set Font Size
C++ Change Font Color
853 C:UsersChazz & BillDocumentsprogexercises.tictactoemain.cpp `SetConsoleTextAttribute' undeclared (first use this function) |
possible header file not included?
EDIT: upon including the <Wincon.h> header file (as suggested by google), i get LOADS if errors similar to:
60 C:Dev-CppincludeWincon.h `WCHAR' does not name a type 186 C:Dev-CppincludeWincon.h `WINAPI' does not name a type |
any ideas?