[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bold by moving pixels problem
From: |
Miles Bader |
Subject: |
Re: Bold by moving pixels problem |
Date: |
19 Dec 2002 17:34:05 +0900 |
address@hidden (Kim F. Storm) writes:
> I've looked at your patch, and it seems to be very low-level to give
> the filter functions direct access to the actual lface vector elements.
Well, it's a low-level thing... :-)
> I'd suggest a different approach using the internal-lisp-face attribute
> names that are already defined in xfaces.c such as :family, :height, etc.
I agree, code filled with `(aref .. 3)' is not good. Going all the
way to a plist seems a bit gratuitous though.
What about just providing accessor/setter macros for `lface' vectors,
e.g., (lface-weight LFACE) and (set-lface-weight LFACE VAL)?
After all the `lface' representation _is_ exposed to lisp already, so
such macros might help other code as well.
[I'm not sure about the term `lface' though -- it's used fairly
pervasively in the C code, but of course that's from the perspective of
the C code...]
-Miles
--
The secret to creativity is knowing how to hide your sources.
--Albert Einstein
- Re: Bold by moving pixels problem, Miles Bader, 2002/12/17
- Re: Bold by moving pixels problem, Miles Bader, 2002/12/17
- Re: Bold by moving pixels problem, Miles Bader, 2002/12/17
- Re: Bold by moving pixels problem, Miles Bader, 2002/12/18
- Re: Bold by moving pixels problem, Kim F. Storm, 2002/12/18
- Re: Bold by moving pixels problem,
Miles Bader <=
- Re: Bold by moving pixels problem, Miles Bader, 2002/12/19
- Re: Bold by moving pixels problem, Kim F. Storm, 2002/12/19
- Re: Bold by moving pixels problem, Miles Bader, 2002/12/19
- Re: Bold by moving pixels problem, Miles Bader, 2002/12/19
- Re: Bold by moving pixels problem, Kim F. Storm, 2002/12/19
- Re: Bold by moving pixels problem, Robert J. Chassell, 2002/12/18
- signal handling bogosities, Miles Bader, 2002/12/19
- Re: signal handling bogosities, Richard Stallman, 2002/12/20
- Re: signal handling bogosities, Alex Schroeder, 2002/12/20
- Re: signal handling bogosities, Eli Zaretskii, 2002/12/20