Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I know the actual printed fontsize in mm?
Message
 
 
À
25/03/2007 18:40:14
Dragan Nedeljkovich (En ligne)
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:
01219317
Vues:
14
>>I have more or less a problem similar to yours. I am rebuilding a Printed Voucher that needs to be issued only in one page, but includes a very big chung of letters in very small size. I managed to squeeze the whole thing in one page by using Arial Size 7, but now, after finishing it during many hours to have it fit, legals say the small letters should be at least 2mm high !@#!$
>
>You may try with Arial Narrow, that should fit more text horizontally while still being tall enough. I know I used it in some situations when it had to be squeezed yet readable.
>
>As for the calculation, you can try with a few FontMetric() measurements for a few fonts - that would give you measure in pixels or ens (or ems?), and then look at home()+"Tools\Filespec\90frx.frx" " - there's some info on what hpos, vpos, height and width in a .frx use for unit of measure.
>
>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.

Thanks again.
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