Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fontmetric()
Message
De
06/04/2008 13:14:30
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01308541
Message ID:
01308552
Vues:
14
Hi Naomi,

This does not appear to help me. My screen is set to the default of 96 dpi. What does FONTMETRIC(7) give me? Max width of char in pixels? Why does a fontsize of 15 give a width in pixels of 53?

Jos



>>Hi All
>>
>>Related to my other post on fitting text within a label caption. I am looking at FONTMETRIC(). Why does FONTMETRIC return;
>>
>>
>>? FONTMETRIC( 7, "Arial", 15 )  && returns 53
>>? FONTMETRIC( 1, "Arial", 15 )  && returns 23
>>
>>
>>A letter in Arial font-size 15 is not 53 pixels wide or 23 pixels high, surely? What am I missing (besides my mind)?
>
>See http://spacefold.com/colin/posts/2005/12-01FONTMETRICandScreenD.html
>
>and
>
>http://msdn2.microsoft.com/en-us/library/fhfdf28k(VS.80).aspx
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform