schoenbergerb / noscrape Goto Github PK
View Code? Open in Web Editor NEWThis repository will be replaced soon
Home Page: https://github.com/noscrape
License: MIT License
This repository will be replaced soon
Home Page: https://github.com/noscrape
License: MIT License
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
loadSync
function of opentype.js
.ArrayBuffer | SharedArrayBuffer
.parse
function of opentype.js
should be used.The Readme.md have to be updated to the new object-orientated approach.
Add some use-cases aswell.
Description
The playwright test revealed that on Firefox there were slight rendering differences.
compared with: https://www.diffchecker.com/image-compare/
Expected Result
Text rendered with the original font should match exactly, or as closely as possible, the text rendered with the obfuscation font.
As the new object-oriented approach is much more flexible, the functional is not needed anymore.
if we use full spectrum of its 1294 glyphs from this example.ttf it comes to weird glyph shiftings
Description
Since Playwright installation the "tests" - folder was included into production build. This is wrong and lead to an wrong build path.
As the copy function cannot handle date objects or similar the cloneDeep function from lodash is the better approach here.
src/obfuscate/copy.ts
What should I say... ๐
maybe by adding random invisible "dots" within drawn area or something like that
deprecated in 0.5.2, the obfuscate function will be removed in 1.0.0
project must be build and deployed automatically to npmjs.com via GitHub action
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
Additional Details
reproducible on https://noscrape-example.vercel.app/dynamic by clicking multiple times on reload
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.