From 34ce3e84a32d951b415add7a437268045afe13f3 Mon Sep 17 00:00:00 2001 From: Andy Meneely Date: Wed, 18 Nov 2020 00:22:12 -0500 Subject: [PATCH] leave note for DPI setting --- lib/squib/builtin/projects/advanced/config.yml | 7 ++++--- lib/squib/builtin/projects/basic/config.yml | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/lib/squib/builtin/projects/advanced/config.yml b/lib/squib/builtin/projects/advanced/config.yml index 85dc231..81f7d5f 100644 --- a/lib/squib/builtin/projects/advanced/config.yml +++ b/lib/squib/builtin/projects/advanced/config.yml @@ -1,8 +1,6 @@ # Settings in the config.yml are overriding Squib's defaults. Anything in the main script will override this. -# DPI is used in making PDFs and in unit conversions -# Default: 300 -#dpi: 72 +# Looking for DPI? It needs to be a parameter to Squib::Deck.new. See https://squib.readthedocs.io/en/latest/dsl/deck.html #antialias: best #recommended. Only about 10% slower than fast #antialias: default # set the anti-aliasing algorithm. default defers to the underlying graphics device. See http://www.cairographics.org/manual/cairo-cairo-t.html#cairo-antialias-t @@ -47,3 +45,6 @@ warn_ellipsize: true # default # By default, Squib will warn if a PNG is being up-scaled. warn_png_scale: true # default # warn_png_scale: false # turn off entirely + +# How many pixels are in a "cell"? +# cell_px: 37.5 # default \ No newline at end of file diff --git a/lib/squib/builtin/projects/basic/config.yml b/lib/squib/builtin/projects/basic/config.yml index 4098ce8..1e87805 100644 --- a/lib/squib/builtin/projects/basic/config.yml +++ b/lib/squib/builtin/projects/basic/config.yml @@ -1,8 +1,6 @@ # Settings in the config.yml are overriding Squib's defaults. Anything in the main script will override this. -# DPI is used in making PDFs and in unit conversions -# Default: 300 -#dpi: 72 +# Looking for DPI? It needs to be a parameter to Squib::Deck.new #antialias: best #recommended. Only about 10% slower than fast #antialias: default # set the anti-aliasing algorithm. default defers to the underlying graphics device. See http://www.cairographics.org/manual/cairo-cairo-t.html#cairo-antialias-t @@ -47,3 +45,6 @@ # By default, Squib will warn if a PNG is being up-scaled. # warn_png_scale: true # default # warn_png_scale: false # turn off entirely + +# How many pixels are in a "cell"? +# cell_px: 37.5 # default