[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: doc-view zoom level
From: |
David Engster |
Subject: |
Re: doc-view zoom level |
Date: |
Wed, 28 Jan 2009 11:10:40 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (darwin) |
David Engster <deng@randomsample.de> writes:
> Tassilo Horn <tassilo@member.fsf.org> writes:
>> Nurullah Akkaya <nurullah.akkaya@blooby.com> writes:
>>> but i can not figure out how to zoom in on the document.
>>
>> Normally you just have to hit `+' to zoom in and `-' to zoom out. This
>> will modify the -r parameter (`doc-view-resolution') and reconvert the
>> images.
>
> I can confirm that zooming does not work on Mac OS X when configured
> with the --with-ns switch (i.e. using the native Cocoa API). I have the
> same Emacs checkout also compiled for X11 on Mac OS X, and with this one
> everything works without problems.
>
>>> i want to create the png's with bigger fonts. if it is possible. i
>>> tried different -r options as stated in the documentation without any
>>> luck.
>>
>> Hm, strange. Could you please try the conversion in a shell? I suspect
>> that your GhostScript somehow ignores the -r option.
>
> No, that doesn't seem to be it. With the Cocoa engine, the images do get
> more sharper/blurrier depending on the resolution, but their *size*
> doesn't change. I'll try to investigate this further.
It seems to be a bug in Emacs/NS when determining image sizes. The
following
(image-size (create-image "/Users/david/test.png" 'png) t)
always returns (612 . 792) on my system, regardless of the actual size.
Can other people confirm this with Emacs 23 on Mac OS X, configured with
--with-ns? (With X11 on Mac OS X, everything seems to work OK.)
-David