emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug: Latex preview overlay scaling not consistent across PPI


From: Nicolas Goaziou
Subject: Re: [O] Bug: Latex preview overlay scaling not consistent across PPI
Date: Wed, 30 Nov 2016 22:05:16 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Hello,

Scott Otterson <address@hidden> writes:

> The size of the latex preview overlay scaling is inconsistent across
> screens with different pixel densities.
>
> I've set my customization to use dvipng for the latex previews I see when I
> type C-c C-x C-l.  Dvipng is customized as follows:
>
> [image: Inline image 1]
>
> The "Value" is set to (1.0 . 1.0), which I would think means that the font
> size in the preview overlay is scaled the same as the font size org
> buffer's normal text.
>
> This is more or less true for a Windows 7 machine connected to a 24",
> 1920x1080 pixel monitor:
>
> [image: Inline image 2]
>
> However, on a Windows 10 machine with a 12.3", 2736x1824 pixel monitor, the
> same customization looks like this:
>
> [image: Inline image 3]
>
> On the second computer (a Surface Pro 4) the previews are tiny because the
> screen has a much higher pixel density; the normal text is scaled
> appropriately but the overlays aren't scaled to match.

I made a change to how dpi is computed in `org-create-formula-image'.
Could you test it and report if it fixes your issue ?

Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]