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

Allow for units and percentages in strings #18

Closed
andymeneely opened this issue Dec 23, 2014 · 2 comments
Closed

Allow for units and percentages in strings #18

andymeneely opened this issue Dec 23, 2014 · 2 comments
Milestone

Comments

@andymeneely
Copy link
Owner

Allow for some arguments like x,y, width, and height to allow for unit conversion and percentage of width and height. For example,

title:
  width: 50% #computes to 50% of the width of the card
  height: 50% #computes to 50% of the width of the card
  x: 1in # goes to 300 pixels if @dpi is set to 300.
@andymeneely andymeneely modified the milestone: v0.2 Dec 23, 2014
@andymeneely
Copy link
Owner Author

Decided against percentages for now.

c287e61 contributes to this, but PDF support is not quite there.

@andymeneely andymeneely modified the milestones: v0.1, v0.2 Dec 31, 2014
@andymeneely
Copy link
Owner Author

Creating a new issue for PDF

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