From f85cc353a68fa67b9ac7985c38412c103221e24d Mon Sep 17 00:00:00 2001 From: Tom Crayford Date: Tue, 10 Jan 2017 13:58:54 +0000 Subject: 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. --- font/src/ft/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'font/src/ft') 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 { + fn new(dpi_x: f32, dpi_y: f32, device_pixel_ratio: f32, _: bool) -> Result { let library = Library::init()?; Ok(FreeTypeRasterizer { -- cgit v1.2.3-54-g00ecf