From: David Engster <deng@randomsample.de>
To: help-gnu-emacs@gnu.org
Subject: Re: doc-view zoom level
Date: Wed, 28 Jan 2009 11:10:40 +0100 [thread overview]
Message-ID: <m2ljsvyc4f.fsf@arcor.de> (raw)
In-Reply-To: m2tz7jydlb.fsf@arcor.de
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
next prev parent reply other threads:[~2009-01-28 10:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-27 16:47 doc-view zoom level Nurullah Akkaya
2009-01-28 8:00 ` Tassilo Horn
2009-01-28 9:38 ` David Engster
2009-01-28 10:10 ` David Engster [this message]
2009-01-28 15:58 ` Nurullah Akkaya
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=m2ljsvyc4f.fsf@arcor.de \
--to=deng@randomsample.de \
--cc=help-gnu-emacs@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.
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).