Code Monkey home page Code Monkey logo

pack's People

Contributors

rektdeckard avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

vaimalaviya1233

pack's Issues

Generated font files seem corrupt

Describe the bug

Generated font files from pack.phosphoricons.com do not work, console throws error.

Steps to Reproduce

  1. Use Phosphor Backpack to generate smaller font files.
  2. Implement files into project with CSS provided.
  3. Console has errors: Firefox: downloadable font: rejected by sanitizer; Chrome: failed to decode downloaded font
  4. Icons don't show, unicode placeholder is shown.

Expected behavior

Font file should load without error. Icons should be seen.

Context

  • OS: Windows 10
  • Browser: latest Chrome, Firefox
  • Phosphor Backpack based on phosphor-icons/web v2.1.1

Additional notes

Trying to use generated .ttf file with a different WOFF-Converter (Font Squirrel) results in The font 'Phosphor.ttf' is corrupt and cannot be converted., too.

Using the (full) font files from phosphor-icons/web works without issues.

Maybe this is a problem with line feeds/formatting while generating the files.

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.