CLIM mail archive

[Prev][Next][Index][Thread]

text-style-family returns number



    Date: Wed, 1 Jul 1992 17:25 EDT
    From: Philip Chu-Summer 92 <pchu@ptolemy.arc.nasa.gov>

    I'm using CLIM 4.1 with Franz Allegro Common Lisp on a Sun
    Sparcstation. After creating a text style, I'd like to be able to
    retrieve the text style components, but for the text face I get a
    number instead of the originally provided name. Is this a bug, and how
    do I go about getting the face name?

    USER(26): (clim:make-text-style :fix :bold :large)
    #<CLIM::TEXT-STYLE :FIX.:BOLD.:LARGE @ #x15bfe6e>
    USER(27): (clim:text-style-face *)
    4
    USER(28): (clim:text-style-family **)
    :FIX
    USER(29): (clim:text-style-size ***)
    :LARGE

I had thought that this was fixed in CLIM 1.1, although it is possible
that it did not make it into the Franz stream.

CLIM::FACE-CODE->FACE will turn the number into a face name.


Follow-Ups: References:

Main Index | Thread Index