Mercurial > emacs
comparison src/xfaces.c @ 83545:034f67f59091
Merged from emacs@sv.gnu.org.
Patches applied:
* emacs@sv.gnu.org/emacs--devo--0--patch-479
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-480
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-481
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-482
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-483
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-484
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-485
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-153
Merge from emacs--devo--0
* emacs@sv.gnu.org/gnus--rel--5.10--patch-154
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-155
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-585
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Sun, 03 Dec 2006 12:25:18 +0000 |
parents | 694bbb62a75d 2cb36b82c88a |
children | c71725faff1a |
comparison
equal
deleted
inserted
replaced
83544:58cf725f5330 | 83545:034f67f59091 |
---|---|
6703 | 6703 |
6704 if (want_weight > XLFD_WEIGHT_MEDIUM && want_weight > got_weight) | 6704 if (want_weight > XLFD_WEIGHT_MEDIUM && want_weight > got_weight) |
6705 { | 6705 { |
6706 /* We want a bold font, but didn't get one; try to use | 6706 /* We want a bold font, but didn't get one; try to use |
6707 overstriking instead to simulate bold-face. However, | 6707 overstriking instead to simulate bold-face. However, |
6708 don't overstrike an already-bold fontn unless the | 6708 don't overstrike an already-bold font unless the |
6709 desired weight grossly exceeds the available weight. */ | 6709 desired weight grossly exceeds the available weight. */ |
6710 if (got_weight > XLFD_WEIGHT_MEDIUM) | 6710 if (got_weight > XLFD_WEIGHT_MEDIUM) |
6711 *needs_overstrike = (got_weight - want_weight) > 2; | 6711 *needs_overstrike = (want_weight - got_weight) > 2; |
6712 else | 6712 else |
6713 *needs_overstrike = 1; | 6713 *needs_overstrike = 1; |
6714 } | 6714 } |
6715 } | 6715 } |
6716 | 6716 |