lindell / lindell/JsBarcode

Feauture - Barcode subtitle

Open
#351 0 comments 5 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.9k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Feauture: Add custom title/subtitle below the Barcode.

line 3173: ctx.fillText(encoding.text, x, y); to something like ctx.fillText(options.subTitle || encoding.text, x, y);

Contributor guide

Open the contributing guide

Research direction

Start at line 3173 where the barcode text is drawn with ctx.fillText(encoding.text, x, y), then inspect how rendering options are defined and passed through the library. Add support for a custom subtitle while preserving the existing encoded text by default, and verify the displayed output in the browser and Node.js use cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.