Skip to content

Commit

Permalink
Merge pull request #909 from valadaptive/scratch-font-replacement
Browse files Browse the repository at this point in the history
Add a look-alike font to replace the Scratch font
  • Loading branch information
GarboMuffin authored Mar 17, 2024
2 parents 5710149 + 4709c0d commit 91aff13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Binary file not shown.
4 changes: 3 additions & 1 deletion src/lib/tw-scratch-render-fonts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const Handwriting = require('./handlee-regular.woff2');
const Marker = require('./Knewave.woff2');
const Curly = require('./Griffy-Regular.woff2');
const Pixel = require('./Grand9K-Pixel.woff2');
const Scratch = require('./ScratchSavers_b2.woff2');
const log = require('../log').default;

const fontSource = {
Expand All @@ -14,7 +15,8 @@ const fontSource = {
'Handwriting': Handwriting,
'Marker': Marker,
'Curly': Curly,
'Pixel': Pixel
'Pixel': Pixel,
'Scratch': Scratch
};

const fontData = {};
Expand Down

0 comments on commit 91aff13

Please sign in to comment.