Karthik Chikmagalur writes:
>> Not all the monitors have scaling field. Your patch should account for
>> that.
>
> For your reference, here's org-latex-preview--get-display-dpi, the
> replacement for org--get-display-dpi in the upcoming org-latex-preview.
> ...
Your version suffers from the same
>> The patch retrieves its data from `display-monitor-attributes-list`
>> which seems more consistent than the previously used functions, albeit
>> having more overhead (parsing is to be done). It also accounts for the
>> scaling field provided by the aforementioned function.
>
> Not all the monito
William Brusa writes:
> TL;DR: `org--get-display-dpi` calculated the dpi with data from different
> monitors, i fixed it and now it returns the highest correct dpi.
> ... it computed the dpi using `display-pixel-height` and
> `display-mm-height`.
>
> The problem is that one returns the pixel-hei
Hello,
TL;DR: `org--get-display-dpi` calculated the dpi with data from different
monitors, i fixed it and now it returns the highest correct dpi.
I noticed that when I connected my laptop to a new monitor the latex
fragment
scaling changed. So I looked under `org-create-formula-image` (org.el)