Giter VIP home page Giter VIP logo

pebble-fctx-compiler's People

Contributors

clach04 avatar jrmobley avatar stefanheule avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

pebble-fctx-compiler's Issues

Massive file generated

Hello,

The library is great! Though I'm now trying to run through the demo code with my own font, using bebas neue. I took the TTF, ran it through FontForge to create an SVG. I ran into the glyph missing unicode bug and deleted any ones that did not have unicode. I ran the compiler and finally got a .ffont file out of it, but it ended up being 441454 bytes. Obviously this is much too large for Pebble's resource limit, haha. What am I doing wrong? What should I do? I'm pretty lost, to be honest ๐Ÿ˜ถ

Here is a pastebin of the log of compiling: http://pastebin.com/snrmmnw7

Thanks!

Error while compiling font.

Not sure if I am doing something wrong or the fact that I am running Node on Windows has something to do with it, but when I am trying to compile a font, getting this:

events.js:141
      throw er; // Unhandled 'error' event
      ^
TypeError: Cannot read property 'charCodeAt' of undefined
    at C:\Temp\fctx-compiler.js:111:31
    at Array.reduce (native)
    at packFont (C:\Temp\fctx-compiler.js:108:34)
    at C:\Temp\fctx-compiler.js:56:30
    at Function._.each._.forEach (C:\Temp\node_modules\underscore\underscore.js:153:9)
    at C:\Temp\fctx-compiler.js:54:11
    at Parser.<anonymous> (C:\Temp\node_modules\xml2js\lib\xml2js.js:483:18)
    at emitOne (events.js:77:13)
    at Parser.emit (events.js:169:7)
    at Object.onclosetag (C:\Temp\node_modules\xml2js\lib\xml2js.js:444:26)

Font originally was a TTF, converted it to SVG via FontForge. Any help is appreciated. Thanks!

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.