Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine correct fonts and sizing
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00128948
Message ID:
00132562
Vues:
32
I thought I'd go back and summerize what I've heard in this thread...This is not meant to be exhaustive or a statement from Sinai...If I mis-stated PLEASE correct me. Also, if I left off you favorite, Please add it in and forward me a copy at Rick@OmniaGroup.com


Your font issues can be affected by the following:

Monitor Size - As far as I can tell the fonts don't enlarge proportionately...I believe this is because the are based on a 96 dot character map and this does not always adjust proportionately....(ie. this screen size vs. that screen size may be 1.333... times bigger)

Work Area Size - don't forget your margins

Large/Small Fonts - Fox doesn't like Large Fonts - so I've heard

Scheme - Windows Display Properties, Appearance - We experienced variation in Font representations with different Schemes. You may need to provide an approved list of schemes.

Video Drivers - It seems they all have a mind of their own. We standardized on the Matrox Millenia Video cards.

Operating System - There are differences between 95 and NT...I don't even want to guess about 98...we are avoiding it.

Base Font vs. Overlaying Font - For the most reliable presentation it is best to define the Base Font to be the same as the Fonts you want to over-lay it with...it helps Windows to more accurately compute locations for your characters.

TT Fonts vs. other, especially Printer Fonts - TT Fonts seem the best behaved, but not all are created equal...especially printer fonts - you'll never know what you'll get.

MS Serif and MS Sans Serif vs. almost any other Font - These two are notoriously bad offenders...avoid them if you can.

Also the possibility of using Fontmetric(), was mentioned. I've had some experience there. Fontmetric may be good when dealing with Fixed Fonts like Couier New, but with Proportional Fonts all you get is an approximation. As a result this function is of limited value IMHO.

Also, Dana gave a good picture lesson on Resolution, which I quote here.
-------------
Try to think of it this way...you have a 5 x 7 inch postcard. You tack it onto the bulletin board. Then you hold up an empty picture frame at arm's length, and move back or forward until the postcard fills the frame. Now, you decide you want to fit more things in the frame (larger resolution). You back off until you get the next size equivalent into the frame. The text on the postcard hasn't changed, but it looks smaller, or inversely, it looks bigger when you go back to the smaller frame 'resolution'.

You have to remember, point size is relavent. The 640x480 refers to dots of resolution. Point size is different. It is relative to the resolution of the display. With 800x600 you have more 'points' on the display, the points are more condensed, so a 10 point font will look smaller.
------------


Good luck.

Rick
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform