<commit_before># MutatorScale

Here’s an introduction to MutatorScale, a tool for interpolated glyph scaling, based on ![Robofab](https://github.com/robofab-developers/robofab), FontTools, ![MutatorMath](https://github.com/LettError/MutatorMath) & ![BooleanOperations](https://github.com/typemytype/booleanOperations).

It consists of a little set of objects — I wouldn’t go as far as to call it a library —, the most important and central one being what I call a MutatorScaleEngine.

Its function is to build an interpolation design space, based on MutatorMath, with which it is rendered easier to scale glyphs while compensating for the loss of weight and/or contrast by interpolating. Such operations imply that you have at least two interpolatable fonts to begin with.

Nota Bene: It is the same idea as in my ScaleFast extension for Robofont, only this version of the code is a bit cleaner, probably better written, and can be used via scripting. I intend to update ScaleFast with this in a not too distant future.

![alt tag](images/mutatorScale-1.png)
![alt tag](images/mutatorScale-6.png)

## Overview
<commit_msg>updated local branch with remote changes<commit_after># MutatorScale

Here’s an introduction to MutatorScale, a tool for interpolated glyph scaling, based on [Robofab](https://github.com/robofab-developers/robofab), FontTools, [MutatorMath](https://github.com/LettError/MutatorMath) & [BooleanOperations](https://github.com/typemytype/booleanOperations).

It consists of a little set of objects — I wouldn’t go as far as to call it a library —, the most important and central one being what I call a MutatorScaleEngine.

Its function is to build an interpolation design space, based on MutatorMath, with which it is rendered easier to scale glyphs while compensating for the loss of weight and/or contrast by interpolating. Such operations imply that you have at least two interpolatable fonts to begin with.

Nota Bene: It is the same idea as in my ScaleFast extension for Robofont, only this version of the code is a bit cleaner, probably better written, and can be used via scripting. I intend to update ScaleFast with this in a not too distant future.

![alt tag](images/mutatorScale-1.png)
![alt tag](images/mutatorScale-6.png)

## Overview

{'fraction_non_alphanumeric': 0.068342151675485, 'fraction_numerical': 0.001763668430335097, 'mean_word_length': 5.002645502645502, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '278553', 'n_tokens_mistral': 623, 'n_tokens_neox': 597, 'n_words': 303}