Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bold text
Message
 
 
À
07/03/2001 11:18:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00482730
Message ID:
00482798
Vues:
10
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform