WSLgでフォントサイズを変更する
WSLgで高解像度ディスプレイだと文字が小さい問題
WSLg does not seem to support fractional scaling · Issue #23 · microsoft/wslg · GitHub
%USERPROFILE%\.wslgconfig
code:path
%USERPROFILE%\.wslgconfig
%USERPROFILE%\.wslconfigではないので注意!
code:.wslgconfig
system-distro-env
WESTON_RDP_HI_DPI_SCALING=true
WESTON_RDP_FRACTIONAL_HI_DPI_SCALING=false
WESTON_RDP_DEBUG_DESKTOP_SCALING_FACTOR=200
WESTON_RDP_DEBUG_DESKTOP_SCALING_FACTORだけでいいという説もある
いけたyosider.icon
反映には再起動が必要
$ wsl --shutdown
WESTON_RDP_FRACTIONAL_HI_DPI_SCALING=trueにすると文字がボケる
falseにしてもタイトルバーはボケてしまう
なんどか設定変えてたらなにやってもボケなくなってしまった…yosider.icon
.bashrc
code:.bashrc
export GDK_SCALE=2.5
一部のアプリケーションで必要?
WSLg Configuration Options for Debugging · microsoft/wslg Wiki · GitHub
FR: support anti-aliasing · Issue #710 · microsoft/wslg · GitHub
Electron apps look pixelated at 200% resolution · Issue #3 · microsoft/wslg · GitHub
VcXsrvとかを使うという手もある…?
bash.icon