1
0

more robust and future-proof architecture

This commit is contained in:
Ninjananas
2024-09-03 20:05:42 +02:00
parent 7bdea04111
commit 677906b5a7
18 changed files with 416 additions and 84 deletions

View File

@@ -1,8 +1,6 @@
# Settings in the config.yml are overriding Squib's defaults. Anything in the main script will override this.
# Looking for DPI? It needs to be a parameter to Squib::Deck.new
#antialias: best #recommended. Only about 10% slower than fast
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
# Text hints are used to show the boundaries of text boxes.
@@ -13,15 +11,15 @@
progress_bars: true
#Enable some custom colors that can be used in any color
#custom_colors:
# foo: '#abc'
custom_colors:
foo: '#abc'
# TODO party colors
#For reading image file command (e.g. png and svg), read from this directory instead
img_dir: _graphics
img_dir: ._graphics
# Use a SVG cairo back end, instead of an in-memory buffer
# backend: :memory # default
# backend: :svg # can create scalable pdfs, but rendering done at the printer level is not as good as Cairo.
backend: :memory
# Configure what text markup uses replace characters
# Below are the defaults
@@ -33,17 +31,7 @@ img_dir: _graphics
# en_dash: "\u2013"
# ellipsis: "\u2026"
# We can also disallow smart quotes and only allow explicit replacements with ``LaTeX-style'' quotes.
# smart_quotes: false
# By default, Squib warns when a text box is ellipsized. This can get verbose
# and can be turned off here
# warn_ellipsize: true # default
# warn_ellipsize: false # turn off entirely
# 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
smart_quotes: true
warn_ellipsize: true
warn_png_scale: true
# cell_px: <Defined in Ruby>