unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#3994: 23.1; Problem of rendering cyrillic fonts on Mac OS X
@ 2009-07-31  8:11 Konstantin Lepa
  2012-11-01 11:00 ` bug#3994: " Lev Shamardin
  0 siblings, 1 reply; 8+ messages in thread
From: Konstantin Lepa @ 2009-07-31  8:11 UTC (permalink / raw)
  To: bug-gnu-emacs

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@N05/3771171287/sizes/o/

Here is a screenshot of correct rendering (Emacs 23.0.94):
http://www.flickr.com/photos/40931354@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.






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

* bug#3994: 23.1; Problem of rendering cyrillic fonts on Mac OS X
@ 2009-09-18 22:24 Adrian Robert
  2009-09-19 15:19 ` Konstantin Lepa
  0 siblings, 1 reply; 8+ messages in thread
From: Adrian Robert @ 2009-09-18 22:24 UTC (permalink / raw)
  To: 3994; +Cc: Konstantin Lepa

http://emacsbugs.donarmstrong.com/cgi-bin/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.






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

* bug#3994: 23.1; Problem of rendering cyrillic fonts on Mac OS X
  2009-09-18 22:24 bug#3994: 23.1; " Adrian Robert
@ 2009-09-19 15:19 ` Konstantin Lepa
       [not found]   ` <6C1C84A3-1D50-432C-8F7F-F78806C1B778@gmail.com>
  0 siblings, 1 reply; 8+ messages in thread
From: Konstantin Lepa @ 2009-09-19 15:19 UTC (permalink / raw)
  To: Adrian Robert

[-- Attachment #1: Type: text/plain, Size: 1684 bytes --]

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.


[-- Attachment #2: TerminusMedium.dfont --]
[-- Type: application/octet-stream, Size: 173879 bytes --]

[-- Attachment #3: Type: text/plain, Size: 489 bytes --]




Thanks.

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

> http://emacsbugs.donarmstrong.com/cgi-bin/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.
>


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

* bug#3994: 23.1; Problem of rendering cyrillic fonts on Mac OS X
       [not found]   ` <6C1C84A3-1D50-432C-8F7F-F78806C1B778@gmail.com>
@ 2009-09-21  7:42     ` Konstantin Lepa
  0 siblings, 0 replies; 8+ messages in thread
From: Konstantin Lepa @ 2009-09-21  7:42 UTC (permalink / raw)
  To: 3994; +Cc: Adrian Robert

[-- Attachment #1: Type: text/plain, Size: 71 bytes --]

Hi.

It's very strange :-( It's my Font Book's info (Mac OS X 10.5.8):

[-- Attachment #2: Picture 1.png --]
[-- Type: image/png, Size: 138280 bytes --]

[-- Attachment #3: Type: text/plain, Size: 3334 bytes --]



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://emacsbugs.donarmstrong.com/cgi-bin/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.
>>>
>>
>


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

* bug#3994: Problem of rendering cyrillic fonts on Mac OS X
  2009-07-31  8:11 bug#3994: 23.1; Problem of rendering cyrillic fonts on Mac OS X Konstantin Lepa
@ 2012-11-01 11:00 ` Lev Shamardin
  2016-07-10 14:55   ` Alan Third
  0 siblings, 1 reply; 8+ messages in thread
From: Lev Shamardin @ 2012-11-01 11:00 UTC (permalink / raw)
  To: 3994

[-- Attachment #1: Type: text/plain, Size: 195 bytes --]

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.

[-- Attachment #2: bad_termins_rendering.png --]
[-- Type: image/png, Size: 51444 bytes --]

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

* bug#3994: Problem of rendering cyrillic fonts on Mac OS X
  2012-11-01 11:00 ` bug#3994: " Lev Shamardin
@ 2016-07-10 14:55   ` Alan Third
  2016-07-10 17:44     ` Lev Shamardin
  0 siblings, 1 reply; 8+ messages in thread
From: Alan Third @ 2016-07-10 14:55 UTC (permalink / raw)
  To: Lev Shamardin; +Cc: 3994

Lev Shamardin <shamardin@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





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

* bug#3994: Problem of rendering cyrillic fonts on Mac OS X
  2016-07-10 14:55   ` Alan Third
@ 2016-07-10 17:44     ` Lev Shamardin
  2016-08-12 18:17       ` Alan Third
  0 siblings, 1 reply; 8+ messages in thread
From: Lev Shamardin @ 2016-07-10 17:44 UTC (permalink / raw)
  To: Alan Third; +Cc: 3994

[-- Attachment #1: Type: text/plain, Size: 642 bytes --]

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@idiocy.org> wrote:

> Lev Shamardin <shamardin@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
>

[-- Attachment #2: Type: text/html, Size: 1026 bytes --]

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

* bug#3994: Problem of rendering cyrillic fonts on Mac OS X
  2016-07-10 17:44     ` Lev Shamardin
@ 2016-08-12 18:17       ` Alan Third
  0 siblings, 0 replies; 8+ messages in thread
From: Alan Third @ 2016-08-12 18:17 UTC (permalink / raw)
  To: Lev Shamardin; +Cc: 3994-done

Lev Shamardin <shamardin@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





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

end of thread, other threads:[~2016-08-12 18:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-31  8:11 bug#3994: 23.1; Problem of rendering cyrillic fonts on Mac OS X Konstantin Lepa
2012-11-01 11:00 ` bug#3994: " Lev Shamardin
2016-07-10 14:55   ` Alan Third
2016-07-10 17:44     ` Lev Shamardin
2016-08-12 18:17       ` Alan Third
  -- strict thread matches above, loose matches on Subject: below --
2009-09-18 22:24 bug#3994: 23.1; " Adrian Robert
2009-09-19 15:19 ` Konstantin Lepa
     [not found]   ` <6C1C84A3-1D50-432C-8F7F-F78806C1B778@gmail.com>
2009-09-21  7:42     ` Konstantin Lepa

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