mirror of
https://github.com/wez/wezterm.git
synced 2024-12-18 19:01:36 +03:00
92827a1bea
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 |
||
---|---|---|
.. | ||
examples | ||
src | ||
build.rs | ||
Cargo.toml |