Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.

Conversation

jamchamb
Copy link
Collaborator

@jamchamb jamchamb commented Feb 9, 2015

These changes let you specify exact output dimensions in pixels or density-independent pixels (given a target screen DPI) when rendering with Inkscape.

The added property groups are:

  • width-px and height-px
  • width-dp, height-dp, and screen-dpi

I couldn't find a way to do something similar for Illustrator using AppleScript, unfortunately.

This change allows you to use 'width-dp' and 'height-dp' properties
to specify density-independent pixel dimensions targeting specific
screen DPIs ('screen-dpi').
@jamchamb
Copy link
Collaborator Author

jamchamb commented Apr 2, 2015

Any thoughts? I might be able to get it to work for Illustrator by calculating the scaling amount, but the dimensions could end up slightly off because there's no way to specify exact output dimensions (none that I could find in the Illustrator scripting docs, at least).

I'm also thinking that it might be useful to put the backends into their own file, possibly making them into classes?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant