diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2019-05-06 21:21:44 +0100 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2019-05-06 21:21:44 +0100 |
commit | 7567f6407512acb44199a11b6496a614ca659fe2 (patch) | |
tree | b1a1fbb8db51b3e8af3cccbc726180760378a192 | |
parent | e02020198da093a4856b149c926668c32cfcc7a4 (diff) | |
download | netsurf-7567f6407512acb44199a11b6496a614ca659fe2.tar.gz netsurf-7567f6407512acb44199a11b6496a614ca659fe2.tar.bz2 |
CSS: Extern the nscss_baseline_pixel_density value.
Front ends should be able to set this, or it should
be a config option.
-rw-r--r-- | content/handlers/css/utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
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. */ |