* bug#709: font selection problem
@ 2008-08-13 14:55 Chong Yidong
2008-08-14 4:54 ` Werner LEMBERG
0 siblings, 1 reply; 14+ messages in thread
From: Chong Yidong @ 2008-08-13 14:55 UTC (permalink / raw)
To: Werner LEMBERG; +Cc: 709
> I've just selected
>
> Options->Set Default Font->DejaVu Sans Mono, Book, 14pt
>
> Doing the same a second time, it is usual behaviour in most
> applications to present the previously selected font as the default
> (as a visual guide so that the user knows which font is currently
> selected). However, emacs doesn't do that. It presents
>
> Sans, Standard, 12pt
>
> instead. This looks like a bug since other previously selected fonts
> *are* presented correctly as the default.
I can't reproduce this on i686-pc-linux-gnu, GTK+ Version 2.12.9. Could
you provide your .Xresources file and GTK version?
Please also provide an exact recipe beginning with `emacs -Q'.
Thanks.
^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#709: font selection problem 2008-08-13 14:55 bug#709: font selection problem Chong Yidong @ 2008-08-14 4:54 ` Werner LEMBERG 0 siblings, 0 replies; 14+ messages in thread From: Werner LEMBERG @ 2008-08-14 4:54 UTC (permalink / raw) To: cyd; +Cc: 709 [-- Attachment #1: Type: Text/Plain, Size: 584 bytes --] > > However, emacs doesn't do that. It presents > > > > Sans, Standard, 12pt > > > > instead. This looks like a bug since other previously selected > > fonts *are* presented correctly as the default. > > I can't reproduce this on i686-pc-linux-gnu, GTK+ Version 2.12.9. Could > you provide your .Xresources file and GTK version? > > Please also provide an exact recipe beginning with `emacs -Q'. I already used emacs -Q while writing the report. > pkg-config gtk+-2.0 --modversion 2.10.6 My .Xresources file is empty. The output of `fc-list' is attached. Werner [-- Attachment #2: fc-list.list.bz2 --] [-- Type: Application/Octet-Stream, Size: 6705 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#709: font selection problem @ 2009-01-16 18:16 Chong Yidong 2009-01-18 6:11 ` Werner LEMBERG 0 siblings, 1 reply; 14+ messages in thread From: Chong Yidong @ 2009-01-16 18:16 UTC (permalink / raw) To: Werner LEMBERG; +Cc: 709 I recently made some additional tweaks to the font selection code. Do you observe any difference in behavior? ^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#709: font selection problem 2009-01-16 18:16 Chong Yidong @ 2009-01-18 6:11 ` Werner LEMBERG 0 siblings, 0 replies; 14+ messages in thread From: Werner LEMBERG @ 2009-01-18 6:11 UTC (permalink / raw) To: cyd; +Cc: 709 From: Chong Yidong <cyd@stupidchicken.com> Subject: Re: font selection problem Date: Fri, 16 Jan 2009 13:16:18 -0500 > I recently made some additional tweaks to the font selection code. > Do you observe any difference in behavior? [Using emacs CVS from 2009-01-17.] Regarding bug #1728, nothing has changed. It's still broken. Regarding bugs #708 and #709, I can't reproduce them any more. This might be related to the fact that I've meanwhile installed a newer fontconfig version -- or you have indeed fixed the bugs :-) I suggest that you close #708 and #709; in case I find problems I'll reopen the bugs. Thanks for your work! Werner ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <87zll7uh44.fsf@cyd.mit.edu>]
[parent not found: <20081015.074036.233943854.wl@gnu.org>]
[parent not found: <87iqrtptx6.fsf@cyd.mit.edu>]
[parent not found: <20081015.233805.163660517.wl@gnu.org>]
* bug#709: font selection problem [not found] ` <20081015.233805.163660517.wl@gnu.org> @ 2008-10-15 23:05 ` Chong Yidong 2008-10-15 23:11 ` Chong Yidong 1 sibling, 0 replies; 14+ messages in thread From: Chong Yidong @ 2008-10-15 23:05 UTC (permalink / raw) To: 709 [Recording a message from Werner LEMBERG]: ----- [I started emacs with gdb --args emacs -Q in the emacs src dir, using CVS from Oct. 14th, 22:44 MEST] First, move point over any non-space character, and do `C-u C-x ='. This should report the default font, among other information. What is this font? Using a character from the message in the `*scratch*' buffer, it reports character: u (117, #o165, #x75) preferred charset: ascii (ASCII (ISO646 IRV)) code point: 0x75 syntax: w which means: word category: a:ASCII graphic characters 32-126 (ISO646 IRV:1983[4/0]) l:Latin r:Japanese roman buffer code: #x75 file code: #x75 (encoded by coding system utf-8-unix) display: by this font (glyph code) x:-shinonome-gothic-medium-r-normal--16-150-75-75-c-80-iso8859-1 (#x75) Character code properties: customize what to show name: LATIN SMALL LETTER U general-category: Ll (Letter, Lowercase) There are text properties here: face font-lock-comment-face fontified t Next, do M-: (x-select-font) RET What is the default font shown in the dialog? Sans - Standard - 12 Try setting a breakpoint in Fx_select_font, and call M-: (x-select-font) RET again. [...] Is default_font defined? Yes. `pr default_font' gives #<font-object "-shinonome-gothic-medium-r-normal--16-150-75-75-c-80-iso8859-1"> If so, step past the call to font_unparse_gtkname. What is the string stored in default_name? "gothic Medium R 15". ^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#709: font selection problem [not found] ` <20081015.233805.163660517.wl@gnu.org> 2008-10-15 23:05 ` Chong Yidong @ 2008-10-15 23:11 ` Chong Yidong 2008-10-16 4:41 ` Werner LEMBERG 1 sibling, 1 reply; 14+ messages in thread From: Chong Yidong @ 2008-10-15 23:11 UTC (permalink / raw) To: Werner LEMBERG; +Cc: 709 > x:-shinonome-gothic-medium-r-normal--16-150-75-75-c-80-iso8859-1 (#x75) That's strange. Do you have any idea why this font is in use? If no other font is specified, Emacs should be using monospace-12, or adobe courier, or fixed. What does `C-u C-x =' report if you start Emacs with emacs -fn monospace-12 ? ^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#709: font selection problem 2008-10-15 23:11 ` Chong Yidong @ 2008-10-16 4:41 ` Werner LEMBERG 2008-10-16 16:08 ` Chong Yidong 0 siblings, 1 reply; 14+ messages in thread From: Werner LEMBERG @ 2008-10-16 4:41 UTC (permalink / raw) To: cyd; +Cc: 709 > > x:-shinonome-gothic-medium-r-normal--16-150-75-75-c-80-iso8859-1 (#x75) > > That's strange. Do you have any idea why this font is in use? No. In one of the previous mails I've already sent output of `fc-list' for your information. > If no other font is specified, Emacs should be using monospace-12, > or adobe courier, or fixed. Hmm. > What does `C-u C-x =' report if you start Emacs with > > emacs -fn monospace-12 Starting `emacs -Q -fn monospace-12', (x-select-font) shows Andale Mono - Standard - 12 and `C-u C-x =' reports xft:-monotype-Andale Mono-normal-normal-normal-*-21-*-*-*-m-0-iso10646-1 Werner ^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#709: font selection problem 2008-10-16 4:41 ` Werner LEMBERG @ 2008-10-16 16:08 ` Chong Yidong 2008-10-16 20:11 ` Werner LEMBERG 0 siblings, 1 reply; 14+ messages in thread From: Chong Yidong @ 2008-10-16 16:08 UTC (permalink / raw) To: Werner LEMBERG; +Cc: 709 Werner LEMBERG <wl@gnu.org> writes: > Starting `emacs -Q -fn monospace-12', (x-select-font) shows > > Andale Mono - Standard - 12 > > and `C-u C-x =' reports > > xft:-monotype-Andale Mono-normal-normal-normal-*-21-*-*-*-m-0-iso10646-1 Could you do EMACS_FONT_LOG=1 emacs -Q -fn monospace-12 M-x font-show-log RET and show the results? ^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#709: font selection problem 2008-10-16 16:08 ` Chong Yidong @ 2008-10-16 20:11 ` Werner LEMBERG 2008-10-17 19:58 ` Chong Yidong 0 siblings, 1 reply; 14+ messages in thread From: Werner LEMBERG @ 2008-10-16 20:11 UTC (permalink / raw) To: cyd; +Cc: 709 > Could you do > > EMACS_FONT_LOG=1 emacs -Q -fn monospace-12 > M-x font-show-log RET > > and show the results? Below. I've also attached the output of `font-show-log' for EMACS_FONT_LOG=1 emacs -Q Werner ====================================================================== xfont-list: -*-Monospace-*-*-*-*-*-*-*-*-*-*-iso8859-1 xfont-list: monospace-12 ftfont-list: -*-Monospace-*-iso8859-1 -monotype-Andale Mono-normal-normal-normal-*-m-0-iso10646-1 list: -*-Monospace-*-iso8859-1 -monotype-Andale Mono-normal-normal-normal-*-m-0-iso10646-1 open: -monotype-Andale Mono-normal-normal-normal-*-m-0-iso10646-1 xft:-monotype-Andale Mono-normal-normal-normal-*-21-*-m-0-iso10646-1 xfont-list: -monotype-Andale Mono-*-*-*-*-*-*-*-*-*-*-iso8859-1 -monotype-andale mono-medium-r-normal--*-0-0-c-0-iso8859-1 -monotype-andale mono-medium-o-normal--*-0-0-c-0-iso8859-1 -monotype-andale mono-medium-i-normal--*-0-0-c-0-iso8859-1 -monotype-andale mono-bold-r-normal--*-0-0-c-0-iso8859-1 -monotype-andale mono-bold-o-normal--*-0-0-c-0-iso8859-1 -monotype-andale mono-bold-i-normal--*-0-0-c-0-iso8859-1 ftfont-list: -monotype-Andale Mono-*-iso8859-1 -monotype-Andale Mono-normal-normal-normal-*-m-0-iso10646-1 list: -monotype-Andale Mono-*-iso8859-1 -monotype-andale mono-medium-r-normal--*-0-0-c-0-iso8859-1 -monotype-andale mono-medium-o-normal--*-0-0-c-0-iso8859-1 -monotype-andale mono-medium-i-normal--*-0-0-c-0-iso8859-1 -monotype-andale mono-bold-r-normal--*-0-0-c-0-iso8859-1 -monotype-andale mono-bold-o-normal--*-0-0-c-0-iso8859-1 -monotype-andale mono-bold-i-normal--*-0-0-c-0-iso8859-1 -monotype-Andale Mono-normal-normal-normal-*-m-0-iso10646-1 sort-by: -monotype-Andale Mono-normal-normal-normal-*-21-*-iso8859-1 x:-monotype-andale mono-medium-r-normal--*-0-0-c-0-iso8859-1 open: -monotype-andale mono-medium-r-normal--*-0-0-c-0-iso8859-1 x:-monotype-andale mono-medium-r-normal--21-152-100-100-c-126-iso8859-1 list: -monotype-Andale Mono-*-iso8859-1 -monotype-andale mono-medium-r-normal--*-0-0-c-0-iso8859-1 -monotype-andale mono-medium-o-normal--*-0-0-c-0-iso8859-1 -monotype-andale mono-medium-i-normal--*-0-0-c-0-iso8859-1 -monotype-andale mono-bold-r-normal--*-0-0-c-0-iso8859-1 -monotype-andale mono-bold-o-normal--*-0-0-c-0-iso8859-1 -monotype-andale mono-bold-i-normal--*-0-0-c-0-iso8859-1 -monotype-Andale Mono-normal-normal-normal-*-m-0-iso10646-1 sort-by: -monotype-Andale Mono-normal-italic-normal-*-21-*-iso8859-1 x:-monotype-andale mono-medium-i-normal--*-0-0-c-0-iso8859-1 open: -monotype-andale mono-medium-i-normal--*-0-0-c-0-iso8859-1 x:-monotype-andale mono-medium-i-normal--21-152-100-100-c-126-iso8859-1 xfont-list: -monotype-Monospace-*-*-*--*-*-*-*-*-*-iso8859-1 xfont-list: monospace-12 ftfont-list: -monotype-Monospace-*--*-iso8859-1 -monotype-Andale Mono-normal-normal-normal-*-m-0-iso10646-1 list: -monotype-Monospace-*--*-iso8859-1 -monotype-Andale Mono-normal-normal-normal-*-m-0-iso10646-1 open: -monotype-Andale Mono-normal-normal-normal-*-m-0-iso10646-1 xft:-monotype-Andale Mono-normal-normal-normal-*-21-*-m-0-iso10646-1 xfont-list: -monotype-Andale Mono-*-*-*-*-*-*-*-*-m-*-iso10646-1 xfont-list: monospace-12 ftfont-list: -monotype-Andale Mono-*-m-*-iso10646-1 -monotype-Andale Mono-normal-normal-normal-*-m-0-iso10646-1 list: -monotype-Andale Mono-*-normal-normal-*-m-0-iso10646-1 -monotype-Andale Mono-normal-normal-normal-*-m-0-iso10646-1 open: -monotype-Andale Mono-normal-normal-normal-*-m-0-iso10646-1 xft:-monotype-Andale Mono-normal-normal-normal-*-21-*-m-0-iso10646-1 list: -monotype-Andale Mono-*-normal-normal-*-m-0-iso10646-1 -monotype-Andale Mono-normal-normal-normal-*-m-0-iso10646-1 list: -monotype-Andale Mono-*-normal-normal-*-m-0-iso10646-1 -monotype-Andale Mono-normal-normal-normal-*-m-0-iso10646-1 list: -monotype-Andale Mono-*-normal-normal-*-m-0-iso10646-1 -monotype-Andale Mono-normal-normal-normal-*-m-0-iso10646-1 list: -monotype-Andale Mono-normal-*-normal-*-m-0-iso10646-1 -monotype-Andale Mono-normal-normal-normal-*-m-0-iso10646-1 ====================================================================== xfont-list: -*-fixed-*-*-*--*-*-*-*-*-*-iso8859-1 -sony-fixed-medium-r-normal--24-*-75-75-c-120-iso8859-1 -sony-fixed-medium-r-normal--24-*-100-100-c-120-iso8859-1 -sony-fixed-medium-r-normal--16-*-75-75-c-80-iso8859-1 -sony-fixed-medium-r-normal--16-*-100-100-c-80-iso8859-1 -sony-fixed-medium-i-normal--24-*-100-100-c-120-iso8859-1 -sony-fixed-bold-r-normal--24-*-100-100-c-120-iso8859-1 -sony-fixed-bold-i-normal--24-*-100-100-c-120-iso8859-1 -misc-fixed-medium-r-semicondensed--13-*-75-75-c-60-iso8859-1 -misc-fixed-medium-r-semicondensed--13-*-100-100-c-60-iso8859-1 -misc-fixed-medium-r-semicondensed--12-*-100-100-c-60-iso8859-1 -misc-fixed-medium-r-semicondensed--12-*-75-75-c-60-iso8859-1 -misc-fixed-medium-r-normal--9-*-75-75-c-60-iso8859-1 -misc-fixed-medium-r-normal--9-*-100-100-c-60-iso8859-1 -misc-fixed-medium-r-normal--8-*-75-75-c-50-iso8859-1 -misc-fixed-medium-r-normal--8-*-100-100-c-50-iso8859-1 -misc-fixed-medium-r-normal--7-*-75-75-c-50-iso8859-1 -misc-fixed-medium-r-normal--7-*-100-100-c-50-iso8859-1 -misc-fixed-medium-r-normal--6-*-75-75-c-40-iso8859-1 -misc-fixed-medium-r-normal--20-*-75-75-c-100-iso8859-1 ... ftfont-list: -*-fixed-*--*-iso8859-1 -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1 -Efont-Fixed-normal-normal-normal-*-14-*-m-*-iso10646-1 -Misc-Fixed-normal-normal-semi-condensed-*-12-*-c-*-iso10646-1 -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1 -Misc-Fixed-normal-italic-normal-*-10-*-c-*-iso10646-1 -ETL-Fixed-normal-normal-normal-*-18-*-c-*-iso10646-1 -Misc-Fixed-normal-normal-normal-*-10-*-c-*-iso10646-1 -Efont-Fixed-bold-normal-normal-*-12-*-m-*-iso10646-1 -Misc-Fixed-normal-normal-normal-*-14-*-c-*-iso10646-1 -Efont-Fixed-normal-normal-normal-*-14-*-m-*-iso10646-1 -Misc-Fixed-normal-normal-normal-*-13-*-c-*-iso10646-1 -Efont-Fixed-bold-normal-normal-*-10-*-m-*-iso10646-1 -Misc-Fixed-normal-normal-normal-*-15-*-c-*-iso10646-1 -Misc-Fixed-normal-normal-normal-*-9-*-c-*-iso10646-1 -Misc-Fixed-bold-normal-normal-*-10-*-c-*-iso10646-1 -ETL-Fixed-normal-normal-normal-*-40-*-c-*-iso10646-1 -ETL-Fixed-bold-italic-normal-*-18-*-c-*-iso10646-1 -ETL-Fixed-normal-italic-normal-*-18-*-c-*-iso10646-1 -Efont-Fixed-bold-normal-normal-*-16-*-m-*-iso10646-1 ... list: -*-fixed-medium-r-*--*-iso8859-1 -alias-fixed-medium-r-normal--10-*-75-75-c-50-iso8859-1 -alias-fixed-medium-r-normal--12-*-75-75-c-60-iso8859-1 -alias-fixed-medium-r-normal--14-*-75-75-c-70-iso8859-1 -alias-fixed-medium-r-normal--16-*-75-75-c-80-iso8859-1 -alias-fixed-medium-r-normal--20-*-75-75-c-100-iso8859-1 -alias-fixed-medium-r-normal--24-*-75-75-c-120-iso8859-1 -etl-fixed-medium-r-normal--14-*-72-72-c-70-iso8859-1 -etl-fixed-medium-r-normal--16-*-72-72-c-80-iso8859-1 -etl-fixed-medium-r-normal--18-*-72-72-c-90-iso8859-1 -etl-fixed-medium-r-normal--24-*-72-72-c-120-iso8859-1 -etl-fixed-medium-r-normal--40-*-72-72-c-200-iso8859-1 -kappa-fixed-medium-r-normal--20-*-75-75-c-100-iso8859-1 -misc-fixed-medium-r-normal--10-*-75-75-c-60-iso8859-1 -misc-fixed-medium-r-normal--10-*-100-100-c-60-iso8859-1 -misc-fixed-medium-r-normal--10-*-75-75-c-50-iso8859-1 -misc-fixed-medium-r-normal--13-*-100-100-c-70-iso8859-1 -misc-fixed-medium-r-normal--13-*-100-100-c-80-iso8859-1 -misc-fixed-medium-r-normal--13-*-75-75-c-70-iso8859-1 -misc-fixed-medium-r-normal--13-*-75-75-c-80-iso8859-1 ... sort-by: -*-fixed-medium-r-normal--16-*-iso8859-1 x:-alias-fixed-medium-r-normal--16-*-75-75-c-80-iso8859-1 open: -alias-fixed-medium-r-normal--16-*-75-75-c-80-iso8859-1 x:-shinonome-gothic-medium-r-normal--16-150-75-75-c-80-iso8859-1 xfont-list: -shinonome-gothic-*-*-*-*-*-*-*-*-*-*-iso8859-1 -shinonome-gothic-medium-r-normal--16-*-75-75-c-80-iso8859-1 -shinonome-gothic-medium-r-normal--14-*-75-75-c-70-iso8859-1 -shinonome-gothic-medium-r-normal--12-*-75-75-c-60-iso8859-1 -shinonome-gothic-medium-i-normal--16-*-75-75-c-80-iso8859-1 -shinonome-gothic-medium-i-normal--14-*-75-75-c-70-iso8859-1 -shinonome-gothic-medium-i-normal--12-*-75-75-c-60-iso8859-1 -shinonome-gothic-bold-r-normal--16-*-75-75-c-80-iso8859-1 -shinonome-gothic-bold-r-normal--14-*-75-75-c-70-iso8859-1 -shinonome-gothic-bold-r-normal--12-*-75-75-c-60-iso8859-1 -shinonome-gothic-bold-i-normal--16-*-75-75-c-80-iso8859-1 -shinonome-gothic-bold-i-normal--14-*-75-75-c-70-iso8859-1 -shinonome-gothic-bold-i-normal--12-*-75-75-c-60-iso8859-1 ftfont-list: -shinonome-gothic-*-iso8859-1 -Shinonome-Gothic-normal-italic-normal-*-12-*-c-*-iso10646-1 -Shinonome-Gothic-bold-italic-normal-*-12-*-c-*-iso10646-1 -Shinonome-Gothic-normal-normal-normal-*-12-*-c-*-iso10646-1 -Shinonome-Gothic-bold-normal-normal-*-12-*-c-*-iso10646-1 list: -shinonome-gothic-*-iso8859-1 -shinonome-gothic-medium-r-normal--16-*-75-75-c-80-iso8859-1 -shinonome-gothic-medium-r-normal--14-*-75-75-c-70-iso8859-1 -shinonome-gothic-medium-r-normal--12-*-75-75-c-60-iso8859-1 -shinonome-gothic-medium-i-normal--16-*-75-75-c-80-iso8859-1 -shinonome-gothic-medium-i-normal--14-*-75-75-c-70-iso8859-1 -shinonome-gothic-medium-i-normal--12-*-75-75-c-60-iso8859-1 -shinonome-gothic-bold-r-normal--16-*-75-75-c-80-iso8859-1 -shinonome-gothic-bold-r-normal--14-*-75-75-c-70-iso8859-1 -shinonome-gothic-bold-r-normal--12-*-75-75-c-60-iso8859-1 -shinonome-gothic-bold-i-normal--16-*-75-75-c-80-iso8859-1 -shinonome-gothic-bold-i-normal--14-*-75-75-c-70-iso8859-1 -shinonome-gothic-bold-i-normal--12-*-75-75-c-60-iso8859-1 -Shinonome-Gothic-normal-italic-normal-*-12-*-c-*-iso10646-1 -Shinonome-Gothic-bold-italic-normal-*-12-*-c-*-iso10646-1 -Shinonome-Gothic-normal-normal-normal-*-12-*-c-*-iso10646-1 -Shinonome-Gothic-bold-normal-normal-*-12-*-c-*-iso10646-1 sort-by: -shinonome-gothic-normal-normal-normal-*-16-*-iso8859-1 x:-shinonome-gothic-medium-r-normal--16-*-75-75-c-80-iso8859-1 open: -shinonome-gothic-medium-r-normal--16-*-75-75-c-80-iso8859-1 x:-shinonome-gothic-medium-r-normal--16-150-75-75-c-80-iso8859-1 list: -shinonome-gothic-*-iso8859-1 -shinonome-gothic-medium-r-normal--16-*-75-75-c-80-iso8859-1 -shinonome-gothic-medium-r-normal--14-*-75-75-c-70-iso8859-1 -shinonome-gothic-medium-r-normal--12-*-75-75-c-60-iso8859-1 -shinonome-gothic-medium-i-normal--16-*-75-75-c-80-iso8859-1 -shinonome-gothic-medium-i-normal--14-*-75-75-c-70-iso8859-1 -shinonome-gothic-medium-i-normal--12-*-75-75-c-60-iso8859-1 -shinonome-gothic-bold-r-normal--16-*-75-75-c-80-iso8859-1 -shinonome-gothic-bold-r-normal--14-*-75-75-c-70-iso8859-1 -shinonome-gothic-bold-r-normal--12-*-75-75-c-60-iso8859-1 -shinonome-gothic-bold-i-normal--16-*-75-75-c-80-iso8859-1 -shinonome-gothic-bold-i-normal--14-*-75-75-c-70-iso8859-1 -shinonome-gothic-bold-i-normal--12-*-75-75-c-60-iso8859-1 -Shinonome-Gothic-normal-italic-normal-*-12-*-c-*-iso10646-1 -Shinonome-Gothic-bold-italic-normal-*-12-*-c-*-iso10646-1 -Shinonome-Gothic-normal-normal-normal-*-12-*-c-*-iso10646-1 -Shinonome-Gothic-bold-normal-normal-*-12-*-c-*-iso10646-1 sort-by: -shinonome-gothic-normal-italic-normal-*-16-*-iso8859-1 x:-shinonome-gothic-medium-i-normal--16-*-75-75-c-80-iso8859-1 open: -shinonome-gothic-medium-i-normal--16-*-75-75-c-80-iso8859-1 x:-shinonome-gothic-medium-i-normal--16-150-75-75-c-80-iso8859-1 xfont-list: -shinonome-gothic-*-*-*--*-*-*-*-c-*-iso8859-1 -shinonome-gothic-medium-r-normal--16-*-75-75-c-80-iso8859-1 -shinonome-gothic-medium-r-normal--14-*-75-75-c-70-iso8859-1 -shinonome-gothic-medium-r-normal--12-*-75-75-c-60-iso8859-1 -shinonome-gothic-medium-i-normal--16-*-75-75-c-80-iso8859-1 -shinonome-gothic-medium-i-normal--14-*-75-75-c-70-iso8859-1 -shinonome-gothic-medium-i-normal--12-*-75-75-c-60-iso8859-1 -shinonome-gothic-bold-r-normal--16-*-75-75-c-80-iso8859-1 -shinonome-gothic-bold-r-normal--14-*-75-75-c-70-iso8859-1 -shinonome-gothic-bold-r-normal--12-*-75-75-c-60-iso8859-1 -shinonome-gothic-bold-i-normal--16-*-75-75-c-80-iso8859-1 -shinonome-gothic-bold-i-normal--14-*-75-75-c-70-iso8859-1 -shinonome-gothic-bold-i-normal--12-*-75-75-c-60-iso8859-1 ftfont-list: -shinonome-gothic-*--*-c-*-iso8859-1 -Shinonome-Gothic-normal-italic-normal-*-12-*-c-*-iso10646-1 -Shinonome-Gothic-bold-italic-normal-*-12-*-c-*-iso10646-1 -Shinonome-Gothic-normal-normal-normal-*-12-*-c-*-iso10646-1 -Shinonome-Gothic-bold-normal-normal-*-12-*-c-*-iso10646-1 list: -shinonome-gothic-*-r-normal--*-75-75-c-80-iso8859-1 -shinonome-gothic-bold-r-normal--16-*-75-75-c-80-iso8859-1 -shinonome-gothic-medium-r-normal--16-*-75-75-c-80-iso8859-1 -Shinonome-Gothic-bold-normal-normal-*-12-*-c-*-iso10646-1 -Shinonome-Gothic-normal-normal-normal-*-12-*-c-*-iso10646-1 sort-by: -shinonome-gothic-light-r-normal--16-*-75-75-c-80-iso8859-1 x:-shinonome-gothic-medium-r-normal--16-*-75-75-c-80-iso8859-1 open: -shinonome-gothic-medium-r-normal--16-*-75-75-c-80-iso8859-1 x:-shinonome-gothic-medium-r-normal--16-150-75-75-c-80-iso8859-1 list: -shinonome-gothic-*-r-normal--*-75-75-c-80-iso8859-1 -shinonome-gothic-bold-r-normal--16-*-75-75-c-80-iso8859-1 -shinonome-gothic-medium-r-normal--16-*-75-75-c-80-iso8859-1 -Shinonome-Gothic-bold-normal-normal-*-12-*-c-*-iso10646-1 -Shinonome-Gothic-normal-normal-normal-*-12-*-c-*-iso10646-1 sort-by: -shinonome-gothic-light-r-normal--16-*-75-75-c-80-iso8859-1 x:-shinonome-gothic-medium-r-normal--16-*-75-75-c-80-iso8859-1 list: -shinonome-gothic-*-r-normal--*-75-75-c-80-iso8859-1 -shinonome-gothic-bold-r-normal--16-*-75-75-c-80-iso8859-1 -shinonome-gothic-medium-r-normal--16-*-75-75-c-80-iso8859-1 -Shinonome-Gothic-bold-normal-normal-*-12-*-c-*-iso10646-1 -Shinonome-Gothic-normal-normal-normal-*-12-*-c-*-iso10646-1 sort-by: -shinonome-gothic-bold-r-normal--16-*-75-75-c-80-iso8859-1 x:-shinonome-gothic-bold-r-normal--16-*-75-75-c-80-iso8859-1 open: -shinonome-gothic-bold-r-normal--16-*-75-75-c-80-iso8859-1 x:-shinonome-gothic-bold-r-normal--16-150-75-75-c-80-iso8859-1 list: -shinonome-gothic-*-iso8859-1 -shinonome-gothic-medium-r-normal--16-*-75-75-c-80-iso8859-1 -shinonome-gothic-medium-r-normal--14-*-75-75-c-70-iso8859-1 -shinonome-gothic-medium-r-normal--12-*-75-75-c-60-iso8859-1 -shinonome-gothic-medium-i-normal--16-*-75-75-c-80-iso8859-1 -shinonome-gothic-medium-i-normal--14-*-75-75-c-70-iso8859-1 -shinonome-gothic-medium-i-normal--12-*-75-75-c-60-iso8859-1 -shinonome-gothic-bold-r-normal--16-*-75-75-c-80-iso8859-1 -shinonome-gothic-bold-r-normal--14-*-75-75-c-70-iso8859-1 -shinonome-gothic-bold-r-normal--12-*-75-75-c-60-iso8859-1 -shinonome-gothic-bold-i-normal--16-*-75-75-c-80-iso8859-1 -shinonome-gothic-bold-i-normal--14-*-75-75-c-70-iso8859-1 -shinonome-gothic-bold-i-normal--12-*-75-75-c-60-iso8859-1 -Shinonome-Gothic-normal-italic-normal-*-12-*-c-*-iso10646-1 -Shinonome-Gothic-bold-italic-normal-*-12-*-c-*-iso10646-1 -Shinonome-Gothic-normal-normal-normal-*-12-*-c-*-iso10646-1 -Shinonome-Gothic-bold-normal-normal-*-12-*-c-*-iso10646-1 sort-by: -shinonome-gothic-normal-normal-normal-*-16-*-iso8859-1 x:-shinonome-gothic-medium-r-normal--16-*-75-75-c-80-iso8859-1 list: -shinonome-gothic-*-r-normal--*-75-75-c-80-iso8859-1 -shinonome-gothic-bold-r-normal--16-*-75-75-c-80-iso8859-1 -shinonome-gothic-medium-r-normal--16-*-75-75-c-80-iso8859-1 -Shinonome-Gothic-bold-normal-normal-*-12-*-c-*-iso10646-1 -Shinonome-Gothic-normal-normal-normal-*-12-*-c-*-iso10646-1 sort-by: -shinonome-gothic-bold-r-normal--16-*-75-75-c-80-iso8859-1 x:-shinonome-gothic-bold-r-normal--16-*-75-75-c-80-iso8859-1 list: -shinonome-gothic-*-r-normal--*-75-75-c-80-iso8859-1 -shinonome-gothic-bold-r-normal--16-*-75-75-c-80-iso8859-1 -shinonome-gothic-medium-r-normal--16-*-75-75-c-80-iso8859-1 -Shinonome-Gothic-bold-normal-normal-*-12-*-c-*-iso10646-1 -Shinonome-Gothic-normal-normal-normal-*-12-*-c-*-iso10646-1 sort-by: -shinonome-gothic-bold-r-normal--16-*-75-75-c-80-iso8859-1 x:-shinonome-gothic-bold-r-normal--16-*-75-75-c-80-iso8859-1 list: -shinonome-gothic-medium-*-normal--*-75-75-c-80-iso8859-1 -shinonome-gothic-medium-i-normal--16-*-75-75-c-80-iso8859-1 -shinonome-gothic-medium-r-normal--16-*-75-75-c-80-iso8859-1 -Shinonome-Gothic-normal-normal-normal-*-12-*-c-*-iso10646-1 -Shinonome-Gothic-normal-italic-normal-*-12-*-c-*-iso10646-1 sort-by: -shinonome-gothic-medium-italic-normal--16-*-75-75-c-80-iso8859-1 x:-shinonome-gothic-medium-i-normal--16-*-75-75-c-80-iso8859-1 open: -shinonome-gothic-medium-i-normal--16-*-75-75-c-80-iso8859-1 x:-shinonome-gothic-medium-i-normal--16-150-75-75-c-80-iso8859-1 ^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#709: font selection problem 2008-10-16 20:11 ` Werner LEMBERG @ 2008-10-17 19:58 ` Chong Yidong 2008-10-17 20:27 ` Werner LEMBERG 0 siblings, 1 reply; 14+ messages in thread From: Chong Yidong @ 2008-10-17 19:58 UTC (permalink / raw) To: Werner LEMBERG; +Cc: 709 From what I understand, your default font is -shinonome-gothic-medium-i-normal--16-*-75-75-c-80-iso8859-1 Because this is an X (non-Fontconfig) font, and the GTK file selection dialog only handles Fontconfig fonts, the dialog cannot show your current font. That's why it defaults to Sans, Standard, 12 pt. What I don't understand, though is why Emacs fails to find the Monospace font on your system. Does `emacs -Q -fn "mono-12"' give results different from `emacs -Q -fn "monospace-12"'? ^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#709: font selection problem 2008-10-17 19:58 ` Chong Yidong @ 2008-10-17 20:27 ` Werner LEMBERG 2008-10-18 15:42 ` Chong Yidong 0 siblings, 1 reply; 14+ messages in thread From: Werner LEMBERG @ 2008-10-17 20:27 UTC (permalink / raw) To: cyd; +Cc: 709 > Because this is an X (non-Fontconfig) font, and the GTK file > selection dialog only handles Fontconfig fonts, the dialog cannot > show your current font. Bad. > What I don't understand, though is why Emacs fails to find the > Monospace font on your system. Does `emacs -Q -fn "mono-12"' give > results different from `emacs -Q -fn "monospace-12"'? No. They are the same. Werner ^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#709: font selection problem 2008-10-17 20:27 ` Werner LEMBERG @ 2008-10-18 15:42 ` Chong Yidong 2008-10-19 2:45 ` Werner LEMBERG 0 siblings, 1 reply; 14+ messages in thread From: Chong Yidong @ 2008-10-18 15:42 UTC (permalink / raw) To: Werner LEMBERG; +Cc: 709 If I understand you right, running emacs with `-fn monospace-12' gives Andale Mono as the default font, and running emacs with no font argument gives Shinonome Gothic as the default font? Is that right? This is strange, since xft should take precedence over x. What happens if you add the following line to .Xresources and do `xrdb .Xresources'? Emacs*FontBackend: xft, x Also, which distribution are you running on? ^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#709: font selection problem 2008-10-18 15:42 ` Chong Yidong @ 2008-10-19 2:45 ` Werner LEMBERG 0 siblings, 0 replies; 14+ messages in thread From: Werner LEMBERG @ 2008-10-19 2:45 UTC (permalink / raw) To: cyd; +Cc: 709 > If I understand you right, running emacs with `-fn monospace-12' > gives Andale Mono as the default font, and running emacs with no > font argument gives Shinonome Gothic as the default font? Is that > right? Yep. > This is strange, since xft should take precedence over x. What > happens if you add the following line to .Xresources and do `xrdb > .Xresources'? > > Emacs*FontBackend: xft, x I did that. Starting gdb --args emacs -Q gives now xft:-ETL-Fixed-normal-normal-normal-*-16-*-*-*-c-*-iso10646-1 (#x1C) for characters within the *scratch* buffer, and setting the default font now suggests Fixed - Standard - 9 and repeated calls don't change this font. Note, however, that there is a buglet: If I select size `14', Emacs gives xft:-ETL-Fixed-normal-normal-normal-*-24-*-*-*-c-*-iso10646-1 (#x1C) and displays this in the font preview of the selection window. On the other hand, if I select, say, `24', Emacs selects xft:-ETL-Fixed-normal-normal-normal-*-40-*-*-*-c-*-iso10646-1 (#x1C) in the *sratch* buffer, but this size isn't shown in the font preview: it displays the ETL-24 font too for this size. With other words, font preview doesn't apply correct scaling. BTW, what unit are the size values? Points? Pixels? This should be indicated in the font selection menu. It would be nice if the user could select that. > Also, which distribution are you running on? openSuSE 10.2 (with additional fonts installed by me); this is quite old, but never touch a running system :-) Werner ^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#709: font selection problem @ 2008-08-13 13:14 Werner LEMBERG 0 siblings, 0 replies; 14+ messages in thread From: Werner LEMBERG @ 2008-08-13 13:14 UTC (permalink / raw) To: bug-gnu-emacs [cvs version 2008-08-11, gtk, running within KDE 3] I've just selected Options->Set Default Font->DejaVu Sans Mono, Book, 14pt Doing the same a second time, it is usual behaviour in most applications to present the previously selected font as the default (as a visual guide so that the user knows which font is currently selected). However, emacs doesn't do that. It presents Sans, Standard, 12pt instead. This looks like a bug since other previously selected fonts *are* presented correctly as the default. Werner ^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2009-01-18 6:11 UTC | newest] Thread overview: 14+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-08-13 14:55 bug#709: font selection problem Chong Yidong 2008-08-14 4:54 ` Werner LEMBERG -- strict thread matches above, loose matches on Subject: below -- 2009-01-16 18:16 Chong Yidong 2009-01-18 6:11 ` Werner LEMBERG [not found] <87zll7uh44.fsf@cyd.mit.edu> [not found] ` <20081015.074036.233943854.wl@gnu.org> [not found] ` <87iqrtptx6.fsf@cyd.mit.edu> [not found] ` <20081015.233805.163660517.wl@gnu.org> 2008-10-15 23:05 ` Chong Yidong 2008-10-15 23:11 ` Chong Yidong 2008-10-16 4:41 ` Werner LEMBERG 2008-10-16 16:08 ` Chong Yidong 2008-10-16 20:11 ` Werner LEMBERG 2008-10-17 19:58 ` Chong Yidong 2008-10-17 20:27 ` Werner LEMBERG 2008-10-18 15:42 ` Chong Yidong 2008-10-19 2:45 ` Werner LEMBERG 2008-08-13 13:14 Werner LEMBERG
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.