zk-phi / symon

Tiny graphical system monitor
289 stars 26 forks source link

Add an option to improve image appearance on hidpi displays. #17

Closed sprang closed 9 years ago

sprang commented 9 years ago

My patch makes the pixels larger (versus just increasing the area). My laptop screen is almost 300 dots/inch, so the default rendering was very delicate. This is sort of like setting the line width to 2.

-Steve

zk_phi writes:

how does this differ from

(setq symon-sparkline-height (* symon-sparkline-height 2)
      symon-sparkline-width (* symon-sparkline-width 2))

?


Reply to this email directly or view it on GitHub: https://github.com/zk-phi/symon/pull/17#issuecomment-73408558

zk-phi commented 9 years ago

thanks for your contribution. this seems fine as a workaround, but we should implement symon-sparkline-line-width later in order to render sparklines faster and better. (for example, when we have history-size set 100 and sparkline-width 50, then 50 samples are dropped on rendering, but when we have sparkline-width 100 then all samples are rendered)

zk-phi commented 9 years ago

implemented. now

(setq symon-sparkline-height    (* symon-sparkline-height 2)
      symon-sparkline-width     (* symon-sparkline-width 2)
      symon-sparkline-thickness (* symon-sparkline-thickness 2))

works like (setq symon-hidpi-display t).