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

Offset and crop image file via Rust #34

Open
swfsql opened this issue Jun 23, 2019 · 0 comments
Open

Offset and crop image file via Rust #34

swfsql opened this issue Jun 23, 2019 · 0 comments

Comments

@swfsql
Copy link
Owner

swfsql commented Jun 23, 2019

The image offsetting and cropping is done via tex primitives. This means the output pdf file is bigger than necessary.
It's better if the program does this and replacing the file itself. Then the TeX template will be simpler, and the output file will be smaller.

For now, the actual file size will have to be passed as information to TeX. But after this issue is resolved, we can treat the zero number (for dimensions) as "all of the remaining". This would make the info files simpler.


Before closing, needs to deal with the zero dimension (for automatic dimensioning based on the maximum of the required minimum) setting.


Moved from ancap-ch/from-en#708

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant