CLIM mail archive


Re: Buggy WITH-TEXT-STYLE Macro??

    Date: Fri, 4 Dec 1992 10:50 EST
    From: Meir Laker <>

    How about separating the "weight" of the font (i.e, bold, non-bold)
    from the "slant" of the font (i.e., italic, roman) and having a text
    style specified as a quadruple (family, slant, weight, size)?  Then,
    the algorithm for merging remains the same.

(Good idea, although note that the use of "italic" as a synonym for
"slanted" is typographically incorrect.  It is possible to have an
italic font that isn't slanted.  Knuth gives an example of this
somewhere in "The TeXBook".)

More to the point, I agree.  However CLIM defines the components of a
text-style, and however many there are I think that:

  The "atoms" of merging behaviour should be those components.

We can debate about whether a three-component model should be replaced
with a four-component model, but that's a lesser issue for me.  Keyword
arguments to specify little modifications to merging behaviour are THE
WRONG THING imho.  Let's keep some clarity in this interface.

Follow-Ups: References:

Main Index | Thread Index