Code Monkey home page Code Monkey logo

pdf417-generator's People

Contributors

erdmgrgrlioglu avatar madintist avatar philmerrell avatar pkoretic avatar qaap avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pdf417-generator's Issues

Issue with accents and special characters

Hi there,

Our app is trying to encode the following delimited string in a barcode using the pdf417 generator and it contains a lot of accents for french words. The issue is that if there is an accent in between two repeated data items.
The generator may potentially be adding extra fields / repeating data when we are decoding it. Please see below examples.

Can you please assist with troubleshooting the issue? We have narrowed it down to when any word with an accent is in the middle of two repeated fields.

Original input string passed to the pdf 417 generator

|anything|É|anything|

Decoding the generated barcode:

|anything||anything|É|anything|

This is breaking our app because the barcodes are giving wrong data / extra data when accents is present.

Attaching the barcode generated
MicrosoftTeams-image (2)

Thank you in advance!

bc_multiply is not a function

Hi @pkoretic in some cases we get an error
bc_multiply is not a function.

stack trace:

ERROR TypeError: r.bc_multiply is not a function
at bcmul (main-es2015.a0fba3d24438133b4d38.js:1)
at Object.getCompaction (main-es2015.a0fba3d24438133b4d38.js:1)
at Object.draw (main-es2015.a0fba3d24438133b4d38.js:1)

Do you have any idea what would cause the problem?

Kind regards,
Ivan

Blank when using Wkhtmltopdf

I think this is actually an issue with wkhtmltopdf, but I though you may have advice. The barcode renders fine in a normal browser, but when using wkhtmltopdf it's just blank. Any ideas?

Strict mode issue

Hi @pkoretic,

library is great, but in our case when it is used with angular application
installed like npm package, and strict mode declared we have problem
with this two variables which are not declared.

sequence = this.getInputSequences(code);
codewords = []; // array of code-words

can you add var statement before them?

Thanks!

Kind regards,
Ivan

Failed to load node_modules/pdf417-generator/lib/bcmath.js

I can see the the file locally, so it doesn't make sense to me that it's complaining about not see this file in the path listed: node_modules/pdf417-generator/lib/bcmath.js.

Can you confirm that this should work?

I'm not sure why these dependencies are not being recognized since they are part of the NPM package itself. I wouldn't think I would need to use CDN references if I have the NPM package installed. Further, the build tool seems to think it should be accessible as well. It might just be how I have the build script set up, but I would like to make sure that my expectations are right.

λ npm run build                                                               
                                                                              
> [email protected] build                                                    
> snowpack build                                                              
                                                                              
[snowpack] ! building source files...                                         
[snowpack] ✔ build complete [0.24s]                                           
[snowpack] ! building dependencies...                                         
[snowpack] Failed to load node_modules/pdf417-generator/lib/bcmath.js         
  Unexpected token                                                            
[snowpack] Install failed.                                                    

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.