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

[-- Attachment #1: Type: text/plain, Size: 2451 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:



The problem is shown in the image attached in this email.

These are the steps I've done:

1. rm -rf emacs

2. cvs -z3 -d:ext:viniciusjl@cvs.sv.gnu.org:/sources/emacs co emacs

3. ./configure --prefix=/home/download/emacs

4. make bootstrap

5. make install

6. rm -f ~/.Xresources

7. emacs -Q



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-21 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: Lisp Interaction

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
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  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:
M-x b u f <backspace> g - r e p o <tab> <backspace>
<tab> ] <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> s u
b <tab> <backspace> <backspace> <backspace> b u <tab>
<backspace> <backspace> s u <tab> <backspace> <backspace>
r e p o <tab> r t <tab> <return>

Recent messages:
Timid completion mode is enabled.
Loading ispell...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list... [3 times]


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

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

* bug#1219: 23.0.60; Default Font
@ 2008-10-23 21:57 Chong Yidong
  2008-10-24  3:39 ` Vinicius Jose Latorre
  0 siblings, 1 reply; 10+ messages in thread
From: Chong Yidong @ 2008-10-23 21:57 UTC (permalink / raw)
  To: Vinicius Jose Latorre; +Cc: 1219

What is the default font, as reported by `C-u C-x ='?

Also, could you do `EMACS_FONT_LOG=1 emacs -Q' and show the output of
M-x font-show-log?






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

* bug#1219: 23.0.60; Default Font
  2008-10-23 21:57 Chong Yidong
@ 2008-10-24  3:39 ` Vinicius Jose Latorre
  0 siblings, 0 replies; 10+ messages in thread
From: Vinicius Jose Latorre @ 2008-10-24  3:39 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 1219

Chong Yidong wrote:
> What is the default font, as reported by `C-u C-x ='?
>   

With point in the character ';':

        character: ; (59, #o73, #x3b)
preferred charset: ascii (ASCII (ISO646 IRV))
       code point: 0x3B
           syntax: <     which means: comment
         category:
           a:ASCII graphic characters 32-126 (ISO646 IRV:1983[4/0])
           l:Latin r:Japanese roman
      buffer code: #x3B
        file code: #x3B (encoded by coding system utf-8-unix)
          display: by this font (glyph code)
    x:-unknown-monospace-medium-r-normal--14-101-100-100-m-170-iso8859-1 
(#x3B)

Character code properties: customize what to show
  name: SEMICOLON
  general-category: Po (Punctuation, Other)

There are text properties here:
  face                 font-lock-comment-delimiter-face
  fontified            t


> Also, could you do `EMACS_FONT_LOG=1 emacs -Q' and show the output of
> M-x font-show-log?
>   

Here is the result:

xfont-list: -*-Monospace-*-*-*-*-*-*-*-*-*-*-iso8859-1
  -unknown-monospace-medium-r-normal--*-0-0-m-0-iso8859-1
  -unknown-monospace-medium-r-normal--*-0-0-c-0-iso8859-1
  -unknown-monospace-medium-o-normal--*-0-0-m-0-iso8859-1
  -unknown-monospace-medium-o-normal--*-0-0-c-0-iso8859-1
  -unknown-monospace-bold-r-normal--*-0-0-m-0-iso8859-1
  -unknown-monospace-bold-r-normal--*-0-0-c-0-iso8859-1
ftfont-list: -*-Monospace-*-iso8859-1
  -unknown-Monospace-normal-normal-normal-*-0-iso10646-1
  -unknown-Monospace-normal-oblique-normal-*-0-iso10646-1
  -unknown-Monospace-normal-oblique-normal-*-0-iso10646-1
  -unknown-Monospace-bold-normal-normal-*-0-iso10646-1
  -unknown-Monospace-normal-normal-normal-*-0-iso10646-1
  -unknown-Monospace-bold-normal-normal-*-0-iso10646-1
list: -*-Monospace-*-iso8859-1
  -unknown-monospace-medium-r-normal--*-0-0-m-0-iso8859-1
  -unknown-monospace-medium-r-normal--*-0-0-c-0-iso8859-1
  -unknown-monospace-medium-o-normal--*-0-0-m-0-iso8859-1
  -unknown-monospace-medium-o-normal--*-0-0-c-0-iso8859-1
  -unknown-monospace-bold-r-normal--*-0-0-m-0-iso8859-1
  -unknown-monospace-bold-r-normal--*-0-0-c-0-iso8859-1
  -unknown-Monospace-normal-normal-normal-*-0-iso10646-1
  -unknown-Monospace-normal-oblique-normal-*-0-iso10646-1
  -unknown-Monospace-normal-oblique-normal-*-0-iso10646-1
  -unknown-Monospace-bold-normal-normal-*-0-iso10646-1
  -unknown-Monospace-normal-normal-normal-*-0-iso10646-1
  -unknown-Monospace-bold-normal-normal-*-0-iso10646-1
sort-by: -*-Monospace-normal-normal-normal-*-14-*-iso8859-1
  x:-unknown-monospace-medium-r-normal--*-0-0-m-0-iso8859-1
open: -unknown-monospace-medium-r-normal--*-0-0-m-0-iso8859-1
  x:-unknown-monospace-medium-r-normal--14-101-100-100-m-170-iso8859-1
xfont-list: -unknown-Monospace-*-*-*-*-*-*-*-*-*-*-iso8859-1
  -unknown-monospace-medium-r-normal--*-0-0-m-0-iso8859-1
  -unknown-monospace-medium-r-normal--*-0-0-c-0-iso8859-1
  -unknown-monospace-medium-o-normal--*-0-0-m-0-iso8859-1
  -unknown-monospace-medium-o-normal--*-0-0-c-0-iso8859-1
  -unknown-monospace-bold-r-normal--*-0-0-m-0-iso8859-1
  -unknown-monospace-bold-r-normal--*-0-0-c-0-iso8859-1
ftfont-list: -unknown-Monospace-*-iso8859-1
  -unknown-Monospace-normal-normal-normal-*-0-iso10646-1
  -unknown-Monospace-normal-oblique-normal-*-0-iso10646-1
  -unknown-Monospace-normal-oblique-normal-*-0-iso10646-1
  -unknown-Monospace-bold-normal-normal-*-0-iso10646-1
  -unknown-Monospace-normal-normal-normal-*-0-iso10646-1
  -unknown-Monospace-bold-normal-normal-*-0-iso10646-1
list: -unknown-Monospace-*-iso8859-1
  -unknown-monospace-medium-r-normal--*-0-0-m-0-iso8859-1
  -unknown-monospace-medium-r-normal--*-0-0-c-0-iso8859-1
  -unknown-monospace-medium-o-normal--*-0-0-m-0-iso8859-1
  -unknown-monospace-medium-o-normal--*-0-0-c-0-iso8859-1
  -unknown-monospace-bold-r-normal--*-0-0-m-0-iso8859-1
  -unknown-monospace-bold-r-normal--*-0-0-c-0-iso8859-1
  -unknown-Monospace-normal-normal-normal-*-0-iso10646-1
  -unknown-Monospace-normal-oblique-normal-*-0-iso10646-1
  -unknown-Monospace-normal-oblique-normal-*-0-iso10646-1
  -unknown-Monospace-bold-normal-normal-*-0-iso10646-1
  -unknown-Monospace-normal-normal-normal-*-0-iso10646-1
  -unknown-Monospace-bold-normal-normal-*-0-iso10646-1
sort-by: -unknown-Monospace-normal-normal-normal-*-14-*-iso8859-1
  x:-unknown-monospace-medium-r-normal--*-0-0-m-0-iso8859-1
open: -unknown-monospace-medium-r-normal--*-0-0-m-0-iso8859-1
  x:-unknown-monospace-medium-r-normal--14-101-100-100-m-170-iso8859-1
list: -unknown-Monospace-*-iso8859-1
  -unknown-monospace-medium-r-normal--*-0-0-m-0-iso8859-1
  -unknown-monospace-medium-r-normal--*-0-0-c-0-iso8859-1
  -unknown-monospace-medium-o-normal--*-0-0-m-0-iso8859-1
  -unknown-monospace-medium-o-normal--*-0-0-c-0-iso8859-1
  -unknown-monospace-bold-r-normal--*-0-0-m-0-iso8859-1
  -unknown-monospace-bold-r-normal--*-0-0-c-0-iso8859-1
  -unknown-Monospace-normal-normal-normal-*-0-iso10646-1
  -unknown-Monospace-normal-oblique-normal-*-0-iso10646-1
  -unknown-Monospace-normal-oblique-normal-*-0-iso10646-1
  -unknown-Monospace-bold-normal-normal-*-0-iso10646-1
  -unknown-Monospace-normal-normal-normal-*-0-iso10646-1
  -unknown-Monospace-bold-normal-normal-*-0-iso10646-1
sort-by: -unknown-Monospace-normal-italic-normal-*-14-*-iso8859-1
  x:-unknown-monospace-medium-o-normal--*-0-0-m-0-iso8859-1
open: -unknown-monospace-medium-o-normal--*-0-0-m-0-iso8859-1
  x:-unknown-monospace-medium-o-normal--14-101-100-100-m-170-iso8859-1
xfont-list: -unknown-Monospace-*-*-*--*-*-*-*-m-*-iso8859-1
  -unknown-monospace-medium-r-normal--*-0-0-m-0-iso8859-1
  -unknown-monospace-medium-o-normal--*-0-0-m-0-iso8859-1
  -unknown-monospace-bold-r-normal--*-0-0-m-0-iso8859-1
ftfont-list: -unknown-Monospace-*--*-m-*-iso8859-1
  -unknown-Monospace-normal-normal-normal-*-0-iso10646-1
  -unknown-Monospace-normal-oblique-normal-*-0-iso10646-1
  -unknown-Monospace-normal-oblique-normal-*-0-iso10646-1
  -unknown-Monospace-bold-normal-normal-*-0-iso10646-1
  -unknown-Monospace-normal-normal-normal-*-0-iso10646-1
  -unknown-Monospace-bold-normal-normal-*-0-iso10646-1
list: -unknown-Monospace-*-r-normal--*-100-100-m-170-iso8859-1
  -unknown-monospace-bold-r-normal--*-0-0-m-0-iso8859-1
  -unknown-monospace-medium-r-normal--*-0-0-m-0-iso8859-1
  -unknown-Monospace-bold-normal-normal-*-0-iso10646-1
  -unknown-Monospace-normal-normal-normal-*-0-iso10646-1
  -unknown-Monospace-bold-normal-normal-*-0-iso10646-1
  -unknown-Monospace-normal-normal-normal-*-0-iso10646-1
sort-by: -unknown-Monospace-light-r-normal--14-*-100-100-m-170-iso8859-1
  x:-unknown-monospace-medium-r-normal--*-0-0-m-0-iso8859-1
open: -unknown-monospace-medium-r-normal--*-0-0-m-0-iso8859-1
  x:-unknown-monospace-medium-r-normal--14-101-100-100-m-170-iso8859-1
list: -unknown-Monospace-*-r-normal--*-100-100-m-170-iso8859-1
  -unknown-monospace-bold-r-normal--*-0-0-m-0-iso8859-1
  -unknown-monospace-medium-r-normal--*-0-0-m-0-iso8859-1
  -unknown-Monospace-bold-normal-normal-*-0-iso10646-1
  -unknown-Monospace-normal-normal-normal-*-0-iso10646-1
  -unknown-Monospace-bold-normal-normal-*-0-iso10646-1
  -unknown-Monospace-normal-normal-normal-*-0-iso10646-1
sort-by: -unknown-Monospace-light-r-normal--14-*-100-100-m-170-iso8859-1
  x:-unknown-monospace-medium-r-normal--*-0-0-m-0-iso8859-1
list: -unknown-Monospace-*-r-normal--*-100-100-m-170-iso8859-1
  -unknown-monospace-bold-r-normal--*-0-0-m-0-iso8859-1
  -unknown-monospace-medium-r-normal--*-0-0-m-0-iso8859-1
  -unknown-Monospace-bold-normal-normal-*-0-iso10646-1
  -unknown-Monospace-normal-normal-normal-*-0-iso10646-1
  -unknown-Monospace-bold-normal-normal-*-0-iso10646-1
  -unknown-Monospace-normal-normal-normal-*-0-iso10646-1
sort-by: -unknown-Monospace-bold-r-normal--14-*-100-100-m-170-iso8859-1
  x:-unknown-monospace-bold-r-normal--*-0-0-m-0-iso8859-1
open: -unknown-monospace-bold-r-normal--*-0-0-m-0-iso8859-1
  x:-unknown-monospace-bold-r-normal--14-101-100-100-m-120-iso8859-1
list: -unknown-Monospace-*-r-normal--*-100-100-m-170-iso8859-1
  -unknown-monospace-bold-r-normal--*-0-0-m-0-iso8859-1
  -unknown-monospace-medium-r-normal--*-0-0-m-0-iso8859-1
  -unknown-Monospace-bold-normal-normal-*-0-iso10646-1
  -unknown-Monospace-normal-normal-normal-*-0-iso10646-1
  -unknown-Monospace-bold-normal-normal-*-0-iso10646-1
  -unknown-Monospace-normal-normal-normal-*-0-iso10646-1
sort-by: -unknown-Monospace-bold-r-normal--14-*-100-100-m-170-iso8859-1
  x:-unknown-monospace-bold-r-normal--*-0-0-m-0-iso8859-1
list: -unknown-Monospace-medium-*-normal--*-100-100-m-170-iso8859-1
  -unknown-monospace-medium-o-normal--*-0-0-m-0-iso8859-1
  -unknown-monospace-medium-r-normal--*-0-0-m-0-iso8859-1
  -unknown-Monospace-normal-normal-normal-*-0-iso10646-1
  -unknown-Monospace-normal-oblique-normal-*-0-iso10646-1
  -unknown-Monospace-normal-oblique-normal-*-0-iso10646-1
  -unknown-Monospace-normal-normal-normal-*-0-iso10646-1
sort-by: 
-unknown-Monospace-medium-italic-normal--14-*-100-100-m-170-iso8859-1
  x:-unknown-monospace-medium-o-normal--*-0-0-m-0-iso8859-1
open: -unknown-monospace-medium-o-normal--*-0-0-m-0-iso8859-1
  x:-unknown-monospace-medium-o-normal--14-101-100-100-m-170-iso8859-1








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

* bug#1219: 23.0.60; Default Font
@ 2008-10-24  7:01 Chong Yidong
  2008-10-24 20:29 ` Vinicius Jose Latorre
  0 siblings, 1 reply; 10+ messages in thread
From: Chong Yidong @ 2008-10-24  7:01 UTC (permalink / raw)
  To: Vinicius Jose Latorre; +Cc: 1219

Sounds like bug #505, a bug with Debian's font packaging.

What do the following commands give?

$ xlsfonts *monospace*
$ xlsfonts -ll *monospace*

Also, does the following patch give better results?

*** trunk/src/xfns.c.~1.727.~	2008-10-19 23:52:58.000000000 -0400
--- trunk/src/xfns.c	2008-10-24 02:57:56.000000000 -0400
***************
*** 3066,3071 ****
--- 3066,3072 ----
  	= {
  #ifdef HAVE_XFT
  	    /* This will find the normal Xft font.  */
+ 	    "DejaVu Sans Mono-12",
   	    "monospace-12",
  #endif
  	    "-adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1",







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

* bug#1219: 23.0.60; Default Font
  2008-10-24  7:01 Chong Yidong
@ 2008-10-24 20:29 ` Vinicius Jose Latorre
  2008-10-24 23:07   ` Vinicius Jose Latorre
  0 siblings, 1 reply; 10+ messages in thread
From: Vinicius Jose Latorre @ 2008-10-24 20:29 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 1219

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

Chong Yidong wrote:
> Sounds like bug #505, a bug with Debian's font packaging.
>
> What do the following commands give?
>
> $ xlsfonts *monospace*
> $ xlsfonts -ll *monospace*
>   

See the attached file.


> Also, does the following patch give better results?
>
> *** trunk/src/xfns.c.~1.727.~	2008-10-19 23:52:58.000000000 -0400
> --- trunk/src/xfns.c	2008-10-24 02:57:56.000000000 -0400
> ***************
> *** 3066,3071 ****
> --- 3066,3072 ----
>   	= {
>   #ifdef HAVE_XFT
>   	    /* This will find the normal Xft font.  */
> + 	    "DejaVu Sans Mono-12",
>    	    "monospace-12",
>   #endif
>   	    "-adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1",
>   

Well, I got an error during make, see it:

$ rm -rf emacs
$ cvs -z3 -d:ext:viniciusjl@cvs.sv.gnu.org:/sources/emacs co emacs
$ cd emacs
$ # edit src/xfns.c
$ ./configure --prefix=/home/download/emacs
$ make bootstrap
[ ... skip lot of messages ... ]
Loading /home/vinicius/work/emacs/lisp/faces.el (source)...
Loading /home/vinicius/work/emacs/lisp/minibuffer.el (source)...
Loading /home/vinicius/work/emacs/lisp/button.el (source)...
Loading /home/vinicius/work/emacs/lisp/startup.el (source)...
Creating directory: Permission denied, /.emacs.d
make[2]: *** [bootstrap-emacs] Error 255
make[2]: Leaving directory `/home/vinicius/work/emacs/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/home/vinicius/work/emacs'
make: *** [bootstrap] Error 2
$



[-- Attachment #2: xlsfonts.txt --]
[-- Type: text/plain, Size: 12005 bytes --]

$ xlsfonts *monospace*
-unknown-monospace-bold-r-normal--0-0-0-0-c-0-iso8859-1
-unknown-monospace-bold-r-normal--0-0-0-0-m-0-iso8859-1
-unknown-monospace-medium-o-normal--0-0-0-0-c-0-iso8859-1
-unknown-monospace-medium-o-normal--0-0-0-0-m-0-iso8859-1
-unknown-monospace-medium-r-normal--0-0-0-0-c-0-iso8859-1
-unknown-monospace-medium-r-normal--0-0-0-0-m-0-iso8859-1


$ xlsfonts -ll *monospace*
name:  -unknown-monospace-bold-r-normal--0-0-0-0-c-0-iso8859-1
  direction:            left to right
  indexing:             linear
  rows:                 0x00 thru 0x00 (0 thru 0)
  columns:              0x00 thru 0xff (0 thru 255)
  all chars exist:      no
  default char:         0x0000 (0)
  ascent:               17
  descent:              7
  font type:            Monospaced (font width not equal to AVERAGE_WIDTH)
  bounds:               width left  right  asc  desc   attr   keysym
        min               14   -15    14    17     7  0x0351
        max               14   -15    14    17     7  0x0351
  properties:           36
      FONT                  -unknown-monospace-bold-r-normal--17-120-100-100-c-141-iso8859-1
      FOUNDRY               unknown
      FAMILY_NAME           monospace
      WEIGHT_NAME           bold
      SLANT                 r
      SETWIDTH_NAME         normal
      ADD_STYLE_NAME
      PIXEL_SIZE            17
      POINT_SIZE            120
      RESOLUTION_X          100
      RESOLUTION_Y          100
      SPACING               c
      AVERAGE_WIDTH         141
      CHARSET_REGISTRY      iso8859
      CHARSET_ENCODING      1
      RAW_PIXEL_SIZE        1000
      RAW_POINT_SIZE        723
      RAW_AVERAGE_WIDTH     8490
      FONT_ASCENT           17
      RAW_ASCENT            808
      FONT_DESCENT          7
      RAW_DESCENT           192
      COPYRIGHT             The programs to draw the splines of this font are Copyright 251 2000 by George Williams.
      FACE_NAME             Monospace Bold
      _ADOBE_POSTSCRIPT_FONTNAME 585
      SUBSCRIPT_SIZE        3
      SUBSCRIPT_X           0
      SUBSCRIPT_Y           3
      SUPERSCRIPT_SIZE      3
      SUPERSCRIPT_X         0
      SUPERSCRIPT_Y         3
      UNDERLINE_THICKNESS   1
      UNDERLINE_POSITION    2
      ITALIC_ANGLE          5760
      FONT_TYPE             TrueType
      RASTERIZER_NAME       FreeType

name:  -unknown-monospace-bold-r-normal--0-0-0-0-m-0-iso8859-1
  direction:            left to right
  indexing:             linear
  rows:                 0x00 thru 0x00 (0 thru 0)
  columns:              0x00 thru 0xff (0 thru 255)
  all chars exist:      no
  default char:         0x0000 (0)
  ascent:               13
  descent:              3
  font type:            Character Cell
  bounds:               width left  right  asc  desc   attr   keysym
        min               14     0     0    -1    -8  0x1770
        max               14     5    10    13     3  0x2710
  properties:           36
      FONT                  -unknown-monospace-bold-r-normal--17-120-100-100-m-140-iso8859-1
      FOUNDRY               unknown
      FAMILY_NAME           monospace
      WEIGHT_NAME           bold
      SLANT                 r
      SETWIDTH_NAME         normal
      ADD_STYLE_NAME
      PIXEL_SIZE            17
      POINT_SIZE            120
      RESOLUTION_X          100
      RESOLUTION_Y          100
      SPACING               m
      AVERAGE_WIDTH         140
      CHARSET_REGISTRY      iso8859
      CHARSET_ENCODING      1
      RAW_PIXEL_SIZE        1000
      RAW_POINT_SIZE        723
      RAW_AVERAGE_WIDTH     8490
      FONT_ASCENT           13
      RAW_ASCENT            808
      FONT_DESCENT          3
      RAW_DESCENT           192
      COPYRIGHT             The programs to draw the splines of this font are Copyright 251 2000 by George Williams.
      FACE_NAME             Monospace Bold
      _ADOBE_POSTSCRIPT_FONTNAME 585
      SUBSCRIPT_SIZE        3
      SUBSCRIPT_X           0
      SUBSCRIPT_Y           3
      SUPERSCRIPT_SIZE      3
      SUPERSCRIPT_X         0
      SUPERSCRIPT_Y         3
      UNDERLINE_THICKNESS   1
      UNDERLINE_POSITION    2
      ITALIC_ANGLE          5760
      FONT_TYPE             TrueType
      RASTERIZER_NAME       FreeType

name:  -unknown-monospace-medium-o-normal--0-0-0-0-c-0-iso8859-1
  direction:            left to right
  indexing:             linear
  rows:                 0x00 thru 0x00 (0 thru 0)
  columns:              0x00 thru 0xff (0 thru 255)
  all chars exist:      no
  default char:         0x0000 (0)
  ascent:               19
  descent:              7
  font type:            Character Cell
  bounds:               width left  right  asc  desc   attr   keysym
        min               20   -18    20    19     7  0x04b0
        max               20   -18    20    19     7  0x04b0
  properties:           36
      FONT                  -unknown-monospace-medium-o-normal--17-120-100-100-c-200-iso8859-1
      FOUNDRY               unknown
      FAMILY_NAME           monospace
      WEIGHT_NAME           medium
      SLANT                 o
      SETWIDTH_NAME         normal
      ADD_STYLE_NAME
      PIXEL_SIZE            17
      POINT_SIZE            120
      RESOLUTION_X          100
      RESOLUTION_Y          100
      SPACING               c
      AVERAGE_WIDTH         200
      CHARSET_REGISTRY      iso8859
      CHARSET_ENCODING      1
      RAW_PIXEL_SIZE        1000
      RAW_POINT_SIZE        723
      RAW_AVERAGE_WIDTH     12000
      FONT_ASCENT           19
      RAW_ASCENT            808
      FONT_DESCENT          7
      RAW_DESCENT           192
      COPYRIGHT             The programs to draw the splines of this font are Copyright (c) 2000,2001 by George Williams.
      FACE_NAME             Monospace Oblique
      _ADOBE_POSTSCRIPT_FONTNAME 596
      SUBSCRIPT_SIZE        3
      SUBSCRIPT_X           0
      SUBSCRIPT_Y           3
      SUPERSCRIPT_SIZE      3
      SUPERSCRIPT_X         0
      SUPERSCRIPT_Y         3
      UNDERLINE_THICKNESS   1
      UNDERLINE_POSITION    2
      ITALIC_ANGLE          5120
      FONT_TYPE             TrueType
      RASTERIZER_NAME       FreeType

name:  -unknown-monospace-medium-o-normal--0-0-0-0-m-0-iso8859-1
  direction:            left to right
  indexing:             linear
  rows:                 0x00 thru 0x00 (0 thru 0)
  columns:              0x00 thru 0xff (0 thru 255)
  all chars exist:      no
  default char:         0x0000 (0)
  ascent:               13
  descent:              3
  font type:            Monospaced (ink outside bounding box)
  bounds:               width left  right  asc  desc   attr   keysym
        min               20    -1     0    -1    -9  0x1770
        max               20     5    11    13     3  0x2710
  properties:           36
      FONT                  -unknown-monospace-medium-o-normal--17-120-100-100-m-200-iso8859-1
      FOUNDRY               unknown
      FAMILY_NAME           monospace
      WEIGHT_NAME           medium
      SLANT                 o
      SETWIDTH_NAME         normal
      ADD_STYLE_NAME
      PIXEL_SIZE            17
      POINT_SIZE            120
      RESOLUTION_X          100
      RESOLUTION_Y          100
      SPACING               m
      AVERAGE_WIDTH         200
      CHARSET_REGISTRY      iso8859
      CHARSET_ENCODING      1
      RAW_PIXEL_SIZE        1000
      RAW_POINT_SIZE        723
      RAW_AVERAGE_WIDTH     12000
      FONT_ASCENT           13
      RAW_ASCENT            808
      FONT_DESCENT          3
      RAW_DESCENT           192
      COPYRIGHT             The programs to draw the splines of this font are Copyright (c) 2000,2001 by George Williams.
      FACE_NAME             Monospace Oblique
      _ADOBE_POSTSCRIPT_FONTNAME 596
      SUBSCRIPT_SIZE        3
      SUBSCRIPT_X           0
      SUBSCRIPT_Y           3
      SUPERSCRIPT_SIZE      3
      SUPERSCRIPT_X         0
      SUPERSCRIPT_Y         3
      UNDERLINE_THICKNESS   1
      UNDERLINE_POSITION    2
      ITALIC_ANGLE          5120
      FONT_TYPE             TrueType
      RASTERIZER_NAME       FreeType

name:  -unknown-monospace-medium-r-normal--0-0-0-0-c-0-iso8859-1
  direction:            left to right
  indexing:             linear
  rows:                 0x00 thru 0x00 (0 thru 0)
  columns:              0x00 thru 0xff (0 thru 255)
  all chars exist:      no
  default char:         0x0000 (0)
  ascent:               19
  descent:              7
  font type:            Character Cell
  bounds:               width left  right  asc  desc   attr   keysym
        min               20   -18    21    19     7  0x04b0
        max               20   -18    21    19     7  0x04b0
  properties:           36
      FONT                  -unknown-monospace-medium-r-normal--17-120-100-100-c-200-iso8859-1
      FOUNDRY               unknown
      FAMILY_NAME           monospace
      WEIGHT_NAME           medium
      SLANT                 r
      SETWIDTH_NAME         normal
      ADD_STYLE_NAME
      PIXEL_SIZE            17
      POINT_SIZE            120
      RESOLUTION_X          100
      RESOLUTION_Y          100
      SPACING               c
      AVERAGE_WIDTH         200
      CHARSET_REGISTRY      iso8859
      CHARSET_ENCODING      1
      RAW_PIXEL_SIZE        1000
      RAW_POINT_SIZE        723
      RAW_AVERAGE_WIDTH     12000
      FONT_ASCENT           19
      RAW_ASCENT            808
      FONT_DESCENT          7
      RAW_DESCENT           192
      COPYRIGHT             The programs to draw the splines of this font are Copyright (c) 2000,2001 by George Williams.
      FACE_NAME             Monospace Regular
      _ADOBE_POSTSCRIPT_FONTNAME 600
      SUBSCRIPT_SIZE        3
      SUBSCRIPT_X           0
      SUBSCRIPT_Y           3
      SUPERSCRIPT_SIZE      3
      SUPERSCRIPT_X         0
      SUPERSCRIPT_Y         3
      UNDERLINE_THICKNESS   1
      UNDERLINE_POSITION    2
      ITALIC_ANGLE          5760
      FONT_TYPE             TrueType
      RASTERIZER_NAME       FreeType

name:  -unknown-monospace-medium-r-normal--0-0-0-0-m-0-iso8859-1
  direction:            left to right
  indexing:             linear
  rows:                 0x00 thru 0x00 (0 thru 0)
  columns:              0x00 thru 0xff (0 thru 255)
  all chars exist:      no
  default char:         0x0000 (0)
  ascent:               13
  descent:              3
  font type:            Character Cell
  bounds:               width left  right  asc  desc   attr   keysym
        min               20     0     0    -1    -9  0x1770
        max               20     5    10    13     3  0x2710
  properties:           36
      FONT                  -unknown-monospace-medium-r-normal--17-120-100-100-m-200-iso8859-1
      FOUNDRY               unknown
      FAMILY_NAME           monospace
      WEIGHT_NAME           medium
      SLANT                 r
      SETWIDTH_NAME         normal
      ADD_STYLE_NAME
      PIXEL_SIZE            17
      POINT_SIZE            120
      RESOLUTION_X          100
      RESOLUTION_Y          100
      SPACING               m
      AVERAGE_WIDTH         200
      CHARSET_REGISTRY      iso8859
      CHARSET_ENCODING      1
      RAW_PIXEL_SIZE        1000
      RAW_POINT_SIZE        723
      RAW_AVERAGE_WIDTH     12000
      FONT_ASCENT           13
      RAW_ASCENT            808
      FONT_DESCENT          3
      RAW_DESCENT           192
      COPYRIGHT             The programs to draw the splines of this font are Copyright (c) 2000,2001 by George Williams.
      FACE_NAME             Monospace Regular
      _ADOBE_POSTSCRIPT_FONTNAME 600
      SUBSCRIPT_SIZE        3
      SUBSCRIPT_X           0
      SUBSCRIPT_Y           3
      SUPERSCRIPT_SIZE      3
      SUPERSCRIPT_X         0
      SUPERSCRIPT_Y         3
      UNDERLINE_THICKNESS   1
      UNDERLINE_POSITION    2
      ITALIC_ANGLE          5760
      FONT_TYPE             TrueType
      RASTERIZER_NAME       FreeType


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

* bug#1219: 23.0.60; Default Font
  2008-10-24 20:29 ` Vinicius Jose Latorre
@ 2008-10-24 23:07   ` Vinicius Jose Latorre
  2008-10-24 23:56     ` Chong Yidong
  0 siblings, 1 reply; 10+ messages in thread
From: Vinicius Jose Latorre @ 2008-10-24 23:07 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 1219

Vinicius Jose Latorre wrote:
> Chong Yidong wrote:
>> Sounds like bug #505, a bug with Debian's font packaging.
>>
>> What do the following commands give?
>>
>> $ xlsfonts *monospace*
>> $ xlsfonts -ll *monospace*
>>   
>
> See the attached file.
>
>
>> Also, does the following patch give better results?
>>
>> *** trunk/src/xfns.c.~1.727.~    2008-10-19 23:52:58.000000000 -0400
>> --- trunk/src/xfns.c    2008-10-24 02:57:56.000000000 -0400
>> ***************
>> *** 3066,3071 ****
>> --- 3066,3072 ----
>>       = {
>>   #ifdef HAVE_XFT
>>           /* This will find the normal Xft font.  */
>> +         "DejaVu Sans Mono-12",
>>            "monospace-12",
>>   #endif
>>           "-adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1",
>>   
>
> Well, I got an error during make, see it:
>
> $ rm -rf emacs
> $ cvs -z3 -d:ext:viniciusjl@cvs.sv.gnu.org:/sources/emacs co emacs
> $ cd emacs
> $ # edit src/xfns.c
> $ ./configure --prefix=/home/download/emacs
> $ make bootstrap
> [ ... skip lot of messages ... ]
> Loading /home/vinicius/work/emacs/lisp/faces.el (source)...
> Loading /home/vinicius/work/emacs/lisp/minibuffer.el (source)...
> Loading /home/vinicius/work/emacs/lisp/button.el (source)...
> Loading /home/vinicius/work/emacs/lisp/startup.el (source)...
> Creating directory: Permission denied, /.emacs.d
> make[2]: *** [bootstrap-emacs] Error 255
> make[2]: Leaving directory `/home/vinicius/work/emacs/src'
> make[1]: *** [src] Error 2
> make[1]: Leaving directory `/home/vinicius/work/emacs'
> make: *** [bootstrap] Error 2
> $

Ok, someone had fixed the problem above.

I've got a new Emacs compiled and installed, but the above patch did not 
modify the problem.







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

* bug#1219: 23.0.60; Default Font
  2008-10-24 23:07   ` Vinicius Jose Latorre
@ 2008-10-24 23:56     ` Chong Yidong
  2008-10-25 13:31       ` Vinicius Jose Latorre
  0 siblings, 1 reply; 10+ messages in thread
From: Chong Yidong @ 2008-10-24 23:56 UTC (permalink / raw)
  To: Vinicius Jose Latorre; +Cc: 1219

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

> Ok, someone had fixed the problem above.
>
> I've got a new Emacs compiled and installed, but the above patch did
> not modify the problem.

How about `emacs -Q -fn "DejaVu Sans Mono"' or `emacs -Q -fn "Bitstrem
Vera Sans Mono"'?

Do you have fonts of either name installed?






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

* bug#1219: 23.0.60; Default Font
  2008-10-24 23:56     ` Chong Yidong
@ 2008-10-25 13:31       ` Vinicius Jose Latorre
  0 siblings, 0 replies; 10+ messages in thread
From: Vinicius Jose Latorre @ 2008-10-25 13:31 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 1219

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

Chong Yidong wrote:
> Vinicius Jose Latorre <viniciusjl@ig.com.br> writes:
>   
>> Ok, someone had fixed the problem above.
>>
>> I've got a new Emacs compiled and installed, but the above patch did
>> not modify the problem.
>>     
>
> How about `emacs -Q -fn "DejaVu Sans Mono"' or `emacs -Q -fn "Bitstrem
> Vera Sans Mono"'?
>
> Do you have fonts of either name installed?
>   

Yes, these fonts are installed, see the attached images.


[-- Attachment #2: emacs-Q-DejaVu-Sans-Mono.png --]
[-- Type: image/png, Size: 28340 bytes --]

[-- Attachment #3: emacs-Q-Bitstream-Vera-Sans-Mono.png --]
[-- Type: image/png, Size: 28551 bytes --]

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

* bug#1219: 23.0.60; Default Font
@ 2008-10-25 17:05 Chong Yidong
  2008-10-25 18:37 ` Vinicius Jose Latorre
  0 siblings, 1 reply; 10+ messages in thread
From: Chong Yidong @ 2008-10-25 17:05 UTC (permalink / raw)
  To: Vinicius Jose Latorre; +Cc: 1219

I discussed this on emacs-devel at this link:

http://lists.gnu.org/archive/html/emacs-devel/2008-10/msg00696.html

David De La Harpe Golden's analysis seems correct to me:

> No. but is it desirable to? If emacs says "monospace" to the OS, and
> the OS returns something usable (see below), should emacs second guess
> it?  The distros with ttf-georgewilliams packages seem to be aware of
> the issue and are fixing it by removing or renaming the font in favour
> of the de-facto standard "monospace" virtual font name
>
>
> https://bugs.launchpad.net/ubuntu/+source/gw-fonts-ttf/+bug/95357/comments/6

So, we should probably leave things as they are.  I'll add a note about
this to etc/PROBLEMS.






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

* bug#1219: 23.0.60; Default Font
  2008-10-25 17:05 bug#1219: 23.0.60; Default Font Chong Yidong
@ 2008-10-25 18:37 ` Vinicius Jose Latorre
  0 siblings, 0 replies; 10+ messages in thread
From: Vinicius Jose Latorre @ 2008-10-25 18:37 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 1219

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

Chong Yidong wrote:
> I discussed this on emacs-devel at this link:
>
> http://lists.gnu.org/archive/html/emacs-devel/2008-10/msg00696.html
>
> David De La Harpe Golden's analysis seems correct to me:
>
>   
>> No. but is it desirable to? If emacs says "monospace" to the OS, and
>> the OS returns something usable (see below), should emacs second guess
>> it?  The distros with ttf-georgewilliams packages seem to be aware of
>> the issue and are fixing it by removing or renaming the font in favour
>> of the de-facto standard "monospace" virtual font name
>>
>>
>> https://bugs.launchpad.net/ubuntu/+source/gw-fonts-ttf/+bug/95357/comments/6
>>     
>
> So, we should probably leave things as they are.  I'll add a note about
> this to etc/PROBLEMS.
>   

Ok, I've just uninstalled ttf-georgewilliams package and now the result 
is ok, see the attached image.

Thanks

[-- Attachment #2: emacs-Q-without-ttf-georgewilliams.png --]
[-- Type: image/png, Size: 39724 bytes --]

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

end of thread, other threads:[~2008-10-25 18:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-25 17:05 bug#1219: 23.0.60; Default Font Chong Yidong
2008-10-25 18:37 ` Vinicius Jose Latorre
  -- strict thread matches above, loose matches on Subject: below --
2008-10-24  7:01 Chong Yidong
2008-10-24 20:29 ` Vinicius Jose Latorre
2008-10-24 23:07   ` Vinicius Jose Latorre
2008-10-24 23:56     ` Chong Yidong
2008-10-25 13:31       ` Vinicius Jose Latorre
2008-10-23 21:57 Chong Yidong
2008-10-24  3:39 ` Vinicius Jose Latorre
2008-10-22  0:01 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).