1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-18 19:01:36 +03:00
wezterm/window
Wez Furlong 92827a1bea wezterm: default dpi on macOS is now 72
https://wiki.lazarus.freepascal.org/Cocoa_DPI states that the dpi
on macOS is 72.  That matches up to the experimental results reported
in #332 (in which 74.0 appears about the right size).

This commit introduces a `DEFAULT_DPI` constant that is set to 72 on
macOS and 96 on other operating systems.

The result of this is that a 10 point Menlo font now appears to be
the same size in Terminal.app and WezTerm.app.

refs: https://github.com/wez/wezterm/issues/332
2020-12-06 18:34:06 -08:00
..
examples upgrade misc deps, notably, async-task 2020-10-05 00:06:01 -07:00
src wezterm: default dpi on macOS is now 72 2020-12-06 18:34:06 -08:00
build.rs window: handle opengl context loss on windows. 2020-06-16 21:17:48 -07:00
Cargo.toml wezterm: add raw_code concept to input layer 2020-12-06 13:41:29 -08:00