Skip to content

Commit

Permalink
Fixed ^FR inversion hiding text
Browse files Browse the repository at this point in the history
  • Loading branch information
Jozo132 committed Dec 20, 2024
1 parent 4969d75 commit ae44736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zpl2svg.js
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@
}
state.barcode.type = ''
} else {
const text = `<text class="${className.join(' ')}" x="${state.position.x}" y="${state.position.y}" font-size="${state.font.size}" font-family="${state.font.family}" font-style="${state.font.style}" font-weight="${state.font.weight}">${value}</text>`
const text = `<text class="${className.join(' ')}" x="${state.position.x}" y="${state.position.y}" font-size="${state.font.size}" font-family="${state.font.family}" font-style="${state.font.style}" font-weight="${state.font.weight}" fill="${state.fill}">${value}</text>`
svg.push(text)
}
state.inverted = false
Expand Down

0 comments on commit ae44736

Please sign in to comment.