Recessed text on barcode
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 generate a barcode with the text that is recessed (similar to UPC) but using type "auto"?
I'm trying to generate a barcode that looks like this:

I tried setting the textMargin to a negative value, but the bars cover the text instead of the text covering the bars.
Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how type "auto" and textMargin are handled when barcode text and bars are rendered. Compare the output with the linked recessed-text example; done means the generated barcode places the text over the bars in the requested UPC-like style without the bars covering it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100