diff options
| author | Lex Neva <github.com@lexneva.name> | 2019-04-10 20:23:11 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2019-04-10 20:23:11 -0400 |
| commit | 98e59f255039911a4c1cc009325f7b30839cafdd (patch) | |
| tree | e431ae9e647f2e3dc258e31a30d68ef7e8b0e9c2 /lib/lettering/font.py | |
| parent | 6c5e57d39c9a72a9a56acc3b7ffe93e67f38ecb1 (diff) | |
add support for scaling text
Diffstat (limited to 'lib/lettering/font.py')
| -rw-r--r-- | lib/lettering/font.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/lettering/font.py b/lib/lettering/font.py index 46e2648d..883821ec 100644 --- a/lib/lettering/font.py +++ b/lib/lettering/font.py @@ -107,6 +107,8 @@ class Font(object): word_spacing = font_metadata('word_spacing', 3, multiplier=PIXELS_PER_MM) kerning_pairs = font_metadata('kerning_pairs', {}) auto_satin = font_metadata('auto_satin', True) + min_scale = font_metadata('min_scale', 1.0) + max_scale = font_metadata('max_scale', 1.0) @property def id(self): |
