unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Font problem with emacs-23.1
@ 2009-10-05 20:59 Peter Münster
  2009-10-05 21:58 ` Eli Zaretskii
  2009-10-05 22:07 ` Peter Dyballa
  0 siblings, 2 replies; 8+ messages in thread
From: Peter Münster @ 2009-10-05 20:59 UTC (permalink / raw)
  To: Emacs Users

Hello,

I use the font
-efont-fixed-medium-r-normal--24-240-75-75-c-120-iso10646-1
in emacs.

No problem with version 22.3, but after the update to 23.1, some characters
look very strange:

http://pmrb.free.fr/tmp/emacs-font.jpg

Do you know, how to get ü, ß, à, è and é displayed correctly?

TIA for any help!
Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/






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

* Re: Font problem with emacs-23.1
  2009-10-05 20:59 Font problem with emacs-23.1 Peter Münster
@ 2009-10-05 21:58 ` Eli Zaretskii
  2009-10-06  9:05   ` Peter Münster
  2009-10-05 22:07 ` Peter Dyballa
  1 sibling, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2009-10-05 21:58 UTC (permalink / raw)
  To: help-gnu-emacs

> Date: Mon, 5 Oct 2009 22:59:52 +0200 (CEST)
> From: Peter_Münster <pmlists@free.fr>
> 
> I use the font
> -efont-fixed-medium-r-normal--24-240-75-75-c-120-iso10646-1
> in emacs.
> 
> No problem with version 22.3, but after the update to 23.1, some characters
> look very strange:
> 
> http://pmrb.free.fr/tmp/emacs-font.jpg
> 
> Do you know, how to get ü, ß, à, è and é displayed correctly?

What does Emacs show if you go to one of these strangely displayed
characters and type "C-u C-x ="?  And how does that differ from what
Emacs shows for the characters that are displayed correctly?





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

* Re: Font problem with emacs-23.1
  2009-10-05 20:59 Font problem with emacs-23.1 Peter Münster
  2009-10-05 21:58 ` Eli Zaretskii
@ 2009-10-05 22:07 ` Peter Dyballa
  2009-10-06  9:06   ` Peter Münster
  1 sibling, 1 reply; 8+ messages in thread
From: Peter Dyballa @ 2009-10-05 22:07 UTC (permalink / raw)
  To: Peter Münster; +Cc: Emacs Users


Am 05.10.2009 um 22:59 schrieb Peter Münster:

> Do you know, how to get ü, ß, à, è and é displayed correctly?


(require 'ucs-normalize) ?

--
Mit friedvollen Grüßen
                                  <]
   Pete       o        __o         |__    o           recumbo
     ___o    /I       -\<,         |o \  -\),-%       ergo sum!
___/\ /\___./ \___...O/ O____.....`-O-'-()--o_________________







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

* Re: Font problem with emacs-23.1
  2009-10-05 21:58 ` Eli Zaretskii
@ 2009-10-06  9:05   ` Peter Münster
  2009-10-06  9:33     ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Münster @ 2009-10-06  9:05 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Emacs Users

On Mon, 5 Oct 2009, Eli Zaretskii wrote:

> > Do you know, how to get ü, ß, à, è and é displayed correctly?
> 
> What does Emacs show if you go to one of these strangely displayed
> characters and type "C-u C-x ="?  And how does that differ from what
> Emacs shows for the characters that are displayed correctly?

Hello Eli,

Here is the output of this command for "ö":

        character: ö (246, #o366, #xf6)
preferred charset: unicode (Unicode (ISO10646))
       code point: 0xF6
           syntax: w 	which means: word
         category: .:Base, j:Japanese, l:Latin
      buffer code: #xC3 #xB6
        file code: #xC3 #xB6 (encoded by coding system utf-8-unix)
          display: by this font (glyph code)
    xft:-Efont-Efont Biwidth-normal-normal-normal-*-24-*-*-*-d-120-iso10646-1 (#xB6)

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

There are text properties here:
  fontified            t

-------------------------------------------

And here for "é" (one of the strangely displayed characters):

        character: é (233, #o351, #xe9)
preferred charset: unicode (Unicode (ISO10646))
       code point: 0xE9
           syntax: w 	which means: word
         category: .:Base, c:Chinese, j:Japanese, l:Latin, v:Viet
      buffer code: #xC3 #xA9
        file code: #xC3 #xA9 (encoded by coding system utf-8-unix)
          display: by this font (glyph code)
    x:-efont-fixed-medium-r-normal--24-240-75-75-c-240-iso10646-1 (#xE9)

Character code properties: customize what to show
  name: LATIN SMALL LETTER E WITH ACUTE
  old-name: LATIN SMALL LETTER E ACUTE
  general-category: Ll (Letter, Lowercase)
  decomposition: (101 769) ('e' '́')

There are text properties here:
  fontified            t

-------------------------------------------

And here for a normal ASCII character:

        character: a (97, #o141, #x61)
preferred charset: ascii (ASCII (ISO646 IRV))
       code point: 0x61
           syntax: w	which means: word
         category: .:Base, a:ASCII, l:Latin, r:Roman
      buffer code: #x61
        file code: #x61 (encoded by coding system utf-8-unix)
          display: by this font (glyph code)
    x:-efont-fixed-medium-r-normal--24-240-75-75-c-120-iso10646-1 (#x61)

Character code properties: customize what to show
  name: LATIN SMALL LETTER A
  general-category: Ll (Letter, Lowercase)

There are text properties here:
  fontified            t

-------------------------------------------

Unfortunately, I don't understand much of that information...

Does anybody can reproduce this problem?
I'm using Xorg-7.4 on openSUSE-x86_64.

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/






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

* Re: Font problem with emacs-23.1
  2009-10-05 22:07 ` Peter Dyballa
@ 2009-10-06  9:06   ` Peter Münster
  0 siblings, 0 replies; 8+ messages in thread
From: Peter Münster @ 2009-10-06  9:06 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: Emacs Users

On Tue, 6 Oct 2009, Peter Dyballa wrote:

> Am 05.10.2009 um 22:59 schrieb Peter Münster:
> 
> > Do you know, how to get ü, ß, à, è and é displayed correctly?
> 
> (require 'ucs-normalize) ?

Hello Peter,

Unfortunately this does not help. But the start-up of emacs takes now
30 seconds!

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/






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

* Re: Font problem with emacs-23.1
  2009-10-06  9:05   ` Peter Münster
@ 2009-10-06  9:33     ` Eli Zaretskii
  2009-10-06 10:56       ` Peter Dyballa
  0 siblings, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2009-10-06  9:33 UTC (permalink / raw)
  To: help-gnu-emacs

> Date: Tue, 6 Oct 2009 11:05:23 +0200 (CEST)
> From: =?UTF-8?Q?Peter_M=C3=BCnster?= <pmlists@free.fr>
> cc: Emacs Users <help-gnu-emacs@gnu.org>
> 
> Here is the output of this command for "ö":
> 
>         character: ö (246, #o366, #xf6)
> preferred charset: unicode (Unicode (ISO10646))
>        code point: 0xF6
>            syntax: w 	which means: word
>          category: .:Base, j:Japanese, l:Latin
>       buffer code: #xC3 #xB6
>         file code: #xC3 #xB6 (encoded by coding system utf-8-unix)
>           display: by this font (glyph code)
>     xft:-Efont-Efont Biwidth-normal-normal-normal-*-24-*-*-*-d-120-iso10646-1 (#xB6)
> [...]
> And here for "é" (one of the strangely displayed characters):
> 
>         character: é (233, #o351, #xe9)
> preferred charset: unicode (Unicode (ISO10646))
>        code point: 0xE9
>            syntax: w 	which means: word
>          category: .:Base, c:Chinese, j:Japanese, l:Latin, v:Viet
>       buffer code: #xC3 #xA9
>         file code: #xC3 #xA9 (encoded by coding system utf-8-unix)
>           display: by this font (glyph code)
>     x:-efont-fixed-medium-r-normal--24-240-75-75-c-240-iso10646-1 (#xE9)
> 
> Unfortunately, I don't understand much of that information...

As you see, Emacs uses two different fonts to display these two
characters.  Maybe the font
"-Efont-Efont Biwidth-normal-normal-normal-*-24-*-*-*-d-120-iso10646-1"
does not support é and the other characters that look strangely?





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

* Re: Font problem with emacs-23.1
  2009-10-06  9:33     ` Eli Zaretskii
@ 2009-10-06 10:56       ` Peter Dyballa
  2009-10-07  9:22         ` Peter Münster
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Dyballa @ 2009-10-06 10:56 UTC (permalink / raw)
  To: Peter Münster, Eli Zaretskii; +Cc: help-gnu-emacs


Am 06.10.2009 um 11:33 schrieb Eli Zaretskii:

> As you see, Emacs uses two different fonts to display these two
> characters.

This font worked fine in GNU Emacs 22.3...

>   Maybe the font
> "-Efont-Efont Biwidth-normal-normal-normal-*-24-*-*-*-d-120- 
> iso10646-1"
> does not support é and the other characters that look strangely?


Anyway, it's worth to check the two fonts to see what they actually  
offer (FontForge or GNU Charmap etc.). Another solution is to create  
a fontset in which for each encoding a specific (the same) font (with  
in the case of 7- or 8-bit encodings this font's specific font  
encoding is given, i.e., -iso8859-X, -koi8-Y, -microsoft-cp1252, -ibm- 
cpXYZ) is specified to stop GNU Emacs 23 from making its own faulty  
choice.

--
Greetings

   Pete

To be is to do.
			– I. Kant
To do is to be.
			– A. Sartre
Yabba-Dabba-Doo!
			– F. Flintstone







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

* Re: Font problem with emacs-23.1
  2009-10-06 10:56       ` Peter Dyballa
@ 2009-10-07  9:22         ` Peter Münster
  0 siblings, 0 replies; 8+ messages in thread
From: Peter Münster @ 2009-10-07  9:22 UTC (permalink / raw)
  To: Emacs Users

On Tue, Oct 06 2009, Peter Dyballa wrote:
>
> This font worked fine in GNU Emacs 22.3...

Indeed.


>>   Maybe the font
>> "-Efont-Efont Biwidth-normal-normal-normal-*-24-*-*-*-d-120-iso10646-1"
>> does not support é and the other characters that look strangely?

I don't know, why emacs chooses this font for the letter ö and the
-efont-fixed-medium-r-normal--24-240-75-75-c-240-iso10646-1 font
for the letter é.

But now, I've found the solution (by trial and error without
understanding):

emacs -fn "-efont-efont biwidth-medium-r-normal--24-240-75-75-d-120-iso10646-1"

This font works quite well, only the splash screen is ugly: no logo and no
colors, but it doesn't matter for me.

And: this font is *not* listed by xlsfonts...

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/






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

end of thread, other threads:[~2009-10-07  9:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-05 20:59 Font problem with emacs-23.1 Peter Münster
2009-10-05 21:58 ` Eli Zaretskii
2009-10-06  9:05   ` Peter Münster
2009-10-06  9:33     ` Eli Zaretskii
2009-10-06 10:56       ` Peter Dyballa
2009-10-07  9:22         ` Peter Münster
2009-10-05 22:07 ` Peter Dyballa
2009-10-06  9:06   ` Peter Münster

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