Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bold text
Message
 
 
To
07/03/2001 11:18:55
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00482730
Message ID:
00482798
Views:
9
>Don't really know which section to put this under...
>
>Just something I found out about which I thought people might find interesting.
>
>Do the following in the command window
>
>_screen.fontbold = .F.
>? _screen.textwidth('HELLO')
>_screen.fontbold = .T.
>? _screen.textwidth('HELLO')
>
>I always assumed that bold text would be wider than normal text?
>
>Eh?

Will,
Bold text is normally wider than normal text but not always. It has to do with how each letter was implemented in the font. You happened to pick a word where the bold letter is thinner than the corresponding normal letter. In this case both the H and E are thinner.

Try some other words or singular letters to find out the differences. :-)
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform