Home About us Development Training Support |
Fonts for data entryClients often ask for a consistent look and feel across their database and want to see all the text on screen in their corporate font. We try to resist this because some fonts are very much better than others for data entry and display and the correct choice of font can make a great difference to the usability of the form. This example shows the difference between data entry fields in Gill Sans, Arial, and Courier fonts. It's an extreme case but it does show the problems:
All three fields display the same value but the first two would be very difficult to work with. Gill SansGill Sans is a fine font for the display of text but it shows the capital "i", the lower case "L" and the number 1 as exactly the same symbol. Your only clue is that there is a slightly wider spacing between the numbers than between the letters. This similarity does not matter when Gill Sans is used in its proper surroundings. A user reading a passage of text can tell which character is which by the context and no harm would be done if the name "WiIIiam" were to be spelt with 1's instead of lower case "L"s. I have in fact used capital "i"'s in this sentence and only an expert on typography would have noticed. ArialArial is the default font for forms in Access, FoxPro and Basic. It does allow the user to identify the number 1 but the letters "I" and "l" are still identical. What's worse is that the letters are very close together and it would be very difficult for a user to place the cursor exactly on a particular character. This example by the way is in 12 point font. If it were in a more normal 9 or 10 point then users would be in real difficulty. Remember that as a developer you've probably got a better PC than most users and you are also more likely to be really comfortable with your mouse. Courier NewDespite its name, Courier New looks very old fashioned and no style-conscious designer would consider using it for a moment. The font is an old one but the reason that it has survived is that it is a very good font for data entry. It is not a font to use where there is any amount of text to be read but it is an excellent font where you are just showing a few words. Courier New has three advantages:
Other fontsThere are of course other fonts, many other fonts. We do all our work on Windows PCs and cannot comment on fonts for Macintosh or Linux. We use Tahoma as a default for all captions and it's a good font for data entry as well. The characters "1", "I", and "l" are similar but not identical and the proportional spacing is not as extreme as Gill Sans. Lucida Console is a sans-serif fixed-pitch font that makes a good alternative to Courier New if the client absolutely refuses to have such an old-fashioned font on their screen. Times New Roman is possibly the oldest font in Windows and it's difficult to see why anybody would want to use it. It has proportional spacing and is bad for data entry because it tends to bring some letters very close together. Times New Roman was designed for text on paper and newer fonts such as Tahoma and Verdana are very much easier to read if you want to show a lot of text on screen. Fonts in Visual FoxProThis general advice on fonts applies whichever development language you are using. We like to work in Visual FoxPro because its object-oriented features allow us to build class libraries of custom controls. Our standard library has the font set to "Courier New" for all its data entry classes and to "Tahoma" for all its captions. If a client insists on using a corporate font for their application then it's a simple matter to create a new set of subclasses and use them instead. |
Hints & tips
The textbox class in Visual FoxPro 9 has a new Autocomplete
property which shows the user the previous values that have
been entered in that textbox.
More...
|