Mercurial > emacs
view src/m/pfa50.h @ 3075:878381e48b0d
* xfns.c: Clear out the old face stuff.
(x_face_table, n_faces, x_set_face, x_set_glyph, Fx_set_face_font,
Fx_set_face, Fx_get_face): Removed.
(syms_of_xfns): Remove defsubr for Fx_set_face.
Arrange for font names to get fully resolved - no wildcards.
* xfns.c (x_set_frame_parameters): Store the value in the frame
parameter alist before we call the setter function, so the setter
function can touch up the value if it chooses.
(x_set_foreground_color, x_set_background_color): Call
recompute_basic_faces, so their GC's will reflect the changes.
(x_new_font): Add extern declaration - this returns a Lisp_Object
now, the fully resolved font name.
(x_set_font): Accept the fully resolved name from x_new_font, and
put it in the frame's parameter alist. Call recompute_basic_faces.
* xterm.c (x_new_font): Return the fully resolved font name, Qnil
(if no match), or Qt (match, but unacceptable metrics).
* xterm.c (x_new_font): Don't call init_frame_faces.
* xterm.h: New section for declarations for xfaces.c.
(init_frame_faces, free_frame_faces, intern_face,
face_name_id_number, same_size_fonts, recompute_basic_faces,
compute_char_face, compute_glyph_face): Declare these here.
* xfaces.c (same_size_fonts): We can now remove this extern
declaration.
* xfns.c (face_name_id_number): Likewise.
* xterm.c (intern_face): Likewise.
* xfns.c (Fx_list_fonts): Remember that FACE may not have a font
specified. Don't specify 30000 as the maximum limit on the number
of fontns returned - 2000 is more reasonable.
Treat faces as structures specifying modifications to the frame's
parameters, rather than things which need to specify a complete
set of parameters by themselves.
* xfaces.c (init_frame_faces): Don't set up the two frame display
faces by querying the GC - just leave all their fields blank, and
call recompute_basic_faces, letting build_face do the work of
consulting the frame when necessary.
(recompute_basic_faces): New function.
(compute_base_faces): New function for obtaining the "identity"
for compute_char_face and compute_glyph_face.
(compute_char_face, compute_glyph_face): Call it, instead of copying
FRAME_DEFAULT_FACE.
* xfns.c (x_make_gc): No need to call init_frame_faces here.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Tue, 25 May 1993 14:03:41 +0000 |
parents | 571142b03bf4 |
children | d76398601a0b |
line wrap: on
line source
/* Machine description file for PFU A-series. Copyright (C) 1988 Free Software Foundation, Inc. This file is part of GNU Emacs. GNU Emacs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. No author or distributor accepts responsibility to anyone for the consequences of using it or for whether it serves any particular purpose or works at all, unless he says so in writing. Refer to the GNU Emacs General Public License for full details. Everyone is granted permission to copy, modify and redistribute GNU Emacs, but only under the conditions described in the GNU Emacs General Public License. A copy of this license is supposed to have been given to you along with GNU Emacs so you can know your rights and responsibilities. It should be in a file named COPYING. Among other things, the copyright notice and this notice must be preserved on all copies. */ /* The following three symbols give information on the size of various data types. */ #define SHORTBITS 16 /* Number of bits in a short */ #define INTBITS 32 /* Number of bits in an int */ #define LONGBITS 32 /* Number of bits in a long */ /* 68000 has lowest-numbered byte as most significant */ #define BIG_ENDIAN /* Say this machine is a 68000 */ #define m68000 #define mc68000 1 /* Use type int rather than a union, to represent Lisp_Object */ #define NO_UNION_TYPE /* XINT must explicitly sign-extend */ #define EXPLICIT_SIGN_EXTEND /* The symbol FIONREAD is defined, but the feature does not work. */ #define BROKEN_FIONREAD /* Define NO_REMAP if memory segmentation makes it not work well to change the boundary between the text section and data section when Emacs is dumped. If you define this, the preloaded Lisp code will not be sharable; but that's better than failing completely. */ #define NO_REMAP /* Define TEXT_START_ADDR if your linker don't set execute point to _start. If it needed, temacs always CORE-DUMP. */ #define TEXT_START_ADDR __start /* Define START_FILES if your machine used _start. */ #define START_FILES crt0.o /* Define LD_SWITCH_MACHINE if your linker need it. */ #define LD_SWITCH_MACHINE -e __start #if pfa50 || pfa70 /* On A-50/60/70/80, data space has high order byte use. */ #define VALMASK (((1<<VALBITS) - 1) | 0x60000000) #define XTYPE(a) ((enum Lisp_Type) (((a) >> VALBITS) & 0x1f)) #define XGCTYPE(a) ((enum Lisp_Type) (((a) >> VALBITS) & 0x1f)) #endif /* pfa50, pfa70 */ /* SX/A has alloca in the PW library. */ #define LIB_STANDARD -lPW -lc #define HAVE_ALLOCA /* SX/A uses terminfo and lib/curses */ #define TERMINFO #define HAVE_TIMEVAL #define HAVE_SELECT #define HAVE_PTYS #define HAVE_SOCKETS /* SX/A use SystemV style getdents/readdir. */ #define HAVE_CLOSEDIR /* SX/A does not have sigblock(2) */ #define sigblock(mask) (0) #define USG_SYS_TIME #define USE_UTIME #define NO_SIOCTL_H #undef SIGIO