Coder Social home page Coder Social logo

chearon / fontconfigjs Goto Github PK

View Code? Open in Web Editor NEW
10.0 4.0 1.0 25.53 MB

In-memory version of FontConfig in JS/WASM (no native dependencies)

Home Page: https://chearon.github.io/fontconfigjs/

JavaScript 93.15% HTML 6.85%
webassembly fontconfig nodejs

fontconfigjs's People

Contributors

chearon avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

hermet

fontconfigjs's Issues

some error : when i used emcc compiled fontconfig

I wrote a .c file, and then compiled it into .js and .wasm through emcc, why an error is reported:
Fontconfig error: Cannot load default config file: No such file: (null)
I know that the fonts.conf file in the local environment cannot be found in the browser, so I execute:
emcc -O1 --embed-file fonts.conf -s WASM=1 -s EXPORTED_FUNCTIONS=_getFont -s EXPORTED_RUNTIME_METHODS=ccall,cwrap test.o ./libfontconfig.a -o test.js
still error.

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.