diff options
author | Tom Crayford <tcrayford@googlemail.com> | 2017-01-10 13:58:54 +0000 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-01-12 21:19:40 -0800 |
commit | f85cc353a68fa67b9ac7985c38412c103221e24d (patch) | |
tree | d51d411d1cd95fa5c8d30a15798a8e17b954089a /font/src/ft | |
parent | 32cfca772798d13e9c96c5d66250f6ca5ae9baef (diff) | |
download | alacritty-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 'font/src/ft')
-rw-r--r-- | font/src/ft/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/font/src/ft/mod.rs b/font/src/ft/mod.rs index 0ffecf03..f9170ed3 100644 --- a/font/src/ft/mod.rs +++ b/font/src/ft/mod.rs @@ -41,7 +41,7 @@ fn to_freetype_26_6(f: f32) -> isize { impl ::Rasterize for FreeTypeRasterizer { type Err = Error; - fn new(dpi_x: f32, dpi_y: f32, device_pixel_ratio: f32) -> Result<FreeTypeRasterizer, Error> { + fn new(dpi_x: f32, dpi_y: f32, device_pixel_ratio: f32, _: bool) -> Result<FreeTypeRasterizer, Error> { let library = Library::init()?; Ok(FreeTypeRasterizer { |