all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Display problem with upper case accentuated chars
@ 2003-06-07 23:42 Vinicius Jose Latorre
  2003-06-10  1:47 ` Kenichi Handa
  0 siblings, 1 reply; 10+ messages in thread
From: Vinicius Jose Latorre @ 2003-06-07 23:42 UTC (permalink / raw)



I'm having display problem with upper case accentuated chars when using 
Emacs 21.3.50.1.

I'm using GNU Emacs 21.3.50.1 (downloaded and installed today - 
2003-06-07) and Red Hat 8.0.

The problem is that when I insert, for example, the character à in a 
buffer, it is displayed:

Ä   Ã
 ^
 |
 +---- here is where the cursor is positioned after insertion

The characters À, Á, É, Í, Ó and Ú are displayed with a 'point' above 
the letter instead the proper accent.

The characters Ã, Õ and Ê are displayed Ä, Ö and Ë, respectively.

The problematic characters that I found are:

CHAR   TYPING C-x =
À      (04300, 2240, 0x8c0, file C0)
Á      (04301, 2241, 0x8c1, file C1)
à     (04303, 2243, 0x8c3, file C3)
É      (04311, 2249, 0x8c9, file C9)
Ê      (04312, 2250, 0x8ca, file CA)
Í      (04315, 2253, 0x8cd, file CD)
Ó      (04323, 2259, 0x8d3, file D3)
Õ      (04325, 2261, 0x8d5, file D5)
Ú      (04332, 2266, 0x8da, file DA)

The lower case characters are ok.


Vinicius

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

* Re: Display problem with upper case accentuated chars
  2003-06-07 23:42 Display problem with upper case accentuated chars Vinicius Jose Latorre
@ 2003-06-10  1:47 ` Kenichi Handa
  2003-06-11  0:40   ` Vinicius Jose Latorre
  0 siblings, 1 reply; 10+ messages in thread
From: Kenichi Handa @ 2003-06-10  1:47 UTC (permalink / raw)
  Cc: emacs-devel

In article <3EE27850.6040407@ig.com.br>, Vinicius Jose Latorre <viniciusjl@ig.com.br> writes:

> I'm having display problem with upper case accentuated
> chars when using Emacs 21.3.50.1.

> I'm using GNU Emacs 21.3.50.1 (downloaded and installed
> today - 2003-06-07) and Red Hat 8.0.

> The problem is that when I insert, for example, the
> character à in a buffer, it is displayed:

> Ä   Ã
>  ^
>  |
>  +---- here is where the cursor is positioned after insertion

> The characters À, Á, É, Í, Ó and Ú are displayed with a
> 'point' above the letter instead the proper accent.

> The characters Ã, Õ and Ê are displayed Ä, Ö and Ë,
> respectively.

It seems that they are displayed with such a font that the
font's glyphs are taller than the font's logical bounding
box.  Thus the topmost few pixels are overwritten by the
previous line.  That also explains why lowercase characters
are ok.

Please type C-u C-x = on problematic characters and check
what fonts are used.

---
Ken'ichi HANDA
handa@m17n.org

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

* Re: Display problem with upper case accentuated chars
  2003-06-10  1:47 ` Kenichi Handa
@ 2003-06-11  0:40   ` Vinicius Jose Latorre
  2003-06-13  2:06     ` Kenichi Handa
  0 siblings, 1 reply; 10+ messages in thread
From: Vinicius Jose Latorre @ 2003-06-11  0:40 UTC (permalink / raw)
  Cc: emacs-devel

Kenichi Handa wrote:

>It seems that they are displayed with such a font that the
>font's glyphs are taller than the font's logical bounding
>box.  Thus the topmost few pixels are overwritten by the
>previous line.  That also explains why lowercase characters
>are ok.
>
>Please type C-u C-x = on problematic characters and check
>what fonts are used.
>  
>

Ok, below are the results of C-u C-x =.

Well, I also notice the following:

* I inserted the characters in *Scratch* buffer and notice that if the
  character is inserted in the first buffer position, the character is
  displayed ok.  But it is not ok if inserted in any other place.

* The *Help* buffer, displayed after typing C-u C-x =, shows the character
  without any problem.  But when I copy and paste into another buffer, the
  problem appears.


------------------------------------------------------------------------
  character: Ã (04303, 2243, 0x8c3, U+00C3)
    charset: latin-iso8859-1 (Right-Hand Part of Latin Alphabet 1 
(ISO/IEC 8859-1): ISO-IR-100.)
 code point: 67
     syntax: w     which means: word
   category: l:Latin 
buffer code: 0x81 0xC3
  file code: C3 (encoded by coding system iso-latin-1)
       font: -Adobe-Courier-Medium-R-Normal--12-120-75-75-M-70-ISO8859-1

There are text properties here:
  fontified            t
------------------------------------------------------------------------
  character: Õ (04325, 2261, 0x8d5, U+00D5)
    charset: latin-iso8859-1 (Right-Hand Part of Latin Alphabet 1 
(ISO/IEC 8859-1): ISO-IR-100.)
 code point: 85
     syntax: w     which means: word
   category: l:Latin 
buffer code: 0x81 0xD5
  file code: D5 (encoded by coding system iso-latin-1)
       font: -Adobe-Courier-Medium-R-Normal--12-120-75-75-M-70-ISO8859-1

There are text properties here:
  fontified            t
------------------------------------------------------------------------
  character: Ê (04312, 2250, 0x8ca, U+00CA)
    charset: latin-iso8859-1 (Right-Hand Part of Latin Alphabet 1 
(ISO/IEC 8859-1): ISO-IR-100.)
 code point: 74
     syntax: w     which means: word
   category: l:Latin 
buffer code: 0x81 0xCA
  file code: CA (encoded by coding system iso-latin-1)
       font: -Adobe-Courier-Medium-R-Normal--12-120-75-75-M-70-ISO8859-1

There are text properties here:
  fontified            t
------------------------------------------------------------------------
  character: À (04300, 2240, 0x8c0, U+00C0)
    charset: latin-iso8859-1 (Right-Hand Part of Latin Alphabet 1 
(ISO/IEC 8859-1): ISO-IR-100.)
 code point: 64
     syntax: w     which means: word
   category: l:Latin 
buffer code: 0x81 0xC0
  file code: C0 (encoded by coding system iso-latin-1)
       font: -Adobe-Courier-Medium-R-Normal--12-120-75-75-M-70-ISO8859-1

There are text properties here:
  fontified            t
------------------------------------------------------------------------
  character: Á (04301, 2241, 0x8c1, U+00C1)
    charset: latin-iso8859-1 (Right-Hand Part of Latin Alphabet 1 
(ISO/IEC 8859-1): ISO-IR-100.)
 code point: 65
     syntax: w     which means: word
   category: l:Latin 
buffer code: 0x81 0xC1
  file code: C1 (encoded by coding system iso-latin-1)
       font: -Adobe-Courier-Medium-R-Normal--12-120-75-75-M-70-ISO8859-1

There are text properties here:
  fontified            t
------------------------------------------------------------------------
  character: É (04311, 2249, 0x8c9, U+00C9)
    charset: latin-iso8859-1 (Right-Hand Part of Latin Alphabet 1 
(ISO/IEC 8859-1): ISO-IR-100.)
 code point: 73
     syntax: w     which means: word
   category: l:Latin 
buffer code: 0x81 0xC9
  file code: C9 (encoded by coding system iso-latin-1)
       font: -Adobe-Courier-Medium-R-Normal--12-120-75-75-M-70-ISO8859-1

There are text properties here:
  fontified            t
------------------------------------------------------------------------
  character: Í (04315, 2253, 0x8cd, U+00CD)
    charset: latin-iso8859-1 (Right-Hand Part of Latin Alphabet 1 
(ISO/IEC 8859-1): ISO-IR-100.)
 code point: 77
     syntax: w     which means: word
   category: l:Latin 
buffer code: 0x81 0xCD
  file code: CD (encoded by coding system iso-latin-1)
       font: -Adobe-Courier-Medium-R-Normal--12-120-75-75-M-70-ISO8859-1

There are text properties here:
  fontified            t
------------------------------------------------------------------------
  character: Ó (04323, 2259, 0x8d3, U+00D3)
    charset: latin-iso8859-1 (Right-Hand Part of Latin Alphabet 1 
(ISO/IEC 8859-1): ISO-IR-100.)
 code point: 83
     syntax: w     which means: word
   category: l:Latin 
buffer code: 0x81 0xD3
  file code: D3 (encoded by coding system iso-latin-1)
       font: -Adobe-Courier-Medium-R-Normal--12-120-75-75-M-70-ISO8859-1

There are text properties here:
  fontified            t
------------------------------------------------------------------------
  character: Ú (04332, 2266, 0x8da, U+00DA)
    charset: latin-iso8859-1 (Right-Hand Part of Latin Alphabet 1 
(ISO/IEC 8859-1): ISO-IR-100.)
 code point: 90
     syntax: w     which means: word
   category: l:Latin 
buffer code: 0x81 0xDA
  file code: DA (encoded by coding system iso-latin-1)
       font: -Adobe-Courier-Medium-R-Normal--12-120-75-75-M-70-ISO8859-1

There are text properties here:
  fontified            t
------------------------------------------------------------------------


Vinicius

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

* Re: Display problem with upper case accentuated chars
  2003-06-11  0:40   ` Vinicius Jose Latorre
@ 2003-06-13  2:06     ` Kenichi Handa
  2003-06-13  2:17       ` Kenichi Handa
  0 siblings, 1 reply; 10+ messages in thread
From: Kenichi Handa @ 2003-06-13  2:06 UTC (permalink / raw)
  Cc: emacs-devel

In article <3EE67A78.5080703@ig.com.br>, Vinicius Jose Latorre <viniciusjl@ig.com.br> writes:
> Ok, below are the results of C-u C-x =.
[...]
> font: -Adobe-Courier-Medium-R-Normal--12-120-75-75-M-70-ISO8859-1

I confirmed that this bug is reproducible by the above font.

I also found that this problem didn't happen in the version
before 2003-5-24 but happen in the version just after
2003-5-24.  So, I suspect that the big change on 2003-5-24
introduced some bug.

Kim?  Could you investigate this problem?

---
Ken'ichi HANDA
handa@m17n.org

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

* Re: Display problem with upper case accentuated chars
  2003-06-13  2:06     ` Kenichi Handa
@ 2003-06-13  2:17       ` Kenichi Handa
  2003-06-13 10:11         ` Andreas Schwab
  0 siblings, 1 reply; 10+ messages in thread
From: Kenichi Handa @ 2003-06-13  2:17 UTC (permalink / raw)
  Cc: emacs-devel

In article <200306130206.LAA14623@etlken.m17n.org>, Kenichi Handa <handa@m17n.org> writes:
> In article <3EE67A78.5080703@ig.com.br>, Vinicius Jose
> Latorre <viniciusjl@ig.com.br> writes:
>>  Ok, below are the results of C-u C-x =.
> [...]
>>  font: -Adobe-Courier-Medium-R-Normal--12-120-75-75-M-70-ISO8859-1

> I confirmed that this bug is reproducible by the above
> font.

> I also found that this problem didn't happen in the
> version before 2003-5-24 but happen in the version just
> after 2003-5-24.  So, I suspect that the big change on
> 2003-5-24 introduced some bug.

Another info.  If I set fringe-mode to none, this problem
doesn't happen.

---
Ken'ichi HANDA
handa@m17n.org

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

* Re: Display problem with upper case accentuated chars
  2003-06-13  2:17       ` Kenichi Handa
@ 2003-06-13 10:11         ` Andreas Schwab
  2003-06-13 23:15           ` Vinicius Jose Latorre
  0 siblings, 1 reply; 10+ messages in thread
From: Andreas Schwab @ 2003-06-13 10:11 UTC (permalink / raw)
  Cc: emacs-devel

Kenichi Handa <handa@m17n.org> writes:

|> In article <200306130206.LAA14623@etlken.m17n.org>, Kenichi Handa <handa@m17n.org> writes:
|> > In article <3EE67A78.5080703@ig.com.br>, Vinicius Jose
|> > Latorre <viniciusjl@ig.com.br> writes:
|> >>  Ok, below are the results of C-u C-x =.
|> > [...]
|> >>  font: -Adobe-Courier-Medium-R-Normal--12-120-75-75-M-70-ISO8859-1
|> 
|> > I confirmed that this bug is reproducible by the above
|> > font.
|> 
|> > I also found that this problem didn't happen in the
|> > version before 2003-5-24 but happen in the version just
|> > after 2003-5-24.  So, I suspect that the big change on
|> > 2003-5-24 introduced some bug.

I'm seeing a similar display problem: accentuated upper case characters
are displayed one screen position to the right, and the same character but
with a different accent is displayed instead on the real position.  Only
the characters with an umlaut accent are displayed correctly.  I'm using
the font -Adobe-Courier-Medium-R-Normal--14-100-100-100-M-90-ISO8859-1.

|> Another info.  If I set fringe-mode to none, this problem
|> doesn't happen.

Same for me.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

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

* Re: Display problem with upper case accentuated chars
  2003-06-13 10:11         ` Andreas Schwab
@ 2003-06-13 23:15           ` Vinicius Jose Latorre
  2003-06-14 22:59             ` Kim F. Storm
  0 siblings, 1 reply; 10+ messages in thread
From: Vinicius Jose Latorre @ 2003-06-13 23:15 UTC (permalink / raw)
  Cc: Kenichi Handa

Andreas Schwab wrote:

>Kenichi Handa <handa@m17n.org> writes:
>
>|> Another info.  If I set fringe-mode to none, this problem
>|> doesn't happen.
>
>Same for me.
>  
>

I inserted (fringe-mode 'none) in my .emacs file, but the problem still 
persits.

Vinicius

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

* Re: Display problem with upper case accentuated chars
  2003-06-13 23:15           ` Vinicius Jose Latorre
@ 2003-06-14 22:59             ` Kim F. Storm
  2003-06-15  1:04               ` Kim F. Storm
  0 siblings, 1 reply; 10+ messages in thread
From: Kim F. Storm @ 2003-06-14 22:59 UTC (permalink / raw)
  Cc: Kenichi Handa

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

> Andreas Schwab wrote:
> 
> >Kenichi Handa <handa@m17n.org> writes:
> >
> >|> Another info.  If I set fringe-mode to none, this problem
> >|> doesn't happen.
> >
> >Same for me.
> >  
> 
> I inserted (fringe-mode 'none) in my .emacs file, but the problem
> still persits.

I have a pretty good idea what the problem is... and how to fix it.

Stay tuned :-)

++kfs

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

* Re: Display problem with upper case accentuated chars
  2003-06-14 22:59             ` Kim F. Storm
@ 2003-06-15  1:04               ` Kim F. Storm
  2003-06-15 19:58                 ` Vinicius Jose Latorre
  0 siblings, 1 reply; 10+ messages in thread
From: Kim F. Storm @ 2003-06-15  1:04 UTC (permalink / raw)
  Cc: Kenichi Handa

storm@cua.dk (Kim F. Storm) writes:

> Vinicius Jose Latorre <viniciusjl@ig.com.br> writes:
> 
> > Andreas Schwab wrote:
> > 
> > >Kenichi Handa <handa@m17n.org> writes:
> > >
> > >|> Another info.  If I set fringe-mode to none, this problem
> > >|> doesn't happen.
> > >
> > >Same for me.
> > >  
> > 
> > I inserted (fringe-mode 'none) in my .emacs file, but the problem
> > still persits.
> 
> I have a pretty good idea what the problem is... and how to fix it.
> 

I just installed a fix, please let me know if it fixes the problem.

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

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

* Re: Display problem with upper case accentuated chars
  2003-06-15  1:04               ` Kim F. Storm
@ 2003-06-15 19:58                 ` Vinicius Jose Latorre
  0 siblings, 0 replies; 10+ messages in thread
From: Vinicius Jose Latorre @ 2003-06-15 19:58 UTC (permalink / raw)
  Cc: Kenichi Handa

Kim F. Storm wrote:

>storm@cua.dk (Kim F. Storm) writes:
>
>  
>
>>Vinicius Jose Latorre <viniciusjl@ig.com.br> writes:
>>
>>    
>>
>>>Andreas Schwab wrote:
>>>
>>>      
>>>
>>>>Kenichi Handa <handa@m17n.org> writes:
>>>>
>>>>|> Another info.  If I set fringe-mode to none, this problem
>>>>|> doesn't happen.
>>>>
>>>>Same for me.
>>>> 
>>>>        
>>>>
>>>I inserted (fringe-mode 'none) in my .emacs file, but the problem
>>>still persits.
>>>      
>>>
>>I have a pretty good idea what the problem is... and how to fix it.
>>
>>    
>>
>
>I just installed a fix, please let me know if it fixes the problem.
>  
>

GREAT!!  It's all working now.


thanks,


Vinicius

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

end of thread, other threads:[~2003-06-15 19:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-07 23:42 Display problem with upper case accentuated chars Vinicius Jose Latorre
2003-06-10  1:47 ` Kenichi Handa
2003-06-11  0:40   ` Vinicius Jose Latorre
2003-06-13  2:06     ` Kenichi Handa
2003-06-13  2:17       ` Kenichi Handa
2003-06-13 10:11         ` Andreas Schwab
2003-06-13 23:15           ` Vinicius Jose Latorre
2003-06-14 22:59             ` Kim F. Storm
2003-06-15  1:04               ` Kim F. Storm
2003-06-15 19:58                 ` Vinicius Jose Latorre

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.