File Output Font Control

I am trying to create a program that will create a randomly generated eye-sight chart. I understand how to write to the file, i just don;t know how to change the font size of the text for each line. I just need to know how, if it is possible to control this quality of the output to a file.

Thank you in advance
Is it about GUI Programming?
If you need to set a specific font for the output you need to use .rtf or word file format.
For .rtf to can try https://sourceforge.net/projects/librtf/
Topic archived. No new replies allowed.