<commit_before>KiddoPaint.Builders.Prints = function(color1, print, angle) {
    color1 = color1 || 'black';
    angle = angle || 0;

    var canvasBrush = document.createElement('canvas');
    canvasBrush.width = 43;
    canvasBrush.height = 43;
    var contextBrush = canvasBrush.getContext('2d');

    contextBrush.beginPath();

    contextBrush.translate(21, 21);
    contextBrush.rotate(angle);
    contextBrush.translate(-15.5, -15.5);

    contextBrush.font = '36px sans-serif';
    contextBrush.fillStyle = KiddoPaint.Textures.Solid(color1);
    contextBrush.fillText(print, 3, 30);

    return canvasBrush;
}<commit_msg>Fix truncating prints and re-support colorization.<commit_after>KiddoPaint.Builders.Prints = function(color1, print, angle) {
    color1 = color1 || 'black';
    angle = angle || 0;

    var canvasBrush = document.createElement('canvas');
    canvasBrush.width = 100;
    canvasBrush.height = 100;
    var contextBrush = canvasBrush.getContext('2d');

    contextBrush.save();
    contextBrush.translate(50, 50);
    contextBrush.rotate(angle);
    contextBrush.translate(-25, 0);
    contextBrush.font = '36px sans-serif';
    contextBrush.fillText(print, 0, 0);
    contextBrush.restore();

    contextBrush.globalCompositeOperation = 'source-atop';
    contextBrush.fillStyle = color1;
    contextBrush.fillRect(0, 0, canvasBrush.width, canvasBrush.height);

    return trimCanvas(canvasBrush);
}
{'fraction_non_alphanumeric': 0.12885154061624648, 'fraction_numerical': 0.0350140056022409, 'mean_word_length': 3.9965034965034967, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '7019148', 'n_tokens_mistral': 500, 'n_tokens_neox': 428, 'n_words': 84}