GNU bug report logs - #1219
23.0.60; Default Font

Previous Next

Package: emacs;

Reported by: Vinicius Jose Latorre <viniciusjl <at> ig.com.br>

Date: Wed, 22 Oct 2008 00:10:03 UTC

Severity: normal

Tags: wontfix

Merged with 505

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #25 received at 1219 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Vinicius Jose Latorre <viniciusjl <at> ig.com.br>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 1219 <at> debbugs.gnu.org
Subject: Re: 23.0.60; Default Font
Date: Fri, 24 Oct 2008 18:29:13 -0200
[Message part 1 (text/plain, inline)]
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 <at> 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
$


[xlsfonts.txt (text/plain, inline)]
$ 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


This bug report was last modified 14 years and 9 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.