Giter Site home page Giter Site logo

materialdesign-font-build's Introduction

Hi, I am Austin

Probably working on icons or something related to icons. If you're ever in Chicago feel free to reach out for tea ๐Ÿต / beer ๐Ÿบ.

Co-run Pictogrammers with some amazing designers and developers.

Topics I Enjoy

  • โœ’ Icons (obviously)
  • ๐Ÿงฉ Web Components
  • ๐Ÿ“ƒ TypeScript
  • ๐Ÿ“„ Documentation
  • ๐Ÿค” Unit Testing!

Contact me on Mastodon @templarian. Unless it's about something I maintain, then maybe create an issue ๐Ÿ˜‰.

materialdesign-font-build's People

Contributors

aludvigsen avatar dora-gt avatar mririgoyen avatar templarian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

materialdesign-font-build's Issues

find way to not rename all .svg with the codepoints

Right now all the icons are renamed and prefixed with the codepoint. This is part of how the webfont package expects thing. We need to either rename them after generation/failure or better idea set these somewhere else (need to look at webfont docs).

build meta.json

How to configure the meta.json? Is there any script that will build the meta.json based on a list of icons for example from a text file. For my project need 100 icons and manually edit the source meta.json is problematic.

Process only svg files from meta.json

Hi, I wanted to reduce font only to my used icons, so I processed my applicaiton to find all occurence of mdi-* and then to filter out meta.json to only used icons and build my own font.
But there is some problem that all .svg files are compiled into font files
file index.js, line 314:
files: 'svg/
.svg',
so i tried to use this
files: metaJson.map(icon => path.join(svgFolder, u${icon.codepoint}-${icon.name}.svg)),
and it works!

so please consider to change it to this behaviour to allow same scenario to others.
Thank you.
Jan

Can't install -g @mdi/font-build

Can't install the package

node v18.4.0
npm -v 8.13.1
sass 1.54.3
sass-loader 12.6.0

sudo npm install -g @mdi/font-build

npm ERR! code 1
npm ERR! path /usr/lib/node_modules/@mdi/font-build/node_modules/node-sass
npm ERR! command failed
npm ERR! command sh -c /tmp/postinstall-1660302258370.sh
npm ERR! Building: /usr/bin/node /usr/lib/node_modules/@mdi/font-build/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
npm ERR! make: Entering directory '/usr/lib/node_modules/@mdi/font-build/node_modules/node-sass/build'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.