0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

2560x1440ディスプレイでHiDPIを強制ONにする

0
Posted at

Mac で、ディスプレイ・モニタの大きさや解像度によって、HiDPI(スムーズなスケーリングでフォント等がきれいに描画できるモード)が有効にならないパターンがある。強制的に有効化にする方法:

(手順1)
システム設定>ディスプレイで、望みの解像度に設定する

(手順2)
displayplacer をインストールする

brew install displayplacer

(手順3)
現在の設定を scaling:offscaling:on に切り替える。

displayplacer list | grep '^displayplacer' | sed 's/scaling:off/scaling:on/g' | bash

(以下備考)

DELL P2416D という結構古いモニタを久しぶりに使っています。
2560x1440 というサイズです。Full HD と 4K の中間サイズで結構昔に使ってました。
久しぶりに使うと、24インチなので、老眼には dot by dot 表示が厳しいです。
4K モニタとかなら HiDPI を ON にして Retina ディスプレイっぽい美しい描画ができるが、この 24インチx2560x1440 という組み合わせだと(OS 標準のディスプレイ設定では)HiDPI を選べないようでした。

そこで displayplacer を使うと、CLI から scaling:on(=HiDPI有効)に設定できました。

ちなみに、内部的には論理解像度の2倍 3840x2160 (4K)で描画して、3:2 にダウンスケールして 2560x1440 で物理表示してくれるようです。
2560x1440 のネイティブで表示するよりも、フォント表示がむしろ綺麗にみえて快適です。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?