GNU bug report logs -
#2806
23.0.91; characters from unicode-sip coderange not displaying properly on Cocoa-Mac
Previous Next
Reported by: Christian Wittern <cwittern <at> gmail.com>
Date: Fri, 27 Mar 2009 23:00:03 UTC
Severity: normal
Tags: patch
Merged with 7913
Found in version 23.2
Done: Chong Yidong <cyd <at> gnu.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 2806 in the body.
You can then email your comments to 2806 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2806
; Package
emacs
.
(Fri, 27 Mar 2009 23:00:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Christian Wittern <cwittern <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Fri, 27 Mar 2009 23:00:04 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
Characters from the unicode-sip coderange (in this case, CJK Ext-B and
Ext-C) do not display properly on a Macintosh OS X system. I am using the
nightly builds available from
http://atomized.org/wp-content/cocoa-emacs-nightly/.
The phenomen observed is as follows: The area occupied by the character is
larger than usual, more than double the width. Sometimes a random character
disappears in part of this area, but mostly it is the color of the
background. When the cursor moves over this area, the character displayed
changes, but again is not the character that should be displayed. The
necessary fonts are installed and display properly in other applications.
The font is set as follows:
(if (display-graphic-p)
(set-fontset-font
(frame-parameter nil 'font)
'(#x20000 . #x2a6ff)
'("*-Sun-ExtB" . "unicode-sip")))
;; Ext-C
(if (display-graphic-p)
(set-fontset-font
(frame-parameter nil 'font)
'(#x2A700 . #x2b7ff)
'("*-HanaMin" . "unicode-sip")))
;; Display the Unicode-BMP:
(if (display-graphic-p)
(set-fontset-font
(frame-parameter nil 'font)
'(#x0000 . #xffff)
'("*-Sun-ExtA" . "unicode-bmp")))
A fix for this problem would be much appreciated
In GNU Emacs 23.0.91.1 (i386-apple-darwin9.6.0, NS apple-appkit-949.43)
of 2009-03-25 on neutron.local
Windowing system distributor `Apple', version 10.3.949
configured using `configure '--with-ns''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: UTF-8
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: Text
Minor modes in effect:
shell-dirtrack-mode: t
delete-selection-mode: t
pc-selection-mode: t
global-auto-revert-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
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
<help-echo> C-x C-f e m <tab> <return> s M-< <down>
<down> <down> <down> <return> M-x C-g <down> <up> <up>
<S-down> <S-down> <S-down> <S-down> <S-down> <S-down>
<S-down> <S-down> <S-down> <S-down> <S-down> <S-down>
<S-down> <S-down> <up> <up> <up> <up> <up> <up> <up>
<up> C-x C-e <down> <down> <down> <down> <down> <down>
<down> C-x C-e <down> <down> <down> <down> <down> <down>
<down> C-x C-e C-x C-f ~ / D r o p <tab> c o m <tab>
i <tab> <backspace> c h <tab> <return> <down> <down>
<down> <down> <down> <down> <down> <down> C-x C-f /
/ t m <tab> i d <tab> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> ~ / u n i <tab>
i <backspace> / i <tab> <return> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <up> <up> <up> <up> <return> <down> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <down> <down> <up> <right>
<right> <right> <left> <left> <down> <down> <down>
<right> <left> <right> <up> <right> <left> <menu-bar>
<help-menu> <send-emacs-bug-report>
Recent messages:
Loading /Users/chris/org/chw-calendar.el (source)...done
Loading /Users/chris/org/chw-org.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Mark set
Loading vc-cvs...done
Quit
line-move-visual: Beginning of buffer
Mark set
nil [3 times]
Making completion list...
--
Christian Wittern
Institute for Research in Humanities, Kyoto University
47 Higashiogura-cho, Kitashirakawa, Sakyo-ku, Kyoto 606-8265, JAPAN
bug reassigned from package `emacs' to `emacs,ns'.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Tue, 23 Jun 2009 18:35:07 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#2806
; Package
emacs,ns
.
(Tue, 15 Dec 2009 01:10:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Christian Wittern <cwittern <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
.
(Tue, 15 Dec 2009 01:10:05 GMT)
Full text and
rfc822 format available.
Message #12 received at 2806 <at> emacsbugs.donarmstrong.com (full text, mbox):
Hi there,
I just confirmed with the released version 23.1 that this problem is
still existing. It is very disappointing and keeps all Mac users I
know from upgrading to the otherwise wonderful release 23. Is there
anything I can do to help getting this issue fixed?
All the best,
Christian
--
Christian Wittern, Kyoto
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
:
bug#2806
; Package
emacs,ns
.
(Tue, 15 Dec 2009 06:05:07 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Kenichi Handa <handa <at> m17n.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
.
(Tue, 15 Dec 2009 06:05:09 GMT)
Full text and
rfc822 format available.
Message #17 received at 2806 <at> emacsbugs.donarmstrong.com (full text, mbox):
[Message part 1 (text/plain, inline)]
In article <5268d87d0912141704k5eb7ae24p777096a93cbbc0d2 <at> mail.gmail.com>, Christian Wittern <cwittern <at> gmail.com> writes:
> I just confirmed with the released version 23.1 that this problem is
> still existing. It is very disappointing and keeps all Mac users I
> know from upgrading to the otherwise wonderful release 23. Is there
> anything I can do to help getting this issue fixed?
Emacs supports unicode-sip displaying at least on Unix/Linux
where we can use fontconfig and freetype. See the attached
image (result of M-x list-charset-chars RET unicode-sip
RET). Emacs asks a font-backend to get a font whose
registry is "unicode-sip", and fontconfig backend searches
for fonts that support at least U+20000 for such a request.
Perhaps, Mac's font-backend is not doing that.
[sip.png (image/png, attachment)]
[Message part 3 (text/plain, inline)]
---
Kenichi Handa
handa <at> m17n.org
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#2806
; Package
emacs,ns
.
(Tue, 26 Jan 2010 04:48:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 2806 <at> debbugs.gnu.org (full text, mbox):
Thank you Handa-san. Shortly after sending this message, I found out
that Yamamoto Mitsuharu-san in Chiba has a patch [1] that provides the
functionality I needed. I succeeded in applying this patch and have
used the resulting Emacs.app for about a month now without any
problems. It would surely be great if that patch could be incorporated
into the Emacs source.
All the best, Christian
[1] ftp://ftp.math.s.chiba-u.ac.jp/emacs/emacs-23.1.90-mac-1.95.tar.gz
On 2009-12-15 14:56, Kenichi Handa wrote:
> In article<5268d87d0912141704k5eb7ae24p777096a93cbbc0d2 <at> mail.gmail.com>, Christian Wittern<cwittern <at> gmail.com> writes:
>
>
>> I just confirmed with the released version 23.1 that this problem is
>> still existing. It is very disappointing and keeps all Mac users I
>> know from upgrading to the otherwise wonderful release 23. Is there
>> anything I can do to help getting this issue fixed?
>>
> Emacs supports unicode-sip displaying at least on Unix/Linux
> where we can use fontconfig and freetype. See the attached
> image (result of M-x list-charset-chars RET unicode-sip
> RET). Emacs asks a font-backend to get a font whose
> registry is "unicode-sip", and fontconfig backend searches
> for fonts that support at least U+20000 for such a request.
>
> Perhaps, Mac's font-backend is not doing that.
>
>
>
>
>
> ---
> Kenichi Handa
> handa <at> m17n.org
>
--
Christian Wittern
Institute for Research in Humanities, Kyoto University
47 Higashiogura-cho, Kitashirakawa, Sakyo-ku, Kyoto 606-8265, JAPAN
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#2806
; Package
emacs,ns
.
(Tue, 26 Jan 2010 11:09:01 GMT)
Full text and
rfc822 format available.
Message #23 received at 2806 <at> debbugs.gnu.org (full text, mbox):
In article <4B5E7017.8050505 <at> gmail.com>, Christian Wittern <cwittern <at> gmail.com> writes:
> Thank you Handa-san. Shortly after sending this message, I found out
> that Yamamoto Mitsuharu-san in Chiba has a patch [1] that provides the
> functionality I needed. I succeeded in applying this patch and have
> used the resulting Emacs.app for about a month now without any
> problems. It would surely be great if that patch could be incorporated
> into the Emacs source.
> All the best, Christian
> [1] ftp://ftp.math.s.chiba-u.ac.jp/emacs/emacs-23.1.90-mac-1.95.tar.gz
I have no knowledge about Mac, and can't find which part of
the above file is necessary for supporting unicode-sip
displaying.
Could someone working on Mac port please DTRT?
---
Kenichi Handa
handa <at> m17n.org
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#2806
; Package
emacs,ns
.
(Thu, 28 Jan 2010 01:23:01 GMT)
Full text and
rfc822 format available.
Message #26 received at 2806 <at> debbugs.gnu.org (full text, mbox):
>>>>> On Tue, 26 Jan 2010 20:08:13 +0900, Kenichi Handa <handa <at> m17n.org> said:
> In article <4B5E7017.8050505 <at> gmail.com>, Christian Wittern
> <cwittern <at> gmail.com> writes:
>> Thank you Handa-san. Shortly after sending this message, I found
>> out that Yamamoto Mitsuharu-san in Chiba has a patch [1] that
>> provides the functionality I needed. I succeeded in applying this
>> patch and have used the resulting Emacs.app for about a month now
>> without any problems. It would surely be great if that patch could
>> be incorporated into the Emacs source. All the best, Christian
>> [1]
>> ftp://ftp.math.s.chiba-u.ac.jp/emacs/emacs-23.1.90-mac-1.95.tar.gz
> I have no knowledge about Mac, and can't find which part of the
> above file is necessary for supporting unicode-sip displaying.
> Could someone working on Mac port please DTRT?
Someone working on the NS port, which is supposed to be a first-class
official port, should DTRT. The Mac port is neither a patch for nor a
distribution on top of the NS port, but a completely independent port
created with a different policy and design.
I didn't do anything special about unicode-sip for the font backend
drivers on the Mac port. They are created by porting xftfont.c and
ftfont.c straightforwardly, and perhaps that might give a good result
for this matter.
YAMAMOTO Mitsuharu
mituharu <at> math.s.chiba-u.ac.jp
Merged 2806 7913.
Request was from
Chong Yidong <cyd <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Thu, 16 Aug 2012 05:57:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
7913 <at> debbugs.gnu.org and Dragan Ivanovic <idragan <at> clip.dia.fi.upm.es>
Request was from
Chong Yidong <cyd <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sun, 16 Sep 2012 04:58:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 14 Oct 2012 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 12 years and 251 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.