-
-
Notifications
You must be signed in to change notification settings - Fork 125
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 change height, width, font size ... ? #17
Comments
I had problems with setting options I wanted, pass the options parameter to the save function call not set_options
|
Yeah, I think the API needs some simplification, having two ways of passing options is kinda pointless, and it's not the first time I've seen inconsistencies. I'll try to address it when I have a bit of time. |
Do you have any long term plans for this? any todo list? |
I don't have any defined plans yet. There's a few options I might consider:
I've exams and other stuff going on right now, so won't be able to sit down and further address this for a while. Finally, obviously I need to track down what's wrong that causing this specific bug and fixing that, but haven't looked at it yet. |
Ah exams, good luck dude. the problem is that there is a call when things
get rendered that pass the default available options, I figured that out
just by quickly using a bunch of prints, I will look into it further and
report it to you.
…On Thu, Nov 29, 2018 at 9:10 PM Hugo Osvaldo Barrera < ***@***.***> wrote:
I don't have any defined plans yet. There's a few options I might consider:
- Making options actual kwarg.
- Removing options from either set_options or save. Not sure which one
yet. It seems silly to have two ways of doing the same thing.
I've exams and other stuff going on right now, so won't be able to sit
down and further address this for a while.
Finally, obviously I need to track down what's wrong that causing this
specific bug and fixing that, but haven't looked at it yet.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADUdt_E_vCzTudx0vMTIHmjfYmrThlb_ks5u0CMVgaJpZM4YLECu>
.
|
so far what I tracked down is (and this was just a quick look): Also the default values of the BaseWriter are not the same with the ones in the |
Since the |
I think we should fix The main reason you'd be instantiating a If you just want a quick one-liner to pass all the options in one-shot, then you probably should be using the |
My biggest concearn thus far has been to keep compatibility with I think it's time to move past that, since it's proving impossible to fix some existing bugs with the existing API. too many duplicate functions, and too many ways to do the same thing. I'm going to tag a new release with the current master, to enable addressing some of these issues (and accepting PRs). Otherwise this is just stagnating with unfixable issues in the name of backwards compatibility with a broken API. |
I only can change ImageWriter.dpi but font size not correct

(code128 & dpi = 100)
And set_options has no effect
The text was updated successfully, but these errors were encountered: