Skip to content

Commit

Permalink
Merge pull request #9 from LLK/removeOldFonts
Browse files Browse the repository at this point in the history
Remove old fonts
  • Loading branch information
fsih authored Sep 6, 2018
2 parents 4e6938b + 499a9bf commit de2f5eb
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 10 deletions.
Binary file removed src/DonegalOne-Regular.ttf
Binary file not shown.
Binary file removed src/GloriaHallelujah.ttf
Binary file not shown.
Binary file removed src/Helvetica-Bold.ttf
Binary file not shown.
Binary file removed src/MysteryQuest-Regular.ttf
Binary file not shown.
Binary file removed src/PermanentMarker.ttf
Binary file not shown.
16 changes: 6 additions & 10 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,12 @@
// First, have Webpack load their data as Base 64 strings.
/* eslint-disable global-require */
const FONTS = {
'Sans Serif': require('base64-loader!./NotoSans-Medium.ttf'),
'Serif': require('base64-loader!./SourceSerifPro-Regular.otf'),
'Handwriting': require('base64-loader!./handlee-regular.ttf'),
'Marker': require('base64-loader!./knewave.ttf'),
'Curly': require('base64-loader!./Griffy-Regular.ttf'),
'Pixel': require('base64-loader!./Grand9K-Pixel.ttf'),
// @todo remove fonts below when font conversion on import is done
'Donegal': require('base64-loader!./DonegalOne-Regular.ttf'),
'Gloria': require('base64-loader!./GloriaHallelujah.ttf'),
'Mystery': require('base64-loader!./MysteryQuest-Regular.ttf'),
'Sans Serif': require('base64-loader!./NotoSans-Medium.ttf'),
'Serif': require('base64-loader!./SourceSerifPro-Regular.otf'),
'Handwriting': require('base64-loader!./handlee-regular.ttf'),
'Marker': require('base64-loader!./knewave.ttf'),
'Curly': require('base64-loader!./Griffy-Regular.ttf'),
'Pixel': require('base64-loader!./Grand9K-Pixel.ttf'),
'Scratch': require('base64-loader!./Scratch.ttf')
};
/* eslint-enable global-require */
Expand Down

0 comments on commit de2f5eb

Please sign in to comment.