From 7567f6407512acb44199a11b6496a614ca659fe2 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 6 May 2019 21:21:44 +0100 Subject: [PATCH] CSS: Extern the nscss_baseline_pixel_density value. Front ends should be able to set this, or it should be a config option. --- content/handlers/css/utils.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/content/handlers/css/utils.h b/content/handlers/css/utils.h index c8f4c82f4..0e723f7f1 100644 --- a/content/handlers/css/utils.h +++ b/content/handlers/css/utils.h @@ -26,6 +26,9 @@ /** DPI of the screen, in fixed point units */ extern css_fixed nscss_screen_dpi; +/** Medium screen density for device viewing distance. */ +extern css_fixed nscss_baseline_pixel_density; + /** * Length conversion context data. */