unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#1094: 23.0.60; Emacs Default Font
@ 2008-10-05 21:44 Vinicius Jose Latorre
  0 siblings, 0 replies; 7+ messages in thread
From: Vinicius Jose Latorre @ 2008-10-05 21:44 UTC (permalink / raw)
  To: GNU Emacs (pretest)

[-- Attachment #1: Type: text/plain, Size: 3589 bytes --]


Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing 
list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:



I would like to know what happened with Emacs default font, see images 
attached in this email.

I've just downloaded Emacs via CVS and compiled (see image emacs-new.png):

GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
 of 2008-10-05 on debian-hfit


My old Emacs was (see image emacs-old.png):

GNU Emacs 23.0.60.2 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
 of 2008-05-26 on debian-hfit


My ~/.Xresources file is:

Mozilla*font:fixed
Firefox*font:fixed
Emacs*font:fixed


Why the new Emacs default font is proportional instead of monospaced?



If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/home/download/emacs/share/emacs/23.0.60/etc/DEBUG for instructions.


In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
 of 2008-10-05 on debian-hfit
Windowing system distributor `The X.Org Foundation', version 11.0.70101000
configured using `configure  '--prefix=/home/download/emacs''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  display-time-mode: t
  msb-mode: t
  show-paren-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<up> <up> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <down> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar>
<help-menu> <about-emacs> <help-echo> <down-mouse-5>
<mouse-5> <down-mouse-4> <mouse-4> <down-mouse-5> <mouse-5>
<down-mouse-4> <mouse-4> <down-mouse-4> <mouse-4> <down-mouse-5>
<mouse-5> <down-mouse-4> <mouse-4> <down-mouse-1> <mouse-1>
<down-mouse-3> <mouse-3> <help-echo> <down-mouse-1>
<mouse-1> <down-mouse-3> <mouse-3> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <menu-bar> <help-menu> <se
nd-emacs-bug-report>

Recent messages:
Timid completion mode is enabled.
Loading ispell...done
For information about GNU Emacs and the GNU system, type C-h C-a.
byte-code: Beginning of buffer


[-- Attachment #2: emacs-new.png --]
[-- Type: image/png, Size: 27555 bytes --]

[-- Attachment #3: emacs-old.png --]
[-- Type: image/png, Size: 27296 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#1094: 23.0.60; Emacs Default Font
@ 2008-10-06 18:57 Chong Yidong
  2008-10-06 23:11 ` Vinicius Jose Latorre
  0 siblings, 1 reply; 7+ messages in thread
From: Chong Yidong @ 2008-10-06 18:57 UTC (permalink / raw)
  To: Vinicius Jose Latorre; +Cc: 1094

> I would like to know what happened with Emacs default font, see images
> attached in this email.
>
> I've just downloaded Emacs via CVS and compiled (see image
> emacs-new.png):
>
> Why the new Emacs default font is proportional instead of monospaced?

The font shown in the screenshot you attached is monospaced...






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#1094: 23.0.60; Emacs Default Font
  2008-10-06 18:57 bug#1094: 23.0.60; Emacs Default Font Chong Yidong
@ 2008-10-06 23:11 ` Vinicius Jose Latorre
  2008-10-07 18:43   ` Chong Yidong
  0 siblings, 1 reply; 7+ messages in thread
From: Vinicius Jose Latorre @ 2008-10-06 23:11 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 1094

Chong Yidong wrote:
>> I would like to know what happened with Emacs default font, see images
>> attached in this email.
>>
>> I've just downloaded Emacs via CVS and compiled (see image
>> emacs-new.png):
>>
>> Why the new Emacs default font is proportional instead of monospaced?
>>     
>
> The font shown in the screenshot you attached is monospaced...
>   

Hmm, yes, indeed, it's monospaced, I should pay more attention.

But the font is another one, why?







^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#1094: 23.0.60; Emacs Default Font
  2008-10-06 23:11 ` Vinicius Jose Latorre
@ 2008-10-07 18:43   ` Chong Yidong
  2008-10-08 13:36     ` Vinicius Jose Latorre
  0 siblings, 1 reply; 7+ messages in thread
From: Chong Yidong @ 2008-10-07 18:43 UTC (permalink / raw)
  To: Vinicius Jose Latorre; +Cc: 1094

Vinicius Jose Latorre <viniciusjl@ig.com.br> writes:

>>> I would like to know what happened with Emacs default font, see
>>> images attached in this email.
>
> Hmm, yes, indeed, it's monospaced, I should pay more attention.
>
> But the font is another one, why?

In June, we changed Emacs to try using Monospace-12 as the default font,
if Emacs is compiled with XFT support.  Monospace should be an
anti-aliased font.

If this change is responsible for what you're seeing, I'm not sure why
the screenshot you provided shows a non-antialiased font.

Could you check if your Emacs is compiled with libxft?  Also, what is
the default font you currently see?  What does the menu item
Options->Set Default Font show?






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#1094: 23.0.60; Emacs Default Font
  2008-10-07 18:43   ` Chong Yidong
@ 2008-10-08 13:36     ` Vinicius Jose Latorre
  2008-10-11 22:18       ` Chong Yidong
  0 siblings, 1 reply; 7+ messages in thread
From: Vinicius Jose Latorre @ 2008-10-08 13:36 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 1094

Chong Yidong wrote:
> Vinicius Jose Latorre <viniciusjl@ig.com.br> writes:
>
>>>> I would like to know what happened with Emacs default font, see
>>>> images attached in this email.
>> Hmm, yes, indeed, it's monospaced, I should pay more attention.
>>
>> But the font is another one, why?
>
> In June, we changed Emacs to try using Monospace-12 as the default font,
> if Emacs is compiled with XFT support. Monospace should be an
> anti-aliased font.
>
> If this change is responsible for what you're seeing, I'm not sure why
> the screenshot you provided shows a non-antialiased font.
>
> Could you check if your Emacs is compiled with libxft? Also, what is
> the default font you currently see? What does the menu item
> Options->Set Default Font show?

Yes, it was compiled with libxft, see:


Configured for `i686-pc-linux-gnu'.

  Where should the build process find the source code?    
/home/vinicius/work/emacs
  What operating system and machine description files should Emacs use?
        `s/gnu-linux.h' and `m/intel386.h'
  What compiler should emacs be built with?               gcc -g -O2 
-Wno-pointer-sign
  Should Emacs use the GNU version of malloc?             yes
      (Using Doug Lea's new malloc from the GNU C Library.)
  Should Emacs use a relocating allocator for buffers?    yes
  Should Emacs use mmap(2) for buffer allocation?         no
  What window system should Emacs use?                    x11
  What toolkit should Emacs use?                          GTK
  Where do we find X Windows header files?                Standard dirs
  Where do we find X Windows libraries?                   Standard dirs
  Does Emacs use -lXaw3d?                                 no
  Does Emacs use -lXpm?                                   yes
  Does Emacs use -ljpeg?                                  yes
  Does Emacs use -ltiff?                                  yes
  Does Emacs use a gif library?                           yes -lgif
  Does Emacs use -lpng?                                   yes
  Does Emacs use -lrsvg-2?                                yes
  Does Emacs use -lgpm?                                   yes
  Does Emacs use -ldbus?                                  yes
  Does Emacs use -lfreetype?                              yes
  Does Emacs use -lm17n-flt?                              no
  Does Emacs use -lotf?                                   no
  Does Emacs use -lxft?                                   yes
  Does Emacs use toolkit scroll bars?                     yes


The menu item Options->Set Default Font shows:   Sans Regular 12

My ~/.Xresources file is:

Mozilla*font:fixed
Firefox*font:fixed
Emacs*font:fixed








^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#1094: 23.0.60; Emacs Default Font
  2008-10-08 13:36     ` Vinicius Jose Latorre
@ 2008-10-11 22:18       ` Chong Yidong
  2008-10-14  1:55         ` Vinicius Jose Latorre
  0 siblings, 1 reply; 7+ messages in thread
From: Chong Yidong @ 2008-10-11 22:18 UTC (permalink / raw)
  To: Vinicius Jose Latorre; +Cc: 1094

> The menu item Options->Set Default Font shows:   Sans Regular 12
>
> My ~/.Xresources file is:
>
> Mozilla*font:fixed
> Firefox*font:fixed
> Emacs*font:fixed

Aha.  I think you'll find that the font you're seeing is

-sony-fixed-medium-r-normal--16-120-100-100-c-80-iso8859-1

or something like that.  I guess the problem is that there is more than
one font named "fixed" in the system.  Recently, Handa changed the "font
scoring" system which tells Emacs which font to use when there are
several possibilities.

To get the exact font you want, you can specify an xlfd name like
-misc-fixed-medium-r-*--13-*-*-*-*-*-*-*, or a fontconfig/GTK font name.
For instance,

Emacs*font:Monospace-10

works great for me.






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#1094: 23.0.60; Emacs Default Font
  2008-10-11 22:18       ` Chong Yidong
@ 2008-10-14  1:55         ` Vinicius Jose Latorre
  0 siblings, 0 replies; 7+ messages in thread
From: Vinicius Jose Latorre @ 2008-10-14  1:55 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 1094

Chong Yidong wrote:
>> The menu item Options->Set Default Font shows:   Sans Regular 12
>>
>> My ~/.Xresources file is:
>>
>> Mozilla*font:fixed
>> Firefox*font:fixed
>> Emacs*font:fixed
>>     
>
> Aha.  I think you'll find that the font you're seeing is
>
> -sony-fixed-medium-r-normal--16-120-100-100-c-80-iso8859-1
>
> or something like that.  I guess the problem is that there is more than
> one font named "fixed" in the system.  Recently, Handa changed the "font
> scoring" system which tells Emacs which font to use when there are
> several possibilities.
>
> To get the exact font you want, you can specify an xlfd name like
> -misc-fixed-medium-r-*--13-*-*-*-*-*-*-*, or a fontconfig/GTK font name.
> For instance,
>
> Emacs*font:Monospace-10
>
> works great for me.
>   

Cool!!  That's worked for me too.

Thanks







^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-10-14  1:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-06 18:57 bug#1094: 23.0.60; Emacs Default Font Chong Yidong
2008-10-06 23:11 ` Vinicius Jose Latorre
2008-10-07 18:43   ` Chong Yidong
2008-10-08 13:36     ` Vinicius Jose Latorre
2008-10-11 22:18       ` Chong Yidong
2008-10-14  1:55         ` Vinicius Jose Latorre
  -- strict thread matches above, loose matches on Subject: below --
2008-10-05 21:44 Vinicius Jose Latorre

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).