emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

23.0.60; fontconfig font names


From: David Hansen
Subject: 23.0.60; fontconfig font names
Date: Sun, 17 Feb 2008 06:35:07 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux)

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 address@hidden mailing list.

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

Hello,

Emacs doesn't handle fontconfig font names right, e.g.

emacs -fn "DejaVu Sans Mono:embolden=true:rgba=none:antialias=false"

all extra parameters are ignored.

`font-spec' parses the string right, but it seems the information is
lost in `list-fonts'.  Besides Emacs uses antialiased (and no subpixel
rendering) fonts no matter what I put in my ~/.fonts.conf.  Well, I
don't quite understand this cryptic file but `xterm -fa "..."' is doing
what I expect (with the attached fonts.conf file I get subpixel
rendering in a xterm but not in Emacs).

David

,----[ .fonts.conf ]
| <?xml version="1.0"?>
| <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
| <fontconfig>
| 
|   <dir>/usr/share/fonts/X11/</dir>
| 
|   <selectfont>
|     <acceptfont>
|       <pattern>
|         <patelt name="scalable"><bool>true</bool></patelt>
|       </pattern>
|     </acceptfont>
|   </selectfont>
| 
|   <match target="font">
|     <test qual="all" name="rgba">
|       <const>rgb</const>
|     </test>
|     <edit mode="assign" name="antialias">
|       <bool>true</bool>
|     </edit>
|   </match>
| 
|   <match target="font">
|     <edit name="rgba" mode="assign"><const>rgb</const></edit>
|   </match>
| 
| </fontconfig>
`----

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/dhansen/share/emacs/23.0.60/etc/DEBUG for instructions.


In GNU Emacs 23.0.60.3 (i686-pc-linux-gnu, GTK+ Version 2.12.8)
 of 2008-02-17 on robotron
Windowing system distributor `The X.Org Foundation', version 11.0.10400090
configured using `configure  '--enable-font-backend' '--prefix=/home/dhansen' 
'--without-gpm' '--without-sound' '--without-pop' '--with-gtk' '--without-dbus''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: en_US.UTF-8
  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: C/la

Minor modes in effect:
  which-function-mode: t
  show-paren-mode: t
  iswitchb-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-compression-mode: t
  line-number-mode: t
  abbrev-mode: t

Recent input:
C-M-SPC M-w C-SPC M-f M-f M-w C-x b s c <return> <return> 
( C-y SPC # : n a m e SPC C-x b C-g M-x M-p <return> 
<C-tab> <C-tab> M-p M-b M-b M-b M-b M-b M-b M-b M-b 
M-b C-b C-M-SPC M-w C-x b <return> C-y C-e <return> 
<backspace> C-x C-e q M-b C-a M-f M-f C-f C-d C-e C-x 
C-e <return> C-u C-x C-e C-x b <return> M-x M-p <return> 
C-x o C-x o C-x C-x C-x C-x M-* M-b M-b C-s C-w C-s 
C-s C-s C-s C-s C-s C-s C-s C-s C-r C-r C-p C-p C-n 
C-n M-b M-b M-. <return> C-v M-* <switch-frame> <switch-frame> 
<C-tab> C-p RET <S-up> <S-down> <C-S-up> <C-S-down> 
<C-S-up> <down> <C-tab> <C-tab> <C-tab> <C-tab> C-p 
C-M-a C-n C-n C-n C-n C-n C-n C-l C-n C-n C-n C-n C-n 
C-n C-l C-n C-n C-n C-n C-n C-n C-l C-n C-n C-n C-n 
C-n C-n C-n C-n C-l C-n C-n C-n C-n C-n C-n M-* C-s 
e n t C-n C-p M-f M-f M-f C-h f l i s t - f o n t s 
<return> C-x b x f t C-g C-x b s c r <return> M-< M-( 
l i s t - f o n t s SPC C-e C-x C-e q C-b C-M-b C-M-k 
C-n C-a C-M-k <backspace> C-b C-y C-e C-x C-e C-n C-a 
C-k <backspace> <return> C-u C-x C-e C-p C-p C-n C-a 
C-f C-f <return> M-< C-n C-n M-< C-s a n t i a C-s 
C-a C-n C-x b <return> M-. <return> C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-l C-n C-n C-n C-n C-n C-n C-n 
C-n C-l C-v M-v C-s e n t e C-a M-f M-f M-. <return> 
C-v C-v M-x r e p o r <tab> b u <tab> <return>

Recent messages:
Mark set
Entering debugger...
Back to top level.
Mark set
([xft unknown dejavu\ sans\ mono "" unicode-bmp 100 100 100 0 #<save_value 
ptr=0x0a86caa0 int=0> #<frame *scratch* 0x8eb3770> nil] [xft unknown dejavu\ 
sans\ mono "" unicode-bmp 100 100 100 0 #<save_value ptr=0x0a817cc0 int=0> 
#<frame *scratch* 0x8eb3770> nil] [x dejavu dejavu\ sans\ mono "" iso10646-1 
100 100 100 0 0-0-m-0 #<frame *scratch* 0x8eb3770> nil] [x dejavu dejavu\ sans\ 
mono "" iso8859-15 100 100 100 0 0-0-m-0 #<frame *scratch* 0x8eb3770> nil] [x 
dejavu dejavu\ sans\ mono "" iso8859-9 100 100 100 0 0-0-m-0 #<frame *scratch* 
0x8eb3770> nil] [x dejavu dejavu\ sans\ mono "" iso8859-7 100 100 100 0 0-0-m-0 
#<frame *scratch* 0x8eb3770> nil] [x dejavu dejavu\ sans\ mono "" iso8859-2 100 
100 100 0 0-0-m-0 #<frame *scratch* 0x8eb3770> nil] [x dejavu dejavu\ sans\ 
mono "" iso8859-1 100 100 100 0 0-0-m-0 #<frame *scratch* 0x8eb3770> nil] [x 
dejavu dejavu\ sans\ mono "" iso10646-1 100 100 100 0 0-0-c-0 #<frame *scratch* 
0x8eb3770> nil] [x dejavu dejavu\ sans\ mono "" iso8859-15 100 100 100 0 
0-0-c-0 #<frame *scratch* 0x8eb3770> nil] [x dejavu dejavu\ sans\ mono "" 
iso8859-9 100 100 100 0 0-0-c-0 #<frame *scratch* 0x8eb3770> nil] [x dejavu 
dejavu\ sans\ mono "" iso8859-7 100 100 100 0 0-0-c-0 #<frame *scratch* 
0x8eb3770> nil] ...)
Mark set [2 times]
Mark saved where search started
Mark set
Mark saved where search started
Mark set




reply via email to

[Prev in Thread] Current Thread [Next in Thread]