Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 06-26-2004, 08:15 PM   #1
Registered: Feb 2004
Location: Pakistan
Distribution: OpenSUSE 10.2
Posts: 241

Rep: Reputation: 30
Changing font size


Just wanted to know how to change the font size in C++ for a console. No X Server. Do we have to use ncurses, or is there any other way?

Old 06-27-2004, 07:54 AM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Font size on console it's a matter of user settings. The console your program runs on may be real - like alt+f1 or a terminal emulator like xterm, eterm and so on. The best way is to use ncurses or a similar library. Note: I've not seen a program that changes font in ncurses. I also don't remember an ncurses function to do it. But I may be wrong.
Old 06-27-2004, 10:54 PM   #3
Registered: Feb 2004
Location: Pakistan
Distribution: OpenSUSE 10.2
Posts: 241

Original Poster
Rep: Reputation: 30
Thought so. Thanks anyway.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing terminal font size rose_bud4201 Linux - General 4 05-26-2005 08:17 AM
changing the font size prasanta Linux - Newbie 1 04-20-2005 06:49 AM
changing the kde menu font size and background colours minm Linux - Newbie 1 02-25-2005 06:51 PM
KDE: Changing Font Size in Virtual Window Panel? oswald21 Linux - Software 0 06-12-2003 12:31 PM
Changing console font size frankietomatoes Linux - General 5 06-11-2003 11:31 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:20 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration