-
-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to set text position? #44
Comments
You can configure several parameters, including changing the distance between the text and the barcode (.text_distance':1 option)... for example:
|
Keeping this open as a reminder to improve the docs on this topic. |
As a side note, the text_distance option is the distance from the top of the barcode to the top of the text. I would have expected this to be the distance from the bottom of the barcode to the text instead, as it seems unlikely that the user would want the text and barcode to overlap. |
While using python-barcode I found that the text placement is incorrect. I believe text_distance is used correctly as the distance between the bottom of the barcode modules and the text but the text is drawn at the wrong place which means that for small text_distance values, the text overlaps on the barcode. |
I opened #177 and proposed a patch that fixes the issue when using small values of text_distance. |
The text was updated successfully, but these errors were encountered: