aboutsummaryrefslogtreecommitdiff
path: root/src/display.rs
diff options
context:
space:
mode:
authorTom Crayford <tcrayford@googlemail.com>2017-01-10 13:58:54 +0000
committerJoe Wilm <jwilm@users.noreply.github.com>2017-01-12 21:19:40 -0800
commitf85cc353a68fa67b9ac7985c38412c103221e24d (patch)
treed51d411d1cd95fa5c8d30a15798a8e17b954089a /src/display.rs
parent32cfca772798d13e9c96c5d66250f6ca5ae9baef (diff)
downloadalacritty-f85cc353a68fa67b9ac7985c38412c103221e24d.tar.gz
alacritty-f85cc353a68fa67b9ac7985c38412c103221e24d.zip
make thin stroke rendering configurable
Makes thin stroke rendering for darwin configurable by a new toplevel key under `font:` in the config file. Defaults to false, has no impact on non macos.
Diffstat (limited to 'src/display.rs')
-rw-r--r--src/display.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display.rs b/src/display.rs
index 5aa3bac4..18ba33c5 100644
--- a/src/display.rs
+++ b/src/display.rs
@@ -148,7 +148,7 @@ impl Display {
println!("device_pixel_ratio: {}", dpr);
- let rasterizer = font::Rasterizer::new(dpi.x(), dpi.y(), dpr)?;
+ let rasterizer = font::Rasterizer::new(dpi.x(), dpi.y(), dpr, config.use_thin_strokes())?;
// Create renderer
let mut renderer = QuadRenderer::new(config, size)?;