[comp.sys.amiga.tech] 1.4 Font Changes

kodiak@amiga.UUCP (Robert R. Burns) (05/06/89)

1.4 text speedups are implemented by noting some characteristics of the font
at SetFont time (which is assumed to happen relatively infrequently relative
to Write :-) and using those observations to speed up byte-wide font and
(to a much lesser extent) fixed-cell font writes.  In 1.4 alpha 14, these
characteristics were stored in the tf_Style bits 4 & 5.  In 1.4 alpha 16
and above, they'll be stored in the message length (mn_Length) and their
existance will be confirmed in tf_Style bit 7.

If you're cloning a font, clear tf_Style bits 4, 5, and 7 of the source
font, or just bit 7 for final 1.4 code.  I prefer the latter for long
term solutions so that 4 & 5 could be used in 1.5 for something.

(This message prompted by a BIX amiga.com/1.4 query from Eric Haberfellner,
 author of Handshake, which had problems under 1.4 alpha 14.)

- Kodiak
-- 
Bob Burns, amiga!kodiak                    _
| /_  _|. _ |      Commodore __           |_) _ |_  _ )'
|<(_)(_)|(_\|<      /\ |  ||| _` /\       |_)(_\| )(_\ |
| \ Software    ___/..\|\/|||__|/..\___            Faith