Font size

Hello everyone,

My question is simple. Is there a way to print different sized text in console one after another, somethin like:

/command/
printf("Hello");
/command/
printf("I am");

where "Hello" and "I am" in different sizes.

I tried using textheight(), it didnt work. I have been searching on internet for 2 hours but still can't find anything. Please help.

I have 64-bit Windows on.
Yes, it is possible, but a terminal device is not designed to work with differing line heights. There are several options available to you, but in all cases it is more code and maintenance work than you really want.

If you are writing to the console, accept the console's limitations: all text is the same height.


As an alternate consideration, you can always do something with ASCII art:
│  │ ┌─── │    │    ┌──┐
├──┤ ├──  │    │    │  │
│  │ └─── └─── └─── └──┘
█ █ █▀ █  █  ██
█▀█ ██ █▄ █▄ ██
██  ██ ██████ ██     ██     ▄████▄
██▄▄██ ██▄▄▄  ██     ██     ██  ██
██▀▀██ ██▀▀▀  ██     ██     ██  ██
██  ██ ██████ ██████ ██████ ▀████▀

Etc.

Good luck!
Yea i figured i will have to do something like that.
Thanks non the less
Topic archived. No new replies allowed.