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