lindell / lindell/JsBarcode

Bar width adjustment

Open
#432 0 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
5.9k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Is it possible to do bar width adjustment with this library? To create a barcode now, we are using software called "Barcode producer" They had an option called bar width adjustment, which can be set from (-23 to +23), which actually decreases the bar width.

![barcode question](https://user-images.githubusercontent.com/18341528/236649694-e4215e35-8996-4e52-bff5-7400bb7fbd4f.png)
Now is it possible to do the same with this library? I am kinda stuck cause when I am printing on plastic because the bars are too wide, so it overlaps. That's why in the Axicon verifier it's grading at "C". I need to get at least a "B". I am not getting any luck changing the "width" property even If I use 1 it's wider I need to below 1.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the library's existing width option and the barcode rendering entry point to understand why values below 1 are not supported. Reproduce the plastic-printing case and determine how bar width adjustment should relate to the current width setting. Done should include narrower bars that avoid overlap and improve the Axicon verification grade to at least B.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.