Skip to content
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

add --text-size-offset and --text-size-step --text-size-minimum fallbacks #22

Open
nvkelso opened this issue Jan 6, 2012 · 2 comments
Assignees
Labels

Comments

@nvkelso
Copy link
Collaborator

nvkelso commented Jan 6, 2012

When the full sized text can't be displayed due to overlap, allow Dymo to adjust the size down in --text-size-step increments until --text-size-offset value has been reached, or the --text-size-minimum has been reach (whichever is first).

@nvkelso
Copy link
Collaborator Author

nvkelso commented Jan 6, 2012

Example

Asked for text that is 12 points large.
It can't fit, so...
with --text-size-offset = -4, the text could go down to 12-4=8points.
with --text-size-increment=0.5 it would get progressively smaller till it fit first by trying 11.5, then 11, then 10.5, etc.
with --text-size-minimum=10 it would try to go to 8, but since that is smaller than 10, it would stop trying at 10.

@nvkelso
Copy link
Collaborator Author

nvkelso commented Jan 6, 2012

These goes into dymo-prepare-place.py as flags.
Then exported in absolute ranges in resulting text file?
So it's precalculated per feature instead going into the full dymo request.
This allows you to lock some.

With added per-feature input setting of "lock size" true/false.

@ghost ghost assigned migurski Jan 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants