Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine if font is proportional or fixed?
Message
From
08/06/2006 11:14:23
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
08/06/2006 11:03:57
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01127841
Message ID:
01127850
Views:
18
>Is there a VFP function to tell me if a specified font is proportional or fixed pitch? I can't find one.
>
>TIA
>Mike
? TxtWidth("w", "Arial", 10), TxtWidth("i", "Arial", 10) && Different widths
? TxtWidth("w", "Courier New", 10), TxtWidth("i", "Courier New", 10) && Same width
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform