Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I know the actual printed fontsize in mm?
Message
 
 
À
24/04/2007 13:11:24
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01208283
Message ID:
01219439
Vues:
11
>>>OK, found it - these numbers are in 1/10000ths of an inch. You can do the math from there.
>>
>>Hi Dragan,
>>
>>I've tried Arial Narrow, but for numbers I need non-proportional font, since all the amounts are actually in one string. What would be your suggestion? I guess, if it's non-proportional, it can not be narrower.
>
>Once upon a time all the digits and the space, in any font, were supposed to have a fixed width, so even proportional fonts would line up the amounts properly. Recently, I've discovered that this is not a case anymore - try this:
>
_screen.FontName="Tahoma"
>?PADL(132423,44)
>?PADL(132,44)
>_screen.FontName="Times New Roman"
>?PADL(132423,44)
>?PADL(132,44)
>?PADL(132,44,"0")
>and you'll see. Maybe Lucida Console - still looks good at smaller font sizes, although it isn't as narrow as we'd wish.

That's what I tried, but bold and normal fonts are not aligned :( Still looking for the ideas.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform