Discussion:
[Dvipng] diving on retina displays?
Adam Sneller
2015-05-29 19:41:02 UTC
Permalink
Recently, I upgraded to a macbook pro with retina display, and now all my latex previews in org-mode are... fuzzy. These are generated with org-preview-latex-fragment command, using dvipng.

Is there a setting I can change to up-res these? Maybe something in org.el?

Thanks,

-Adam
Jan-Åke Larsson
2015-06-03 09:28:23 UTC
Permalink
Hi,
I honestly have no idea, I have not even looked at the org-mode code.

/Jan-Åke
Post by Adam Sneller
Recently, I upgraded to a macbook pro with retina display, and now
all my latex previews in org-mode are... fuzzy. These are generated with
*org-preview-latex-fragment* command, using *dvipng*.
Is there a setting I can change to up-res these? Maybe something in org.el?
Thanks,
-Adam
Jan-Åke Larsson
2015-06-03 09:37:02 UTC
Permalink
As a side note, I have had a few questions on fuzzy imagery, but never
got enough responses from reporters to track the issue down.

There may be several causes for this, in some cases I suspect linking to
very very old versions of libgd, I am thinking to remove support for
these old versions.

In your case, the problem is likely to be up-scaling after dvipng has
rendered the image. What I was answering below is that I do not know how
to massage org-mode into generating high-res images but display them at
the same size as before.

The dvipng command-line switch for resolution is -D if that helps. Look
for the call in org-mode and change the resolution. Something more will
need to be changed to keep the size of the displayed item, this I cannot
help you with (just now).

Best
/Jan-Åke
Post by Jan-Åke Larsson
Hi,
I honestly have no idea, I have not even looked at the org-mode code.
/Jan-Åke
Post by Adam Sneller
Recently, I upgraded to a macbook pro with retina display, and now
all my latex previews in org-mode are... fuzzy. These are generated with
*org-preview-latex-fragment* command, using *dvipng*.
Is there a setting I can change to up-res these? Maybe something in org.el?
Thanks,
-Adam
Loading...