From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Chris Zheng <chrisdcheng@gmail.com>
Cc: Adrian Robert <adrian.b.robert@gmail.com>,
"emacs-devel@gnu.org Development" <emacs-devel@gnu.org>
Subject: Re: State of NS port
Date: Mon, 14 Jan 2013 10:35:14 +0100 [thread overview]
Message-ID: <24F0B545-CA72-41D7-9CC7-A81EB9C73FE3@swipnet.se> (raw)
In-Reply-To: <2E1BB17A2D1E4793AEAA71C1B8AE1690@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1885 bytes --]
This is fixed in the trunk.
Jan D.
14 jan 2013 kl. 03:44 skrev Chris Zheng <chrisdcheng@gmail.com>:
> But the second one (which seems a reasonable fix) makes Emacs unable to display any non-western characters.
>
> - if ([fkeys count] > 0)
> - matchingDescs = [fdesc matchingFontDescriptorsWithMandatoryKeys: fkeys];
> - else
> - matchingDescs = [NSMutableArray array];
> + matchingDescs = [fdesc matchingFontDescriptorsWithMandatoryKeys: fkeys];
>
> --
> Best regards,
> Chris
>
> On Saturday, January 12, 2013 at 6:09 PM, Jan Djärv wrote:
>
>> Hello.
>>
>> 12 jan 2013 kl. 04:49 skrev Chris Zheng <chrisdcheng@gmail.com>:
>>
>>> I suffered this problem too, and it's because of two bug fixes after I dig it awhile.
>>>
>>> bug#11484: 23.4; Scrolling leaves traces of old text behind
>>>
>>> http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-05/msg00383.html
>>>
>>> LCD-smoothing was turned off to fix this bug,
>>>
>>> and
>>>
>>> bug#11541: - Another reproduction - Emacs 24.2; Null pointer on OSX with
>>>
>>> http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-09/msg01293.html
>>>
>>> I simply revert these two fixes, and problem you mentioned is gone.
>>>
>>> So, maybe there are more deeper things around of these two bugs.
>>
>> Yes there are. The first one is due to the fact that the font code miscalculates the font metrics when lcd-smoothing is on. It may be related to some premature optimizations such as caching of font metrics in the font code.
>>
>> The second one is because the memory handling in the font code is incorrect and leads to crashes for some people (may depend on font and/or OS version and/or compiler version/settings). The second one does not happen when run in gdb. But when it does happen, as it does for me right now, Emacs crashes.
>>
>> Jan D.
>
[-- Attachment #2: Type: text/html, Size: 3351 bytes --]
next prev parent reply other threads:[~2013-01-14 9:35 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-10 16:27 State of NS port Adrian Robert
2013-01-10 18:53 ` chad
2013-01-10 19:28 ` Stefan Monnier
2013-01-12 3:49 ` Chris Zheng
2013-01-12 10:09 ` Jan Djärv
2013-01-14 2:44 ` Chris Zheng
2013-01-14 9:35 ` Jan Djärv [this message]
2013-01-12 14:58 ` Harald Hanche-Olsen
2013-01-12 16:41 ` Jan Djärv
2013-01-15 17:57 ` Adrian Robert
2013-01-15 20:47 ` Jan Djärv
2013-01-16 13:46 ` Adrian Robert
2013-01-13 8:14 ` YAMAMOTO Mitsuharu
2013-01-13 12:23 ` Jan Djärv
2013-01-13 14:09 ` Jan Djärv
2013-01-14 3:07 ` YAMAMOTO Mitsuharu
-- strict thread matches above, loose matches on Subject: below --
2013-01-11 1:38 David Kanter
2013-01-11 16:13 ` Jan Djärv
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=24F0B545-CA72-41D7-9CC7-A81EB9C73FE3@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=adrian.b.robert@gmail.com \
--cc=chrisdcheng@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).