From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: emacs-devel@gnu.org
Subject: Re: Emacs 24 Mac port
Date: Tue, 06 Mar 2012 12:52:00 +0900 [thread overview]
Message-ID: <wlwr6ys7xb.wl%mituharu@math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <wlpqcs7ujc.wl%mituharu@math.s.chiba-u.ac.jp>
>>>>> On Sun, 04 Mar 2012 15:24:39 +0900, YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> said:
>> The Mac port based on Emacs 24.0.94 pretest is now available from
>>
>> ftp://ftp.math.s.chiba-u.ac.jp/emacs/emacs-24.0.94-mac-2.90.tar.gz
> I've just noticed that HiDPI mode on Mac OS X 10.7.3 gives a blurry
> look for the Mac port (both for Emacs 23 and 24). I remember that
> it used to work on Mac OS X 10.7.2, and Google Chrome seems to have
> a similar problem.
> Also, animation shown when entering to and exiting from full screen
> seems to be wrong for HiDPI mode. Unfortunately I don't remember if
> it used to be correct on Mac OS X 10.7.2.
The patch below seems to work. It can be applied to Emacs 23.4 Mac
port 2.0 or Emacs 24.0.94 Mac port 2.90.
I also regenerated macuvs.h using IVD_Sequences.txt 2012-03-02 version
and put it to
ftp://ftp.math.s.chiba-u.ac.jp/emacs/macuvs.h-2012-03-02.gz
You can replace the original src/macuvs.h (for Mac port 2.0 or 2.90)
with it if you want.
YAMAMOTO Mitsuharu
mituharu@math.s.chiba-u.ac.jp
=== modified file 'mac/Emacs.app/Contents/Info.plist'
*** mac/Emacs.app/Contents/Info.plist 2012-03-03 06:05:20 +0000
--- mac/Emacs.app/Contents/Info.plist 2012-03-06 03:31:31 +0000
***************
*** 71,76 ****
--- 71,78 ----
</array>
<key>NSAppleScriptEnabled</key>
<string>YES</string>
+ <key>NSPrincipalClass</key>
+ <string>EmacsApplication</string>
<key>NSServices</key>
<array>
<dict>
=== modified file 'src/macappkit.h'
*** src/macappkit.h 2012-03-03 06:05:20 +0000
--- src/macappkit.h 2012-03-05 03:44:55 +0000
***************
*** 774,779 ****
--- 774,780 ----
- (NSWindowAnimationBehavior)animationBehavior;
- (void)setAnimationBehavior:(NSWindowAnimationBehavior)newAnimationBehavior;
- (void)toggleFullScreen:(id)sender;
+ - (CGFloat)backingScaleFactor;
@end
#endif
***************
*** 850,854 ****
--- 851,859 ----
+ (void)runAnimationGroup:(void (^)(NSAnimationContext *context))changes
completionHandler:(void (^)(void))completionHandler;
@end
+
+ @interface CALayer (AvailableOn1070AndLater)
+ @property CGFloat contentsScale;
+ @end
#endif
#endif
=== modified file 'src/macappkit.m'
*** src/macappkit.m 2012-03-03 06:05:20 +0000
--- src/macappkit.m 2012-03-05 03:44:55 +0000
***************
*** 2912,2917 ****
--- 2912,2918 ----
#endif
layer.bounds = CGRectMake (0, 0, [bitmap pixelsWide], [bitmap pixelsHigh]);
layer.contents = (id) [bitmap CGImage];
+ layer.contentsScale = [transitionWindow backingScaleFactor];
layer.contentsGravity = kCAGravityTopLeft;
transitionContentView = [transitionWindow contentView];
[transitionContentView setLayer:layer];
next prev parent reply other threads:[~2012-03-06 3:52 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-03 4:20 Emacs 24 Mac port YAMAMOTO Mitsuharu
2012-03-03 8:26 ` Dave Abrahams
2012-03-04 6:24 ` YAMAMOTO Mitsuharu
2012-03-06 3:52 ` YAMAMOTO Mitsuharu [this message]
2012-03-15 1:26 ` Dave Abrahams
2012-03-15 8:22 ` YAMAMOTO Mitsuharu
2012-04-02 7:02 ` YAMAMOTO Mitsuharu
2012-04-02 15:08 ` Leo
2012-04-28 2:07 ` YAMAMOTO Mitsuharu
2012-05-17 5:12 ` YAMAMOTO Mitsuharu
2012-06-01 11:43 ` YAMAMOTO Mitsuharu
-- strict thread matches above, loose matches on Subject: below --
2012-03-22 11:04 Pavel Martynenko
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=wlwr6ys7xb.wl%mituharu@math.s.chiba-u.ac.jp \
--to=mituharu@math.s.chiba-u.ac.jp \
--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 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.