Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I know the actual printed fontsize in mm?
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01208283
Message ID:
01219685
Views:
15
>>>>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.

Naomi
Why not using a fixed font then?
Why do programs stop working correctly as soon as you leave the Fox?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform