home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / amiga / programm / 13278 < prev    next >
Encoding:
Internet Message Format  |  1992-09-11  |  2.1 KB

  1. Path: sparky!uunet!decwrl!netcomsv!terapin!paulk
  2. From: paulk@terapin.com (Paul Kienitz)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Icon default tool paths (was Re: A4000 Specs? Who knows.)
  5. References: <3707@faatcrl.UUCP>
  6. Message-ID: <paulk.1gta@terapin.com>
  7. Date: 11 Sep 92 14:10:45 PST
  8. Organization: BBS
  9. Lines: 35
  10.  
  11. > Not only do you have to adjust the offset from the title due to
  12. > different height fonts in the title, you also have to take into
  13. > account the offsets between each object.  Computing the offsets
  14. > isn't that hard, that's not the problem here, it's determining how
  15. > many vertical elements you can put in a given window since you
  16. > could render some number of objects below the window if the font
  17. > used is too large.
  18.  
  19. I took the cheap way out.  I decided that the maximum size of font I
  20. would support is 16, fit in as many gadgets as possible with a 16
  21. point font, and documented it as "If you use a font bigger than 16
  22. point you'll get ugly overlapping gadgets."
  23.  
  24. Even cheaper, I do not at present put things closer together when a
  25. small font like 8 point is used.  This leaves extra-large gaps
  26. between gadgets for the typical non-interlaced-screen user.  In the
  27. future I plan to scrunch things closer together when not interlaced,
  28. supporting fonts no larger than 11 point in that case, and allow up
  29. to 20 point or so when interlaced.
  30.  
  31. But I have an excuse; my program runs okay under 1.2
  32.  
  33. > And that's the crux of this biscuit, you can't adequately manage it
  34. > due to not having a limitation on height or width of the supplied
  35. > fonts.
  36.  
  37. With apps that have their own independent font selection option (like
  38. mine and presumably like JR-Comm) you can enforce a limit.  It's
  39. Workbench apps that have this trouble of unlimited font hugeness.  I
  40. guess in that case you can either refuse to run when the screen-size-
  41. to-font-size ratio is too small, or use Topaz 9 or 8 in emergencies.
  42.  
  43. As for horizontal spacing, I simply force everybody to use fonts of
  44. width 8.  If I ever support screen widths greater than 640, I'll have
  45. to search out a lot of cases where text length is computed by "<< 3"...
  46.