From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: Emacs Mac port Date: Sun, 01 May 2016 18:06:53 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1462093677 1120 80.91.229.3 (1 May 2016 09:07:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 May 2016 09:07:57 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 01 11:07:56 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1awnM2-0007CN-7V for ged-emacs-devel@m.gmane.org; Sun, 01 May 2016 11:07:54 +0200 Original-Received: from localhost ([::1]:60949 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awnLu-0005qs-Pi for ged-emacs-devel@m.gmane.org; Sun, 01 May 2016 05:07:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50523) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awnLT-0005YQ-KC for emacs-devel@gnu.org; Sun, 01 May 2016 05:07:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1awnLH-0005dr-Bl for emacs-devel@gnu.org; Sun, 01 May 2016 05:07:13 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:51993) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awnLG-0005a9-Qa for emacs-devel@gnu.org; Sun, 01 May 2016 05:07:07 -0400 Original-Received: from fermat1.math.s.chiba-u.ac.jp (fermat [192.168.32.10]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 8AEE2F08DF for ; Sun, 1 May 2016 18:06:53 +0900 (JST) (envelope-from mituharu@math.s.chiba-u.ac.jp) In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 133.82.132.2 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:203473 Archived-At: >>>>> On Sat, 30 Apr 2016 14:57:54 +0900, YAMAMOTO Mitsuharu said: >> The patch below is a quick hack (see the "XXX" comment below) for >> PDF Tools to display 2x images on Retina display. > Also, I made the patch below for preview-latex in AUCTeX so preview > images look fine on Retina displays. It now makes Ghostscript > generate PDF files instead of PNG ones, and let the Mac port render > them using the `image-io' image type via PDFKit. So moving a frame > between Retina and non-Retina displays works gracefully unlike my > previous patch for PDF Tools. Another merit of this approach over creation of doubled bitmap images is it can take advantage of LCD smoothing (I've just noticed that). So this might be meaningful even on non-Retina environments (unless you hate LCD smoothing). YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp