unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#2667: 23.0.91; Inconsistent fonts
@ 2009-03-13 21:28 David Kastrup
  2009-03-17  7:39 ` Kenichi Handa
  0 siblings, 1 reply; 2+ messages in thread
From: David Kastrup @ 2009-03-13 21:28 UTC (permalink / raw)
  To: emacs-pretest-bug


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:

If I write something like "Schätzchen" after selecting a Unicode-capable
font in the font menu (in this case LMSans12), I get on the S

        character: S (83, #o123, #x53)
preferred charset: ascii (ASCII (ISO646 IRV))
       code point: 0x53
           syntax: w 	which means: word
         category: .:Base, a:ASCII, l:Latin, r:Roman
      buffer code: #x53
        file code: #x53 (encoded by coding system utf-8-emacs-unix)
          display: by this font (glyph code)
    xft:-unknown-LMSans12-normal-normal-normal-*-16-*-*-*-*-0-iso10646-1 (#x10C)

Character code properties: customize what to show
  name: LATIN CAPITAL LETTER S
  general-category: Lu (Letter, Uppercase)

There are text properties here:
  fontified            t

[back]

But on the ä I get

        character: ä (228, #o344, #xe4)
preferred charset: unicode (Unicode (ISO10646))
       code point: 0xE4
           syntax: w 	which means: word
         category: .:Base, j:Japanese, l:Latin
      buffer code: #xC3 #xA4
        file code: #xC3 #xA4 (encoded by coding system utf-8-emacs-unix)
          display: by this font (glyph code)
    x:-misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1 (#xE4)

Character code properties: customize what to show
  name: LATIN SMALL LETTER A WITH DIAERESIS
  old-name: LATIN SMALL LETTER A DIAERESIS
  general-category: Ll (Letter, Lowercase)
  decomposition: (97 776) ('a' '̈')

There are text properties here:
  fontified            t

[back]

What is wrong here?  Why does it not use the LM font?

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
/usr/local/emacs-21/share/emacs/23.0.91/etc/DEBUG for instructions.


In GNU Emacs 23.0.91.1 (i686-pc-linux-gnu, GTK+ Version 2.14.4)
 of 2009-03-13 on lola
Windowing system distributor `The X.Org Foundation', version 11.0.10502000
configured using `configure  'CFLAGS=-g -O2 -fno-crossjumping' '--prefix=/usr/local/emacs-21' '--without-toolkit-scroll-bars''

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: Message

Minor modes in effect:
  buffer-face-mode: t
  shell-dirtrack-mode: t
  mml-mode: t
  gnus-message-citation-mode: t
  TeX-PDF-mode: t
  desktop-save-mode: t
  minibuffer-electric-default-mode: t
  tooltip-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
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Recent input:
h SPC a u c h SPC i m SPC P r o i v <backspace> <backspace> 
<backspace> i v a t l e b e n SPC r e c h t SPC e r 
f o l g r e i c h SPC d u r c h g e <up> <down> z o 
g e n . M-q <up> C-k C-k C-k M-q u SPC g l a u b s 
t SPC g a r SPC n i c h t , SPC w i e v i e l e SPC 
<backspace> <backspace> SPC A u f w a n f <backspace> 
d SPC m a n SPC s i c h SPC s p a r e n SPC k a n n 
, SPC w e n n SPC m a n SPC E r o b e r u n g e n SPC 
s c h o n SPC i m SPC K e i m SPC a b s c h ü t t e 
l t . M-q M-q C-e <up> <up> <down> <down> <down> <down> 
<up> <up> <up> <down> C-e <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> 
M-q <down> <up> <down> C-e M-q <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar> 
<options> <menu-set-font> <down-mouse-3> <mouse-3> 
<down-mouse-1> <mouse-1> <down-mouse-3> <mouse-3> <S-down-mouse-1> 
<up> <up> <up> <down> <left> <left> <left> <left> C-u 
C-x = <right> C-u C-x = M-x e m a c s - r e [ p <backspace> 
<backspace> p o <tab> <backspace> <backspace> <backspace> 
<backspace> b u <tab> <backspace> <backspace> <backspace> 
C-a r e p o r t - C-e - b u <tab> <return>

Recent messages:
Generating summary...done
call-interactively: Beginning of buffer
Mark set [2 times]
Auto-saving...done
Auto-saving...done
Auto-saving...done
Buffer-Face mode enabled
Type C-x 1 to delete the help window, C-M-v to scroll help.
Char: h (104, #o150, #x68) point=1549 of 2036 (76%) <791-2037> column=2
Char: ä (228, #o344, #xe4, file ...) point=1550 of 2036 (76%) <791-2037> column=3

-- 
David Kastrup






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

* bug#2667: 23.0.91; Inconsistent fonts
  2009-03-13 21:28 bug#2667: 23.0.91; Inconsistent fonts David Kastrup
@ 2009-03-17  7:39 ` Kenichi Handa
  0 siblings, 0 replies; 2+ messages in thread
From: Kenichi Handa @ 2009-03-17  7:39 UTC (permalink / raw)
  To: David Kastrup, 2667

In article <85r6115d0a.fsf@lola.goethe.zz>, David Kastrup <dak@gnu.org> writes:

> If I write something like "Schätzchen" after selecting a Unicode-capable
> font in the font menu (in this case LMSans12), I get on the S

>         character: S (83, #o123, #x53)
[...]
>     xft:-unknown-LMSans12-normal-normal-normal-*-16-*-*-*-*-0-iso10646-1 (#x10C)
[...]
> But on the ä I get

>         character: ä (228, #o344, #xe4)
[...]
>     x:-misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1 (#xE4)
[...]
> What is wrong here?  Why does it not use the LM font?

I can't reproduce it with the latest code.  Please show me
the result of this:

% emacs -Q
M-x set-default-font RET lmsans12 RET
ESC : (setq font-log nil) RET
ESC : (insert "Schätzchen") RET
M-x font-show-log RET

What I get in *Help* buffer is this:
----------------------------------------------------------------------
font for: (228)
list: -unknown-LMSans12-*-iso10646-1
  -unknown-LMSans12-normal-oblique-normal-*-0-iso10646-1
  -unknown-LMSans12-normal-normal-normal-*-0-iso10646-1
sort-by: -*-normal-normal-normal-*-17-*
  xft:-unknown-LMSans12-normal-normal-normal-*-0-iso10646-1
font for: (228)
list: -unknown-LMSans12-normal-*-normal-*-0-iso10646-1
  -unknown-LMSans12-normal-normal-normal-*-0-iso10646-1
  -unknown-LMSans12-normal-oblique-normal-*-0-iso10646-1
sort-by: -*-normal-italic-normal-*-17-*
  xft:-unknown-LMSans12-normal-oblique-normal-*-0-iso10646-1
open: -unknown-LMSans12-normal-oblique-normal-*-0-iso10646-1
  xft:-unknown-LMSans12-normal-oblique-normal-*-17-*-0-iso10646-1
----------------------------------------------------------------------

---
Kenichi Handa
handa@m17n.org






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

end of thread, other threads:[~2009-03-17  7:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-13 21:28 bug#2667: 23.0.91; Inconsistent fonts David Kastrup
2009-03-17  7:39 ` Kenichi Handa

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).