whitebeard wrote:I'm guessing that the usual eps format used in the base icons declares a reference coordinate system that is in the top right and this other standard declares (or does not or vice versa) it in the middle of the icon. So when HeroScribe draws our new stuff, we get the center landing in the top right of the box.
The EPS is just text, so a well placed text command in each file should fix it.
Wow I wish I had read this post more closely!!! Would have saved me a lot of time:
The magic recipe for inkscape .eps files is exactly that.
Step 1: underneath the header place a symmetric Bounding box about <0.0 , 0.0> like this one I got from the "falling rock" tile... These are the first 3 lines in the file.
%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: -10 -10 10 10
%%HiResBoundingBox: -9.721904 -9.774639 9.721904 9.774639
Then delete the later line which references the old Bounding Box e.g. this line (which is line 7 in my files).
%%BoundingBox: 0 1 19 20
Also delete the "Page Bounding Box" line (this is the step I missed when I tried to solve this in 5 minutes with a guess)
%%BeginPageSetup
%%PageBoundingBox: 0 1 19 20
%%EndPageSetup
In the above, it is only the middle line you need to take out. The rest is there to show context.
Then the very next line is a new one, and should be (negative 1/2 of the Bounding Box size in X and Y):
-10 -10 translate
Step 2: ...
Step 3: Profits
Obviously if your bounding box (BB) is not the same scale as mine (20 x 20) then you need to change all of the numbers
This process is easily automated in a script.
Does it work for you?
Has resigned from the forum and would delete his account if he could.