Giter Club home page Giter Club logo

noscrape's Issues

Noscrape from ArrayBuffer

Discussed in #44

Description

Extend the Noscrape constructor to allow passing the font as an ArrayBuffer | SharedArrayBuffer in addition to the current option of passing it as a path (string).

Expected Result

  • The Noscrape constructor can be called with a path as a string.
    The font is then loaded by the loadSync function of opentype.js.
  • The Noscrape constructor can be called with a buffer ArrayBuffer | SharedArrayBuffer.
    In this case, the parse function of opentype.js should be used.

Update Readme

The Readme.md have to be updated to the new object-orientated approach.
Add some use-cases aswell.

code style and comments

What should I say... ๐Ÿ˜…

  • add proper ESLint settings
  • make sure code is clean and well structured
  • add comments!
  • and so on

Visual Regression Testing

Description

To make sure everything is rendered well and looks like it should (different unicodes, same paths) a visual regression test should be implemented.


Expected Result

  • The test should run on any branch on any commit.
  • Test should make sure the unicodes are different, e.g. "original string" <> "obfuscated string"
  • Test should make sure that visual the obfuscated result is exactly the same as the original


Additional Details

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.