home *** CD-ROM | disk | FTP | other *** search
- ShowFont 3.1 - by Arthur Johnson Jr.
- ====================================
-
- Last update date - 11/27/88
- ---------------------------
-
- ****************************************************************************
- * To see just the changes since revision 3.0, check out the brand new *
- * "Revisions n' Updates" section at the end of this documentation! *
- ****************************************************************************
-
- This program allows you to quickly and painlessly view all 256
- characters in a typical font. I wrote it because using FontEd or (choke!)
- NotePad to see what a font looks like can be slow, tedious, monotonous, etc.
-
- To use this program, simply type "ShowFont [font_name] [font_size]".
- Both the [font_name] (Topaz, Ruby, etc.) and [font_size] (8, 12, etc.) are
- purely optional. If you do not specify a size, ShowFont will check all your
- available fonts and then show you what sizes/styles of the font you wanted
- exist. If you also omitted the font, you can select what font/size/style to
- see by using the font requester. More on this below. Note that you
- currently cannot select a [font_style] to see. You must do this through the
- requester.
-
- By the way, if someone makes an icon for this program, it might just
- run from WorkBench. Since I never use WorkBench, I haven't bothered testing
- this. (Version 3.1 note: I still haven't bothered)
-
- So, what's the font selector like? Well, I've tried to make it pretty
- standard, including all the neat features most of the better ones have. To
- select a font, size, or style, simply click on it with the left button.
- When you have the desired font, size, and style selected, press the OK
- button. You can now (3.1) just double-click on the font, size, or style to
- view the font, size, and style you like.
- To scroll around the font, size, and style lists, click on the arrows
- or slider gadgets. Since you've probably used their like in other programs,
- you probably already know what they do. Note that you can hold down the
- left button over these gadgets and the list will scroll rapidly in the
- direction of the arrow you're over. You can also do this with the slider
- gadget and move up and down to scroll over the whole list. Because I cannot
- find a way to determine when to stop updating everything when you're using
- the SLIDER gadget, the gadgets will continue flickering even when you let up
- on the button. Just click somewhere and this will stop. Yes, to stop the
- scrolling, release the left button.
- If you decide you really don't want to look at a different font than
- what you had been checking out, press the CANCEL button.
-
- /**************************************************************************/
- /* Because most everyone changes their Preferences colors, the */
- /* colors I mention below might not be correct for your system. Just */
- /* translate what the colors should be on your system (if you've changed */
- /* them). The original colors were blue, white, black, and orange (in */
- /* order of how you can change them in Preferences). Just look to see */
- /* what your colors are where and things should be pretty easy to */
- /* understand. Then again, they may not. */
- /**************************************************************************/
-
- If the sizes of the font you've selected are printed in WHITE, the
- font is non-proportional (TOPAZ). If they are printed in ORANGE, they are
- proportional (most everything else). I added this so you can easily see
- what fonts you may have are non-proportional, since they are real nice when
- trying to make tables and stuff that needs to be columnarly [sic?]
- organized. If you don't understand what I'm talking about, non-proportional
- fonts take up the same number of pixels per character, i.e., an 'i' takes
- as much space as an 'm'. Proportional fonts space the characters according
- to how wide they are, i.e., an 'i' would definitely take less space to
- write than an 'm'. Don't know what a pixel is? Pixels are the small dots
- that can be seen if you press your face to your terminal screen. What's
- a terminal screen? Well, etc., etc.
-
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- The above explanation is a perfectly good RECURSIVE DEFINITION example.
- But anyway, back to the documentation.
- ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-
- Clicking CANCEL when you've just booted the program without any default
- font will cause the program to display TOPAZ 11 (if it exists). I don't know
- why it doesn't use TOPAZ 8. I've tried to tell it to many times and in many
- ways, but it ignores me. C'est la vie. But you would never do that anyway,
- would you? Someday, I'll try to track down and eliminate this one-time
- fault.
-
- * NOTE * ShowFont looks in the FONTS: directory for all its fonts.
-
- For a change, I think I will try to organize this documentation a bit
- by listing all the menus and what each selection does. If this is too
- orderly for you, please call and tell me and I'll try to make it more
- confusing next time.
-
- Menu - Option What is it?
- -------------------- -----------
- Project - About Gives some useless information about the program.
- Project - Quit Exits the program.
-
- Fonts - Read FONTS: Reads in all the available fonts again. To make
- this a useful option, you'd have to push ShowFont
- into the background and re-ASSIGN FONTS: somewhere
- else. I usually just quit ShowFont, ASSIGN
- FONTS:, and then re-run ShowFont to avoid any
- confusion. I might remove this feature in future
- versions, unless I receive some input to keep it.
- Fonts - Font Selection Brings up the font selecting requester.
-
- Screen - 320 x 200 Changes the screen size to 320 x 200.
- Screen - 320 x 400 Uhm...
- Screen - 640 x 200 Duh...
- Screen - 640 x 400 ???...
-
- Notice that all the menu options except the 'Screen' menu stuff have
- short key-equivalents, i.e., you can press Right Amiga-? to select that
- menu selection, where ? is whatever letter is displayed after the neat
- Amiga symbol in the menu.
-
- If the font is found, ShowFont will display "font_name-font_size" in
- the upper left-hand corner of the screen next to the CLOSE gadget. To see
- the rest of the font (if all 256 characters cannot fit on the screen at
- once), use the three gadgets on the right-hand side of the screen. Again,
- their function closely resembles their appearance. Fiddle around for about
- three seconds and you will be quite familiar and comfortable with scrolling
- around a font. Again, you can just hold down the button and scroll happily
- in whatever direction you like. And again, the slider gadget flickers
- happily after you do this until you click on something.
-
- Note that actually all 256 characters will not be displayed if there
- are blank (empty) characters. The program will skip them, since they are
- rather uninteresting, being blank. The program will display that segment
- of the characters that the font says should be displayed. Two-to-one
- someone has some neat secret graphics just outside the official display
- range, but we'll never know.
-
- To exit the program, click on the CLOSE gadget or select the menu
- "Quit" option or press Right-Amiga-Q. I like three ways to end a program!
- Actually, you can also end the program by:
- 1) Control Amiga-Amiga
- 2) Turning off your computer's power
- 3) Striking the system with great force with a large, blunt object
- That now makes a total of six ways to terminate the program. I'm sure
- clever people will find even more imaginative and useful ways to end the
- font session.
-
- I guess the best advice I can give you for using and understanding this
- program is to type 'showfont' from CLI and fiddle around for a while until
- you either comprehend all the features or delete the program in a fit o'
- passion. In fact, most bugs are detected this way through random menu and
- gadget selecting. Thank you to the person who detected and called about the
- 'Read FONTS:' problem! It gave me practice on using the new Lattice C 5.0
- source-level debugger. Neat program. But, anyway...
-
- I'll apologize now for this rather random and odd documentation file,
- but I'm usually dazed and confused after my program successfully runs
- without any apparent bugs. On a technical note, the Lattice 5.0 C "big"
- compiler and global optimizer compiled this program without comment. I like
- that.
-
- I would like to thank the National Type Foundry for sending me some
- fonts (because they are distributing my program with their product). They do
- have some really nice fonts in the Roman collection. C. Ltd. was also
- going to send me some information for new STYLE conventions they were
- petitioning Commodore for, but I never received them and lost the number and
- who to contact. Maybe next time. 8-)
-
- By the way, ShowFont fails with some random error code when you use
- 'run ShowFont ...'. Anyone know why? It doesn't seem to affect the program
- or system in any way.
-
- That's it! Any comments/questions/suggestions/flames/improvements/
- etc., can be directed to the following address:
-
- *****************************
- * Arthur Johnson Jr. *
- * 225 Montego Bay Court *
- * Merritt Island, FL 32953 *
- * *
- * - or - *
- * *
- * (407) 277-0548 *
- *****************************
-
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- I guess I should add that this program and source are PUBLIC DOMAIN in
- all ways, except that if you dare to sell this program by itself for fun n'
- profit, you will be found and terminated. Other than that, feel free to do
- whatever you like with the program, although give me some credit somewhere...
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-
- Revisions n' Updates
- --------------------
-
- Version 3.1 : Fixed a bug in the 'Read FONTS:' menu selection.
- Added "double-clicking" selection method.
- Cleaned up the documentation a bit.
-
- Version 3.0 and below : These records were destroyed in the great fire,
- earthquake, plague, hurricane, tsunami, volcanic
- eruption, insect infestation, computer virus, and
- alien attack of 1988. We apologize for any
- inconvenience this may cause.
-