Is there a function for changing the Screen Font and/or Size
on a CRT Mode Screen? I know you use SETMODE
to change the size of the whole screen, but can you change
the Font or FontSize without changing the whole screen?
I'm guessing the answer is NO, but hoping otherwise.
Thank you.
- Randy Howe
"Randy H." <soft...@charter.net> wrote in message
news:ZkRqm.49173$Y83....@newsfe21.iad...
> Anybody,
>
> Is there a function for changing the Screen Font and/or
> Size on a CRT Mode Screen?
Yes. You may be limited in the choice of font, and choosing a
larger / smaller font on either height or width... will change
the screen size..
> I know you use SETMODE to change the size of the
> whole screen, but can you change the Font or FontSize
> without changing the whole screen?
In general, no.
> I'm guessing the answer is NO, but hoping otherwise.
If you choose a font that is twice as tall, then cut the number
of rows in half, the net screen size height will be about the
same.
I believe one of the GT libraries does this. I think commercial
xHarbour implements most of Clipper Tools, which has several font
functions:
http://www.itlnet.net/programming/program/Reference/tools1-3/ng6e113.html
With What32, one or more of these functions should have been
implemented:
http://msdn.microsoft.com/en-us/library/aa302340.aspx#win32map_fontandtextfunctions
David A. Smith
If you're using GTWVT, you may use the following:
Hb_GtInfo( HB_GTI_FONTNAME , cFont )
Hb_GtInfo( HB_GTI_FONTWIDTH, nWidth )
Hb_GtInfo( HB_GTI_FONTSIZE , nHeight )
Regards,
Mario