GNU bug report logs - #3994
23.1; Problem of rendering cyrillic fonts on Mac OS X

Previous Next

Package: emacs;

Reported by: Konstantin Lepa <konstantin.lepa <at> gmail.com>

Date: Fri, 31 Jul 2009 08:15:04 UTC

Severity: normal

Tags: unreproducible

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 3994 in the body.
You can then email your comments to 3994 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3994; Package emacs. (Fri, 31 Jul 2009 08:15:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Konstantin Lepa <konstantin.lepa <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Fri, 31 Jul 2009 08:15:05 GMT) Full text and rfc822 format available.

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

From: Konstantin Lepa <konstantin.lepa <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.1; Problem of rendering cyrillic fonts on Mac OS X
Date: Fri, 31 Jul 2009 12:11:36 +0400
Hi.

`Terminus' font for russian language is broken.

I checked for Emacs 23.0.90-23.0.94 and it works. Emacs  
23.0.95-23.0.96 makes bold font instead regular font (see bug #3834).  
Emacs 23.1 has normal rendering for english language, but for cyrillic  
languages font is broken.

For recreating problem:
1. Install TerminusMedium.dfont from http://www.fileqube.com/file/zLiajO207525
2. In Emacs 23.1.1:
   ns-popup-font-panel <RET> ; choose Terminus font
   C-h h ; show multilingual text (see russian text)

Here is a screenshot of incorrect rendering:
http://www.flickr.com/photos/40931354 <at> N05/3771171287/sizes/o/

Here is a screenshot of correct rendering (Emacs 23.0.94):
http://www.flickr.com/photos/40931354 <at> N05/3771975008/sizes/o/

Konstantin.


In GNU Emacs 23.1.1 (i386-apple-darwin9.7.0, NS apple-appkit-949.46)
 of 2009-07-30 on black.local
Windowing system distributor `Apple', version 10.3.949
configured using `configure  '--with-ns''

Important settings:
  value of $LC_ALL: en_US.UTF-8
  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: nil
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  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
  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
  view-mode: t

Recent input:
<help-echo> <help-echo> M-x n s - f o n t <backspace>
<backspace> <backspace> <backspace> p o p u <tab> f
o n <tab> <return> <help-echo> <help-echo> <ns-change-font>
<ns-change-font> <ns-change-font> <ns-change-font>
C-h h M-x r e p o r t - e m a c s - b u g <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
View mode: type C-h for help, h for commands, q to quit.




bug reassigned from package `emacs' to `emacs,ns'. Request was from Jason Rumney <jasonr <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Sat, 01 Aug 2009 09:25:08 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#3994; Package emacs,ns. (Fri, 18 Sep 2009 22:30:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Adrian Robert <adrian.b.robert <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com. (Fri, 18 Sep 2009 22:30:04 GMT) Full text and rfc822 format available.

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

From: Adrian Robert <adrian.b.robert <at> gmail.com>
To: 3994 <at> debbugs.gnu.org
Cc: Konstantin Lepa <konstantin.lepa <at> gmail.com>
Subject: Re: 23.1; Problem of rendering cyrillic fonts on Mac OS X
Date: Fri, 18 Sep 2009 18:24:04 -0400
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3994

Hi,

please check C-u C-x = on the characters in question and let me know  
what font they are actually using.

(I suspect the problem is Emacs.app is now paying more attention to  
what the font itself says it has characters for, but I'm not sure.   
Another test, try using Cyrillic characters with Terminus in TextEdit.)

thanks.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#3994; Package emacs,ns. (Sat, 19 Sep 2009 15:35:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Konstantin Lepa <konstantin.lepa <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com. (Sat, 19 Sep 2009 15:35:06 GMT) Full text and rfc822 format available.

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

From: Konstantin Lepa <konstantin.lepa <at> gmail.com>
To: Adrian Robert <adrian.b.robert <at> gmail.com>
Subject: Re: 23.1; Problem of rendering cyrillic fonts on Mac OS X
Date: Sat, 19 Sep 2009 19:19:26 +0400
[Message part 1 (text/plain, inline)]
Hi.

Cyrillic char 'я':
-- cut --
       character: я (1103, #o2117, #x44f)
preferred charset: unicode-bmp (Unicode Basic Multilingual Plane (U 
+0000..U+FFFF))
      code point: 0x044F
          syntax: w 	which means: word
        category: .:Base, Y:2-byte Cyrillic, c:Chinese, h:Korean,  
j:Japanese, y:Cyrillic
     buffer code: #xD1 #x8F
       file code: #xD1 #x8F (encoded by coding system utf-8-unix)
         display: by this font (glyph code)
   nil:-apple-Monaco-medium-normal-normal-*-20-*-*-*-m-0-iso10646-1  
(#x1C0)

Character code properties: customize what to show
 name: CYRILLIC SMALL LETTER YA
 old-name: CYRILLIC SMALL LETTER IA
 general-category: Ll (Letter, Lowercase)

There are text properties here:
 c-in-sws             t
 face                 font-lock-comment-face
 fontified            t
-- cut --

English char 'z':
-- cut --
       character: z (122, #o172, #x7a)
preferred charset: ascii (ASCII (ISO646 IRV))
      code point: 0x7A
          syntax: w 	which means: word
        category: .:Base, a:ASCII, l:Latin, r:Roman
     buffer code: #x7A
       file code: #x7A (encoded by coding system utf-8-unix)
         display: by this font (glyph code)
   nil:-apple-Terminus-medium-normal-normal-*-20-*-*-*-m-0-iso10646-1  
(#x5E)

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

There are text properties here:
 c-in-sws             t
 face                 font-lock-comment-face
 fontified            t
-- cut --

Terminus font (english and russian layout) works very well in  
TextEdit.app.

[TerminusMedium.dfont (application/octet-stream, attachment)]
[Message part 3 (text/plain, inline)]


Thanks.

On Sep 19, 2009, at 2:24 AM, Adrian Robert wrote:

> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3994
>
> Hi,
>
> please check C-u C-x = on the characters in question and let me know  
> what font they are actually using.
>
> (I suspect the problem is Emacs.app is now paying more attention to  
> what the font itself says it has characters for, but I'm not sure.   
> Another test, try using Cyrillic characters with Terminus in  
> TextEdit.)
>
> thanks.
>


Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#3994; Package emacs,ns. (Mon, 21 Sep 2009 07:50:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Konstantin Lepa <konstantin.lepa <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com. (Mon, 21 Sep 2009 07:50:04 GMT) Full text and rfc822 format available.

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

From: Konstantin Lepa <konstantin.lepa <at> gmail.com>
To: 3994 <at> debbugs.gnu.org
Cc: Adrian Robert <adrian.b.robert <at> gmail.com>
Subject: Re: 23.1; Problem of rendering cyrillic fonts on Mac OS X
Date: Mon, 21 Sep 2009 11:42:40 +0400
[Message part 1 (text/plain, inline)]
Hi.

It's very strange :-( It's my Font Book's info (Mac OS X 10.5.8):
[Picture 1.png (image/png, inline)]
[Message part 3 (text/plain, inline)]

Thanks.

On Sep 20, 2009, at 1:53 AM, Adrian Robert wrote:

> Hi,
>
> thanks.  When I open the attached font in Font Book and choose info  
> view (Cmd-i), it says languages are English, French, German,  
> Spanish, Italian, Dutch, Swedish, Danish, Finnish, Portuguese.  No  
> Russian.  And when emacs asks for fonts rendering Cyrillic, Terminus  
> says "no", according to NSFont-coveredCharacterSet API.  I am not  
> sure how TextEdit is detecting that it CAN render Cyrillic.  The  
> most useful thing at this point might be to examine that font more  
> closely using FontForge and see if it lacks some specification that  
> other Cyrillic fonts have.  And at the same time check what  
> specification it DOES have about Cyrillic.  Then we can decide  
> whether to try changing Emac's method or fixing the font.  (Or both..)
>
> -Adrian
>
>
>
> On Sep 19, 2009, at 11:19 AM, Konstantin Lepa wrote:
>
>> Hi.
>>
>> Cyrillic char 'я':
>> -- cut --
>>        character: я (1103, #o2117, #x44f)
>> preferred charset: unicode-bmp (Unicode Basic Multilingual Plane (U 
>> +0000..U+FFFF))
>>       code point: 0x044F
>>           syntax: w 	which means: word
>>         category: .:Base, Y:2-byte Cyrillic, c:Chinese, h:Korean,  
>> j:Japanese, y:Cyrillic
>>      buffer code: #xD1 #x8F
>>        file code: #xD1 #x8F (encoded by coding system utf-8-unix)
>>          display: by this font (glyph code)
>>    nil:-apple-Monaco-medium-normal-normal-*-20-*-*-*-m-0-iso10646-1  
>> (#x1C0)
>>
>> Character code properties: customize what to show
>>  name: CYRILLIC SMALL LETTER YA
>>  old-name: CYRILLIC SMALL LETTER IA
>>  general-category: Ll (Letter, Lowercase)
>>
>> There are text properties here:
>>  c-in-sws             t
>>  face                 font-lock-comment-face
>>  fontified            t
>> -- cut --
>>
>> English char 'z':
>> -- cut --
>>        character: z (122, #o172, #x7a)
>> preferred charset: ascii (ASCII (ISO646 IRV))
>>       code point: 0x7A
>>           syntax: w 	which means: word
>>         category: .:Base, a:ASCII, l:Latin, r:Roman
>>      buffer code: #x7A
>>        file code: #x7A (encoded by coding system utf-8-unix)
>>          display: by this font (glyph code)
>>    nil:-apple-Terminus-medium-normal-normal-*-20-*-*-*-m-0- 
>> iso10646-1 (#x5E)
>>
>> Character code properties: customize what to show
>>  name: LATIN SMALL LETTER Z
>>  general-category: Ll (Letter, Lowercase)
>>
>> There are text properties here:
>>  c-in-sws             t
>>  face                 font-lock-comment-face
>>  fontified            t
>> -- cut --
>>
>> Terminus font (english and russian layout) works very well in  
>> TextEdit.app.
>>
>> <TerminusMedium.dfont>
>>
>>
>> Thanks.
>>
>> On Sep 19, 2009, at 2:24 AM, Adrian Robert wrote:
>>
>>> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3994
>>>
>>> Hi,
>>>
>>> please check C-u C-x = on the characters in question and let me  
>>> know what font they are actually using.
>>>
>>> (I suspect the problem is Emacs.app is now paying more attention  
>>> to what the font itself says it has characters for, but I'm not  
>>> sure.  Another test, try using Cyrillic characters with Terminus  
>>> in TextEdit.)
>>>
>>> thanks.
>>>
>>
>


Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#3994; Package emacs,ns. (Thu, 01 Nov 2012 16:41:03 GMT) Full text and rfc822 format available.

Message #25 received at 3994 <at> debbugs.gnu.org (full text, mbox):

From: Lev Shamardin <shamardin <at> theory.sinp.msu.ru>
To: 3994 <at> debbugs.gnu.org
Subject: Problem of rendering cyrillic fonts on Mac OS X
Date: Thu, 01 Nov 2012 11:00:49 +0000
[Message part 1 (text/plain, inline)]
Hi all,

Any updates on this problem? I'm still experiencing this with GNU Emacs 
24.2.1 (x86_64-apple-darwin12.2.0, NS apple-appkit-1187.34), see 
screenshot attached.

With best regards,

Lev.
[bad_termins_rendering.png (image/png, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#3994; Package emacs. (Sun, 10 Jul 2016 14:56:02 GMT) Full text and rfc822 format available.

Message #28 received at 3994 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Lev Shamardin <shamardin <at> theory.sinp.msu.ru>
Cc: 3994 <at> debbugs.gnu.org
Subject: Re: bug#3994: Problem of rendering cyrillic fonts on Mac OS X
Date: Sun, 10 Jul 2016 15:55:50 +0100
Lev Shamardin <shamardin <at> theory.sinp.msu.ru> writes:

> Any updates on this problem? I'm still experiencing this with GNU
> Emacs 24.2.1 (x86_64-apple-darwin12.2.0, NS apple-appkit-1187.34), see
> screenshot attached.

Hi, are you still having this problem with recent builds of Emacs? As I
understand it the font back-end was completely replaced sometimes since
this bug report was originally made, so hopefully that solved it, if it
wasn't already fixed.
-- 
Alan Third




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#3994; Package emacs. (Mon, 11 Jul 2016 06:10:02 GMT) Full text and rfc822 format available.

Message #31 received at 3994 <at> debbugs.gnu.org (full text, mbox):

From: Lev Shamardin <shamardin <at> gmail.com>
To: Alan Third <alan <at> idiocy.org>
Cc: 3994 <at> debbugs.gnu.org
Subject: Re: bug#3994: Problem of rendering cyrillic fonts on Mac OS X
Date: Sun, 10 Jul 2016 18:44:57 +0100
[Message part 1 (text/plain, inline)]
Sorry, no idea. I no longer have an apple computer, and have no means to
verify.

On 10 Jul 2016 3:55 p.m., "Alan Third" <alan <at> idiocy.org> wrote:

> Lev Shamardin <shamardin <at> theory.sinp.msu.ru> writes:
>
> > Any updates on this problem? I'm still experiencing this with GNU
> > Emacs 24.2.1 (x86_64-apple-darwin12.2.0, NS apple-appkit-1187.34), see
> > screenshot attached.
>
> Hi, are you still having this problem with recent builds of Emacs? As I
> understand it the font back-end was completely replaced sometimes since
> this bug report was originally made, so hopefully that solved it, if it
> wasn't already fixed.
> --
> Alan Third
>
[Message part 2 (text/html, inline)]

Added tag(s) unreproducible. Request was from Alan Third <alan <at> idiocy.org> to control <at> debbugs.gnu.org. (Sun, 17 Jul 2016 20:27:02 GMT) Full text and rfc822 format available.

Reply sent to Alan Third <alan <at> idiocy.org>:
You have taken responsibility. (Fri, 12 Aug 2016 18:18:02 GMT) Full text and rfc822 format available.

Notification sent to Konstantin Lepa <konstantin.lepa <at> gmail.com>:
bug acknowledged by developer. (Fri, 12 Aug 2016 18:18:02 GMT) Full text and rfc822 format available.

Message #38 received at 3994-done <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Lev Shamardin <shamardin <at> gmail.com>
Cc: 3994-done <at> debbugs.gnu.org
Subject: Re: bug#3994: Problem of rendering cyrillic fonts on Mac OS X
Date: Fri, 12 Aug 2016 19:17:02 +0100
Lev Shamardin <shamardin <at> gmail.com> writes:

> Sorry, no idea. I no longer have an apple computer, and have no means to verify. 

Since there doesn't seem to be anyone left responding to this who can
confirm if it's still an issue or not, I'm going to close.

Thanks.

-- 
Alan Third




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 10 Sep 2016 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 340 days ago.

Previous Next


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