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

103 Commits

Author SHA1 Message Date
Kenichi Handa
3aa3a18c9c (set-face-font): Allow specifing fontset for the arg FONT. 1997-03-18 23:16:27 +00:00
Simon Marshall
28ceec49f1 clean code. 1997-03-15 13:22:49 +00:00
Simon Marshall
fbd4411672 When testing FACE's non-nil face-font with the default face font, use the frame's font parameter if the default face's face-font is nil. 1997-03-15 13:14:24 +00:00
Richard M. Stallman
c5f0b2d42d (invert-face): Handle inverting the default face better. 1997-01-07 09:05:31 +00:00
Richard M. Stallman
d7fa5aa239 Change defconsts to defvars. 1996-12-16 01:33:02 +00:00
Geoff Voelker
b86b9918dd Use w32 instead of ms-windows for window-system symbol 1996-11-19 06:59:17 +00:00
Richard M. Stallman
7e45a1ec94 (make-face, make-face-x-resource-internal):
Test for ms-windows instead of win32.  Use memq.
(initialization at end of file): Likewise.
1996-09-15 02:15:42 +00:00
Richard M. Stallman
abd89b8031 (internal-set-face-1): When calling x-list-fonts, ask for just one match. 1996-08-31 22:03:30 +00:00
Richard M. Stallman
3c5ddb48c4 (modify-face): Handle nil as stipple value.
(internal-face-interactive-stipple): New function.
(set-face-stipple): Use internal-face-interactive-stipple.
1996-08-19 16:31:27 +00:00
Richard M. Stallman
e5de02385e (modify-face): Handle stipple values
of the form (WIDTH HEIGHT DATA).
1996-08-16 05:09:09 +00:00
Richard M. Stallman
b8c631a53b (x-create-frame-with-faces): Set threshold for "light color"
at .6 of the total for white.
1996-06-25 18:19:09 +00:00
Richard M. Stallman
528fbf5126 (x-frob-font-slant): Properly handle a match against
x-font-regexp-head.
(x-frob-font-weight): Separate two cond cases by analogy with
x-frob-font-slant.
1996-03-25 15:09:27 +00:00
Richard M. Stallman
25ae394e86 (face-color-gray-p): Return nil if x-color-values does. 1996-01-29 07:27:04 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Karl Heuer
a7acbbe4d4 Comment fixes. 1996-01-05 22:21:28 +00:00
Simon Marshall
905cf8f284 Take optional arg FRAME.
If flag not nil or t, don't change the attribute.
1995-12-13 15:31:07 +00:00
Simon Marshall
b7ffee5fb7 Wrap case-fold-search for x-frob-font-weight and x-frob-font-slant. 1995-12-12 08:20:37 +00:00
Richard M. Stallman
055ff5a6af (face-color-supported-p): Return nil if no window system. 1995-11-20 23:15:55 +00:00
Geoff Voelker
7b10bca5f7 [win32] (make-face, make-face-x-resource-internal):
Test for 'win32 window system as well as 'x.
1995-11-07 07:48:12 +00:00
Richard M. Stallman
f1d71b2f75 (set-face-background): When using face-color-supported-p,
specify foreground, not background.
1995-08-05 06:33:01 +00:00
Richard M. Stallman
21ef90eecf (set-face-background): Don't treat nil as a color. 1995-07-30 10:10:35 +00:00
Karl Heuer
c8787b81ef (x-font-regexp): Add \\(\\) for substring extraction. 1995-07-27 19:10:36 +00:00
Karl Heuer
021ca12920 (x-font-regexp-weight-subnum, x-font-regexp-slant-subnum)
(x-font-regexp-swidth-subnum, x-font-regexp-adstyle-subnum): Defconst.
1995-07-25 22:06:08 +00:00
Richard M. Stallman
488bedffb5 (make-face-bold, make-face-italic, make-face-bold-italic)
(make-face-unbold, make-face-unitalic):
No error if font is already bold, italic, or whatever.
1995-07-25 04:50:43 +00:00
Richard M. Stallman
82c028e0bc (x-create-frame-with-faces):
Specify frame arg to x-color-values and frame-parameters.
(set-face-background): Pass background-p arg to face-color-supported-p.
1995-07-18 13:27:49 +00:00
Karl Heuer
ef43639253 (x-create-frame-with-faces): Set background-mode
and display-type frame parameters.
(x-frob-font-slant, x-frob-font-weight):
Replace the adstyle field with *, if we can find it.
(set-face-background): Use face-color-supported-p.
(face-color-gray-p): New function.
(face-default-stipple): New variable.
(set-face-background): Use face-default-stipple for all grays.
(set-face-stipple): Change arg name.
(face-color-supported-p): Use face-color-gray-p.
1995-07-17 22:57:32 +00:00
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