1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00
Commit Graph

77 Commits

Author SHA1 Message Date
Richard M. Stallman
e20d641f61 (x-font-regexp): Include the avgwidth. 1995-07-02 08:34:02 +00:00
Richard M. Stallman
19deb21efe (describe-face): New function.
(make-face-x-resource-internal): Give special meanings
to font "names" `italic', `bold', and `bold-italic'.
1995-07-01 19:21:49 +00:00
Karl Heuer
313b841c1e (x-create-frame-with-faces): Don't use initial-frame-alist
when looking for the X resource name.
Copy parameters from default-frame-alist, before the geometry
specs from the X resource database.
1995-06-09 15:42:08 +00:00
Karl Heuer
c05533274c (x-create-frame-with-faces): Don't look for geometry
resource if name is nil.
1995-06-09 15:24:50 +00:00
Karl Heuer
6e4aafdc8a (x-create-frame-with-faces): Read geometry resource
and use that while creating the frame.
1995-05-26 03:54:38 +00:00
Karl Heuer
ca58b3ecc6 Put property on set-face-stipple, not set-stipple.
(face-fill-in): Handle stipple.
1995-05-18 22:22:33 +00:00
Richard M. Stallman
d0672e0d73 (set-face-background): Handle FRAME = nil directly
so stipple colors work in that case.
1995-04-16 04:09:48 +00:00
Karl Heuer
732be46569 Update copyright. 1995-04-07 01:20:53 +00:00
Richard M. Stallman
2b979e14a3 Fix previous change. 1995-03-30 07:17:46 +00:00
Richard M. Stallman
6ffb01c433 (modify-face): Handle stipple. Handle defaulting properly.
Speed up making completion alists.
(modify-face-read-string): New subroutine.
1995-03-30 07:15:37 +00:00
Karl Heuer
66cf1bd7bc (x-create-frame-with-faces): Assume cursor-color, mouse-color, and
border-color are okay as specified unless they are the same as the new
background color.
1995-01-30 22:39:20 +00:00
Richard M. Stallman
962a60aa70 (facep): New function.
(internal-check-face): Don't make a loop, since signal can't return.
1995-01-28 08:27:31 +00:00
Richard M. Stallman
93d6fcef18 (face-nontrivial-p): New function. 1995-01-10 17:43:59 +00:00
Richard M. Stallman
de52827f3f (face-try-color-list): Treat `underline' as valid. 1995-01-10 06:52:53 +00:00
Richard M. Stallman
f16c38ae77 (frame-update-face-colors): New function. 1994-12-20 20:42:57 +00:00
Richard M. Stallman
e17dbede1b (face-initialize): Test for framep not t or nil.
(set-face-font): Pass `default' as face to x-resolve-font-name.
(x-resolve-font-name): Better error message when FACE doesn't specify the font.
1994-12-15 13:49:51 +00:00
Richard M. Stallman
39b3b754b5 At compile time, discard any defsubr definitions
in the Emacs doing the compilation.
1994-12-04 16:51:38 +00:00
Richard M. Stallman
feaad827a6 (face-name, face-id, face-foreground, face-background)
(face-font, face-stipple, face-underline-p): Change defsubst to defun.
(set-face-font, set-face-foreground, set-face-background)
(set-face-stipple, set-face-underline-p): Change defsubst to defun.
1994-12-04 14:18:45 +00:00
Richard M. Stallman
4099a32dc9 (face-color-supported-p): New function.
(face-try-color-list): Use that.
1994-11-19 11:12:16 +00:00
Richard M. Stallman
ee09252aa0 (set-face-background): Set either stipple or color,
never both.  Do this only for a specific frame, not for t.
1994-10-23 06:05:12 +00:00
Richard M. Stallman
0fd8a324e2 (set-face-background): If color is gray, and frame
can't display that directly, use corresponding stipple.
(face-try-color-list): Assume gray colors are valid on any display.
1994-10-23 01:05:26 +00:00
Boris Goldowsky
33af44e844 (make-face): Add new face to Face menu on creation. -- Bng 1994-10-20 18:11:27 +00:00
Morten Welinder
87485d6fc9 *** empty log message *** 1994-10-17 08:42:36 +00:00
Richard M. Stallman
72418504bf (set-face-stipple): New function.
(set-face-background-pixmap): An alias for that.
(face-stipple): New function.
(face-background-pixmap): An alias for that.
(copy-face, face-equal, face-differs-from-default-p)
(make-face-x-resource-internal): Handle stipple bitmaps.
1994-10-17 07:31:52 +00:00
Richard M. Stallman
1c0a871059 (modify-face): New function. 1994-09-30 21:01:13 +00:00
Richard M. Stallman
e7cc6aa5c6 (x-create-frame-with-faces): Delete the frame if get error. 1994-09-22 07:26:46 +00:00
Karl Heuer
96616c048a (make-face-unbold, make-face-unitalic, make-face-bold, make-face-italic,
make-face-bold-italic): Don't try to frob font if it's nil.
1994-09-14 03:22:57 +00:00
Richard M. Stallman
52267b568d (copy-face): Ignore errors in set-face-font. 1994-08-11 07:11:51 +00:00
Richard M. Stallman
566b0ad252 (face-initialize): Use underlining for region face
if there's no gray.
(face-try-color-list): Support `underline' in color list.
1994-07-29 21:03:37 +00:00
Richard M. Stallman
a48e03c326 (x-create-frame-with-faces): Don't downcase nil. 1994-07-09 19:25:06 +00:00
Richard M. Stallman
69718e9d7c (x-create-frame-with-faces): Ignore case in X resource.
(make-face-x-resource-internal): Test underline attribute as boolean.
1994-07-05 20:28:33 +00:00
Richard M. Stallman
4b3203d970 (make-face-italic, make-face-bold): Don't bind f2 here.
(make-face-bold-internal, make-face-italic-internal): Bind f2 here.
(make-face-bold-italic-internal, make-face-italic-internal)
(make-face-bold-internal): New arg `font'.  Callers changed.
1994-07-01 17:31:42 +00:00
Richard M. Stallman
23b04eac8c (list-faces-display): Line up multiple lines in sample. 1994-07-01 17:06:34 +00:00
Richard M. Stallman
7ee29ed8e1 (make-face): Return the face name, not the vector. 1994-06-22 21:28:17 +00:00
Richard M. Stallman
ae0249dfd8 (face-equal): Do check the underline attribute. 1994-06-21 20:22:56 +00:00
Richard M. Stallman
2dd60dfd18 (x-create-frame-with-faces): Set the cursor color last. 1994-06-17 13:39:14 +00:00
Karl Heuer
99fb9482a8 (frame-update-faces): Unset old font. 1994-04-27 00:30:55 +00:00
Richard M. Stallman
9d52c8d369 (frame-update-faces): New function. 1994-04-22 08:47:42 +00:00
Richard M. Stallman
586ab698cf (make-face-x-resource-internal): Don't mess with terminal frames. 1994-04-14 09:31:18 +00:00
Richard M. Stallman
e69e8fad9b (x-create-frame-with-faces): Create frame invisible,
set up the faces, then make it visible.
1994-04-14 07:38:15 +00:00
Karl Heuer
da41135a67 (copy-face): Don't change old-face and new-face before the frame loop. 1994-03-02 06:45:38 +00:00
Richard M. Stallman
6a588f9a70 (face-try-color-list): Don't rely on errors from using
a color that the server can't really support.
1994-02-15 22:38:00 +00:00
Richard M. Stallman
19ae9866c9 (face-initialize): Specify default characteristics
for the	standard faces.  Use face-fill-in to set up existing frames.
(face-fill-in, face-try-color-list): New subroutines.
Handle underline, foreground and background in the
frame-independent info of a face.
(x-create-frame-with-faces): Use face-fill-in.
(x-initialize-frame-faces): Function deleted.
1994-02-12 06:25:56 +00:00
Richard M. Stallman
2f2ddd1e4a (copy-face): Doc fix. 1994-02-08 18:22:09 +00:00
Richard M. Stallman
534dbc9764 (make-face-unitalic, make-face-unbold, make-face-bold)
(make-face-bold-italic, make-face-italic): If frame is t,
do the special handling only if face-font is a list.
1993-11-27 07:52:47 +00:00
Richard M. Stallman
8db93e456a (x-resolve-font-name): Undo previous change. 1993-11-21 07:23:17 +00:00
Richard M. Stallman
4901eb1b09 (x-resolve-font-name): Don't pass FACE to x-list-fonts
if FACE has nil as its font.
1993-11-20 08:42:47 +00:00
Richard M. Stallman
ec3b1a9bf9 (x-create-frame-with-faces): Check for on' or true'
as reverseVideo resource value.
1993-08-14 09:23:24 +00:00
Richard M. Stallman
f3f31ccf98 Make boldness and italicness affect subsequently created frames.
(make-face-bold, make-face-italic, make-face-bold-italic)
(make-face-unbold, make-face-unitalic): Update global-face-data.
Ignore a list found in the font slot.
(make-face-bold-internal, make-face-italic-internal):
(make-face-bold-italic-internal): New subroutines.
(x-create-frame-with-faces): If global-face-data's font slot
indicates bold and/or italic, make it so.
1993-08-03 07:12:34 +00:00
Richard M. Stallman
11872f7e1e (face-equal): Don't mess with face-background-pixmap. 1993-07-18 04:44:27 +00:00