Skip to content

Commit

Permalink
Add a look-alike for the "Scratch" font
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Mar 17, 2024
1 parent 9d5d87e commit 85a4d07
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions fonts/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,9 @@ Source Serif Pro
Copyright 2014 Adobe Systems Incorporated. All Rights Reserved.
SIL Open Font License, 1.1
https://fonts.google.com/specimen/Source+Serif+Pro

Scratch Savers
From https://github.com/TurboWarp/scratch-gui/pull/909
Based on the Impallari Type's "Life Savers" font (SIL Open Font License 1.1) with
modifications by valadaptive to look similar to pizzadude's "Black boys on mopeds"
font (commonly referred to as "Scratch")
Binary file added fonts/ScratchSavers_b2.woff2
Binary file not shown.
2 changes: 2 additions & 0 deletions packager/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ <h1>HTML Packager</h1>
'fonts/GloriaHallelujah.woff2',
'fonts/MysteryQuest-Regular.woff2',
'fonts/PermanentMarker.woff2',
'fonts/ScratchSavers_b2.woff2',
]},
{ type: 'script', src: 'lib/scratch-sb1-converter.js', },
{ type: 'script', src: 'lib/canvg.min.js', },
Expand Down Expand Up @@ -252,6 +253,7 @@ <h1>HTML Packager</h1>
{ src: 'fonts/Griffy-Regular.woff2', },
{ src: 'fonts/SourceSerifPro-Regular.woff2', },
{ src: 'fonts/NotoSans-Medium.woff2', },
{ src: 'fonts/ScratchSavers_b2.woff2', },
];
</script>

Expand Down
4 changes: 4 additions & 0 deletions phosphorus.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@
font-family: "Permanent Marker";
src: url("fonts/PermanentMarker.woff2") format("woff2");
}
@font-face {
font-family: "Scratch";
src: url("fonts/ScratchSavers_b2.woff2") format("woff2");
}

/* Scratch 3 Variable Watchers */
.s3-watcher-container {
Expand Down
1 change: 1 addition & 0 deletions phosphorus.dist.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/fonts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ namespace P.fonts {
'Curly': 'fonts/Griffy-Regular.woff2',
'Serif': 'fonts/SourceSerifPro-Regular.woff2',
'Sans Serif': 'fonts/NotoSans-Medium.woff2',
'Scratch': 'fonts/ScratchSavers_b2.woff2'
};

/**
Expand Down

0 comments on commit 85a4d07

Please sign in to comment.